:root {
    --primary-color: #0284c7; 
    --secondary-color: #0f172a; 
    --accent-color: #25d366; 
    --light-bg: #f8fafc;
    --text-color: #334155;
    --card-border: #e2e8f0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--light-bg);
    color: var(--text-color);
    line-height: 1.6;
}

header {
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem 2rem; 
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-links li {
    position: relative;
}

.nav-links a {
    text-decoration: none;
    color: var(--secondary-color);
    font-weight: 500;
    transition: color 0.3s;
    display: block;
    padding: 0.5rem 0;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    min-width: 250px;
    border-radius: 4px;
    list-style: none;
    padding: 0.5rem 0;
}

.dropdown-menu li a {
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
}

.dropdown-menu li a:hover {
    background-color: var(--light-bg);
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--secondary-color);
    border-radius: 2px;
}

/* --- ACTIVE NAVIGATION MENU TRACKING --- */
.nav-links li.current-page > a {
    color: var(--primary-color) !important;
    font-weight: 700;
}

.nav-links li.current-page > a::after {
    content: '';
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
    position: absolute;
    bottom: -2px;
    left: 0;
}

.nav-links li a.active-nav {
  color: #1a73e8 !important; /* Vibrant brand blue to indicate selection */
  font-weight: 700;
  border-bottom: 2px solid #1a73e8; /* Adds a clean underline under the selected item */
  padding-bottom: 4px;
}

.dropdown-menu li a.active-sublink {
    background-color: var(--light-bg);
    color: var(--primary-color) !important;
    font-weight: 600;
}

/* Hero Carousel */
.hero {
    position: relative;
    width: 100%;
    height: 75vh;
    overflow: hidden;
    color: #ffffff;
}

.hero-carousel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-slide.active {
    opacity: 1;
}

.slide-bg-1 {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 50%, #0284c7 100%);
}

.slide-bg-2 {
    background: radial-gradient(circle at 80% 20%, #0369a1 0%, #0f172a 70%);
}

.slide-bg-3 {
    background: linear-gradient(215deg, #1e293b 0%, #0f172a 40%, #1d4ed8 100%);
}

.hero-content {
    max-width: 850px;
    text-align: center;
    padding: 2rem;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.8s ease-in-out;
}

.carousel-slide.active .hero-content {
    transform: translateY(0);
    opacity: 1;
}

.hero h1 {
    font-size: 3.2rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    font-weight: 800;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    font-weight: 400;
}

.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: #ffffff;
    padding: 0.85rem 2.25rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s;
    box-shadow: 0 4px 14px rgba(2, 132, 199, 0.4);
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: #0369a1;
}

/* Sections */
section {
    padding: 5rem 2rem;
}

.section-title {
    text-align: center;
    font-size: 2.25rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3.5rem auto;
    color: #64748b;
}

/* About Us Metrics */
.about {
    background-color: #ffffff;
    padding-top: 4rem;
}

.about-metrics-container {
    max-width: 1200px;
    margin: 0 auto 3.5rem auto;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--card-border);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    text-align: center;
}

.about-metric-item {
    padding: 1rem;
    position: relative;
}

.about-metric-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -1rem;
    top: 20%;
    height: 60%;
    width: 1px;
    background-color: var(--card-border);
}

.about-metric-number {
    font-size: 3.2rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1.1;
    margin-bottom: 0.5rem;
}

.about-metric-label {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h3 {
    font-size: 1.75rem;
    color: var(--secondary-color);
    margin-bottom: 1.25rem;
}

.about-text p {
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.values-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.value-box {
    background-color: var(--light-bg);
    padding: 1.5rem;
    border-radius: 6px;
    border-left: 4px solid var(--primary-color);
}

.value-box h4 {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

/* Offerings Card Grid Layout */
.offerings {
    max-width: 1200px;
    margin: 0 auto;
}

.offerings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.offering-card {
    background: #ffffff;
    padding: 2.5rem 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
    border: 1px solid var(--card-border);
    transition: transform 0.3s, box-shadow 0.3s;
}

.offering-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
}

.offering-card h3 {
    margin-bottom: 1rem;
    color: var(--secondary-color);
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* Contact Area */
.contact {
    background-color: #ffffff;
}

.contact-layout {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
}

.address-card {
    background-color: var(--light-bg);
    padding: 2rem;
    border-radius: 8px;
    border-left: 5px solid var(--primary-color);
    margin-bottom: 2rem;
}

.address-card h3 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.btn-outline {
    display: inline-block;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 0.6rem 1.5rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: #ffffff;
}

.map-iframe-container {
    width: 100%;
    height: 280px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.map-iframe-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #cbd5e1;
    border-radius: 5px;
    font-size: 1rem;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
}

button[type="submit"] {
    width: 100%;
    padding: 0.75rem;
    background-color: var(--secondary-color);
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

button[type="submit"]:hover {
    background-color: #1e293b;
}

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    bottom: 40px;
    right: 40px;
    background-color: var(--accent-color);
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.3s;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

footer {
    background-color: var(--secondary-color);
    color: #94a3b8;
    text-align: center;
    padding: 2.5rem 2rem;
    font-size: 0.9rem;
    border-top: 1px solid #1e293b;
}

.logo-wrap {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
}

.header-logo-icon {
    width: 65px;
    height: 65px;
    object-fit: contain;
    border-radius: 6px;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

/* --- MOBILE STYLING GRID --- */
@media (max-width: 968px) {
    .about-container, .contact-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 77px; 
        left: 0;
        width: 100%;
        background-color: #ffffff;
        padding: 1.5rem 2rem;
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
        gap: 0.5rem;
        align-items: flex-start;
    }

    .nav-links.active { display: flex; }
    .dropdown-menu { position: static; box-shadow: none; padding-left: 1.5rem; display: none; }
    .dropdown.open .dropdown-menu { display: block; }
    .menu-toggle { display: flex; }
    .hero h1 { font-size: 2.1rem; }
    .values-grid { grid-template-columns: 1fr; }
    .about-metrics-container { grid-template-columns: 1fr; gap: 2.5rem; }
    .about-metric-item:not(:last-child)::after { display: none; }
    .logo-text { font-size: 1.15rem; }
    .header-logo-icon { width: 48px; height: 48px; }
}

/* --- Offerings Section Layout Structure --- */
.offerings {
  padding: 50px 20px; /* Reduced vertical padding */
  background-color: #f4f7fa; /* Faint gray-blue background to pop cards */
  scroll-margin-top: 90px;
}

/* New Title Layout Container to control vertical distribution */
.offerings-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 30px auto; /* Tightened gap below the subtitle to 30px */
}

/* Explicit typography cleanups */
.offerings .section-title {
  color: #0f2c59; /* Authoritative Deep Blue */
  font-size: 2.2rem;
  font-weight: 700;
  margin: 0 0 8px 0; /* Tightened gap directly under the main title */
}

/* --- Base Styling (Applies to all devices, optimized for mobile first) --- */
.offerings .section-subtitle {
  text-align: center;
  color: #4a5568;
  font-size: 1.05rem;
  line-height: 1.4;
  margin: 0 auto;
  padding: 0 20px; /* Prevents text from hitting screen edges on mobile */
}

/* --- Desktop Mode Mode Enhancements (Screens 768px wide or larger) --- */
@media (min-width: 768px) {
  .offerings .section-subtitle {
    white-space: nowrap; /* Forces the entire sentence to sit on a single line */
    max-width: none;     /* Removes the width bottleneck constraint */
    padding: 0;          /* Clears desktop padding */
  }
}

/* Grid layout with constrained widths */
.offerings-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

/* --- Premium Light-Themed Card Designs --- */
.offering-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  box-shadow: 0 4px 12px rgba(15, 44, 89, 0.02);
  transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), 
              box-shadow 0.3s ease, 
              border-color 0.3s ease;
}

.offering-card:hover {
  transform: translateY(-5px);
  border-color: #1a73e8; /* Changes to clear brand blue on hover */
  box-shadow: 0 12px 24px rgba(15, 44, 89, 0.08);
}

.offering-card h3 {
  color: #0f2c59;
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 12px 0; /* Unified title baselines */
  display: flex;
  align-items: center;
  gap: 10px;
  line-height: 1.3;
}

.offering-card h3 span {
  font-size: 1.4rem;
  background: rgba(26, 115, 232, 0.08);
  padding: 6px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.offering-card p {
  color: #4a5568;
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0 0 16px 0;
  flex-grow: 1; /* Force drops the Learn More buttons to a clean horizon level */
}

.offering-card .btn-link {
  font-size: 0.95rem;
  transition: color 0.2s ease, transform 0.2s ease !important;
}

.offering-card:hover .btn-link {
  color: #0f2c59 !important;
  transform: translateX(4px);
}

