/* GLOBAL */
* { margin:0; padding:0; box-sizing:border-box; font-family: 'Arial', sans-serif;}
body { line-height: 1.6; color: #0c0b49; }

/* HEADER */
header {
  background: #222;
  color: #e6e4ec;
  padding: 10px 20px;
  display:flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top:0;
  z-index: 100;
}
header h1 { 
  font-size: 1.5rem;  /* Slightly smaller, fits nicely with logo */
  color: #fff;
} 
header nav a {
   color:#fff;  margin-left: 15px;
  text-decoration: none; transition:0.3s;
}s
header nav a:hover { color:#15014b; }

/* HERO */
#hero {
  background: url('https://via.placeholder.com/1200x500') no-repeat center center/cover;
  height: 500px; position: relative; display:flex; align-items:center; justify-content:center;
}
.hero-overlay {
  background: rgba(0,0,0,0.5); color:#1f1888; padding:20px; text-align:center; border-radius:10px;
}
.hero-overlay h2 { font-size:2.5rem; margin-bottom:15px; animation: fadeInDown 1s; }
.hero-overlay p { font-size:1.2rem; margin-bottom:20px; animation: fadeInUp 1s; }
.hero-buttons .btn { margin:5px; }

/* BUTTONS */
.btn {
  display:inline-block; padding:12px 25px; border-radius:50px; text-decoration:none; font-weight:bold; transition:0.3s;
}
.btn-primary { background:#007bff; color:#fff; }
.btn-primary:hover { background:#0056b3; }
.btn-whatsapp { background:#25D366; color:#fff; }
.btn-whatsapp:hover { background:#1DA851; }

/* SECTIONS */
section { padding:60px 20px; text-align:center; }
/* ABOUT TEXT STYLING */
.about-text {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.about-text h3 {
  font-size: 1.6rem;
  margin-bottom: 15px;
  color: #032879;
}

.about-text p {
  font-size: 1rem;
  line-height: 1.7;
  color: #444;
  margin-bottom: 15px;
}

/* POINTS LIST */
.about-points {
  list-style: none;
  padding: 0;
  margin-top: 15px;
}

.about-points li {
  font-size: 0.95rem;
  color: #333;
  margin-bottom: 10px;
}

.about-slider {
  flex: 1;
  min-width: 300px;
  width: 100%;          /* Slider takes full width of its container */
  max-width: 500px;     /* Optional max width */
  height: 300px;        /* Fixed height */
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.15);
  margin: auto;
  position: relative;
}

.slider-container {
  display: flex;
  width: 103%;          /* 3 images */
  height: 100%;
  animation: slide 12s infinite;
}

.slider-image {
  width: 100%;
  height: 100%;         /* Fill the slider height */
  flex-shrink: 0;
  object-fit: cover;    /* Ensures image fills frame without distortion */
}

/* Auto-slide animation */
@keyframes slide {
  0% { transform: translateX(0); }
  33% { transform: translateX(-100%); }
  66% { transform: translateX(-200%); }
  100% { transform: translateX(0); }
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .about-container {
    flex-direction: column;
    align-items: center;
  }

  .about-slider {
    max-width: 200%;    /* Full width on mobile */
    height: 500px;      /* Slightly smaller height for mobile */
  }
}

h2 { margin-bottom:20px; font-size:2rem; }


/* SERVICES CARDS */
.service-cards .card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 10px;
  transition: transform 0.3s;
  display: flex;           /* Use flexbox */
  justify-content: center; /* Center horizontally */
  align-items: flex-start; /* Align cards to top */
  gap: 20px;               /* Space between cards */
  flex-wrap: wrap; 
  
}

.service-cards {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 20px;
  flex-wrap: wrap;
}

.service-cards .card {
  background: #e2e2e2;
  padding: 25px;
  width: 250px;            /* Card width */
  height: 350px;           /* Fixed height for all cards */
  border-radius: 10px;
  text-align: center;
  display: flex;
  flex-direction: column;  /* Arrange image, title, text vertically */
  justify-content: flex-start;
  transition: transform 0.3s, box-shadow 0.3s;
   overflow: hidden; 
}

.service-cards .card img {
  width: 100%;        /* image fits card width */
  height: 180px;      /* fixed height for clean cards */
  object-fit: cover;  /* fills area without stretching */
  display: block;
}

.service-cards .card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}


/* GALLERY */
/* GALLERY GRID */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* wider cards */
  gap: 25px;
  max-width: 1200px;
  margin: auto;
}

/* GALLERY CARD */
.gallery-item {
  background: #f9f9f9;
  padding: 15px;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.12);
  transition: transform 0.3s ease;
}

/* IMAGE – PERFECT BALANCE */
.gallery-item img {
  width: 100%;
  height: 260px;            /* taller image area */
  object-fit: contain;      /* no crop */
  background: #fff;
  border-radius: 10px;
  padding: 10px;            /* fills empty space visually */
  transition: transform 0.4s ease;
}

/* HOVER */
.gallery-item:hover {
  transform: translateY(-5px);
}

.gallery-item:hover img {
  transform: scale(1.03);
}

/* CONTACT FORM */
form { display:flex; flex-direction:column; max-width:400px; margin:auto; gap:10px; }
form input, form textarea, form button { padding:12px; border-radius:5px; border:1px solid #ccc; }
form button { cursor:pointer; border:none; }
form button:hover { opacity:0.9; }

/* FOOTER */
footer { background:#0c0457; color:#fff; padding:15px; text-align:center; }

/* FLOATING WHATSAPP BUTTON */
.floating-whatsapp {
  position:fixed; bottom:20px; right:20px; background:#25D366; color:#fff; padding:15px 20px;
  border-radius:50px; font-weight:bold; text-decoration:none; box-shadow:0 4px 6px rgba(0,0,0,0.2);
  z-index:1000; transition:0.3s;
}
.floating-whatsapp:hover { background:#1DA851; }

/* ANIMATIONS */
@keyframes fadeInDown { from { opacity:0; transform: translateY(-30px);} to{opacity:1; transform:translateY(0);} }
@keyframes fadeInUp { from { opacity:0; transform: translateY(30px);} to{opacity:1; transform:translateY(0);} }

/* RESPONSIVE */
@media (max-width:768px){
  header nav { display:flex; flex-direction:column; gap:10px; margin-top:10px; }
  .hero-overlay h2 { font-size:2rem; }
}
/* HEADER LOGO STYLE */
/* ===========================
   HEADER + NAVIGATION
=========================== */
.main-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 30px;  /* Slightly smaller padding */
  background: #0c0457;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.site-logo {
  height: 50px;      /* Balanced height for visibility */
  width: auto;
  object-fit: contain;
}

/* NAVIGATION LINKS */
.main-header nav {
  display: flex;
  gap: 25px;
}

.main-header nav a {
  color: #ffffff;           /* White links for visibility */
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  transition: all 0.3s ease;
  padding: 8px 12px;
  border-radius: 5px;       /* Slight rounding on hover */
}

.main-header nav a:hover {
  color: #0c0457;           /* Dark text for contrast on hover background */
  background-color: #ffdd59; /* Highlight hover effect */
}

/* MOBILE RESPONSIVE */
@media (max-width: 768px) {
  .main-header {
    flex-direction: column;
    gap: 10px;
    padding: 10px 15px;
  }
 .main-header nav a {
  margin-left: 20px;
  text-decoration: none;
  font-weight: 500;
  color: #ffffff;
  transition: color 0.3s, background 0.3s;
}

.main-header nav a:hover {
  color: #0c0457;
  background-color: #ffdd59;
  border-radius: 5px;
}
}
.service-cards .card video {
  width: 100%;
  height: 170px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 12px;
}
