/* =====================================================
   GLOBAL RESET & BASE
===================================================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Source Sans 3', system-ui, -apple-system, sans-serif;
    background-color: #f9fafb;
    color: #1f2933;
    line-height: 1.7;
    font-size: 16px;
}

img {
    max-width: 100%;
    display: block;
}
/* ===============================
   NAVBAR CONSISTENCY FIX
=============================== */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    background-color: #0a3d62;
    position: relative;
    z-index: 1000;
}

.navbar .logo img {
    height: 80px;
    display: block;
}

.navbar .menu {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.navbar .menu a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    margin-left: 25px;
    font-size: 14px;
}

.navbar .menu a:first-child {
    margin-left: 0;
}

.navbar .menu a:hover {
    color: #ffcc00;
    text-decoration: underline;
}

/* Mobile fix */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        align-items: center;
    }

    .navbar .menu {
        margin-top: 10px;
        justify-content: center;
    }

    .navbar .menu a {
        margin: 6px 15px;
    }
}
/* ===============================
   NAVBAR
=============================== */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    background-color: #0a3d62;
    position: relative;
    z-index: 1000;
}

.navbar .logo img {
    height: 80px;
    display: block;
}

.navbar .menu {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.navbar .menu a {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    text-decoration: none;
    margin-left: 25px;
}

.navbar .menu a:first-child {
    margin-left: 0;
}

.navbar .menu a:hover {
    color: #ffcc00;
    text-decoration: underline;
}

/* MOBILE NAVBAR */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        align-items: center;
    }

    .navbar .menu {
        margin-top: 10px;
        justify-content: center;
    }

    .navbar .menu a {
        margin: 6px 15px;
    }
}

/* =====================================================
   PAGE HEADERS
===================================================== */
.page-header {
    background: linear-gradient(135deg, #0a3d62, #1f5f8b);
    color: #ffffff;
    text-align: center;
    padding: 80px 15px;
}

.page-header h1 {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 15px;
}

.page-header p {
    font-family: 'Source Sans 3', system-ui, sans-serif;
    font-size: 17px;
    opacity: 0.95;
}

/* ===============================
   IMAGE SLIDER
=============================== */
.image-slider {
    max-width: 1200px;
    margin: 50px auto;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 15px 40px rgba(0,0,0,0.25);
    background-color: #ffffff;
}

.slider {
    position: relative;
    width: 100%;
    height: 450px;
}

.slider img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease-in-out, visibility 0s linear 0.8s;
}

.slider img.active {
    opacity: 1;
    visibility: visible;
    transition-delay: 0.5s;
}

.slider button.prev,
.slider button.next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0,0,0,0.55);
    border: none;
    color: #fff;
    font-size: 2rem;
    padding: 10px 16px;
    cursor: pointer;
    border-radius: 50%;
    z-index: 10;
}

.slider button.prev { left: 15px; }
.slider button.next { right: 15px; }

.slider button:hover {
    background-color: rgba(0,0,0,0.85);
}

@media (max-width: 768px) {
    .slider {
        height: 260px;
    }
}

/* =====================================================
   SECTIONS
===================================================== */
section {
    padding: 80px 20px;
    background-color: #ffffff;
}

section:nth-of-type(even) {
    background-color: #f9fafb;
}

section h2 {
    text-align: center;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 30px;
    font-weight: 700;
    color: #0a3d62;
    margin-bottom: 30px;
}

.section-intro {
    max-width: 900px;
    margin: 0 auto 50px auto;
    text-align: center;
    font-size: 17px;
    color: #5f6c7b;
    line-height: 1.7;
}

/* =====================================================
   FADE-IN ANIMATION
===================================================== */
.fade-section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s ease, transform 1s ease;
}

.fade-section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* =====================================================
   SERVICES CARDS
===================================================== */
.services-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

.service-card {
    background-color: #ffffff;
    border-radius: 14px;
    padding: 28px 22px;
    width: 280px;
    text-align: center;
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 180px;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 14px 30px rgba(0,0,0,0.22);
}

.service-card h3 {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #0a3d62;
    margin: 12px 0 8px 0;
}

.service-card p {
    color: #5f6c7b;
    font-size: 15px;
}

/* =====================================================
   LEADERSHIP CARDS — Flip Cards with Circular Photos
===================================================== */
.leadership-section {
    padding: 80px 20px;
}

.leadership-section h2 {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 30px;
    font-weight: 700;
    color: #0a3d62;
    text-align: center;
    margin-bottom: 15px;
}

.leadership-intro {
    font-family: 'Source Sans 3', system-ui, sans-serif;
    font-size: 16px;
    color: #5f6c7b;
    text-align: center;
    max-width: 720px;
    margin: 0 auto 50px auto;
    line-height: 1.7;
}

.leadership-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto 60px;
}

.leader-card {
    width: 280px;
    height: 360px;
    perspective: 1000px;
    cursor: pointer;
}

.leader-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
    transform-style: preserve-3d;
    transition: transform 0.6s ease;
}

/* Hover flip (desktop) */
@media (hover: hover) and (pointer: fine) {
    .leader-card:hover .leader-card-inner {
        transform: rotateY(180deg);
    }
}

/* Tap flip (mobile) */
.leader-card-inner.is-flipped {
    transform: rotateY(180deg);
}

/* Front & Back faces */
.leader-card-front,
.leader-card-back {
    position: absolute;
    inset: 0;
    padding: 24px 20px;
    border-radius: 14px;
    backface-visibility: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.leader-card-front {
    background-color: #ffffff;
    z-index: 2;
}

.leader-card-back {
    background-color: #f9fafb;
    transform: rotateY(180deg);
    justify-content: center;
    text-align: center;
    font-family: 'Source Sans 3', system-ui, sans-serif;
    font-size: 14px;
    line-height: 1.7;
}

.leader-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    margin-bottom: 15px;
    border: 2px solid #ffffff;
    transition: transform 0.3s ease;
    position: relative;
    z-index: 3;
}

.leader-card:hover .leader-photo {
    transform: scale(1.05);
}

.leader-photo.deepak {
    background-image: url('images/deepak.jpg');
}
.leader-photo.ajay {
    background-image: url('images/ajay.jpg');
}
.leader-photo.yash {
    background-image: url('images/yash.jpg');
}

.leader-card h3 {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #0a3d62;
    margin: 6px 0;
    text-align: center;
}

.designation {
    font-size: 14px;
    font-weight: 600;
    color: #1f5f8b;
    margin-bottom: 10px;
    text-align: center;
}

.leader-back-title {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #0a3d62;
    margin-bottom: 10px;
}

.leader-card-back p {
    color: #1f2933;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 14px;
}

/* Bullets centered but list left-aligned inside constrained width */
.leader-card-back ul {
    padding: 0;
    margin: 0 auto 0 auto;
    list-style: none;
    max-width: 220px;
    text-align: left;
}

.leader-card-back li {
    position: relative;
    padding-left: 18px;
    margin-bottom: 8px;
    color: #374151;
    font-weight: 500;
    display: flex;
    align-items: flex-start;
}

.leader-card-back li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #0a3d62;
    font-size: 18px;
    line-height: 1;
    margin-top: 2px;
}

/* Optional hover hint */
.leader-card-front::after {
    content: "View profile";
    font-size: 12px;
    color: #777;
    margin-top: 8px;
}

/* Hidden leader */
.hide-leader {
    display: none !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .leadership-cards {
        flex-direction: column;
        align-items: center;
    }

    .leader-card {
        width: 90%;
        max-width: 320px;
    }

    /* Slide up animation on mobile */
    .leader-card {
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }

    .leader-card.visible {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =====================================================
   CLIENT CARDS
===================================================== */
.clients-section {
    padding: 80px 20px;
}

.clients-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
    max-width: 1000px;
    margin: 0 auto;
}

.client-tile {
    background-color: #fff;
    border-radius: 10px;
    padding: 15px;
    width: 140px;
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.client-tile:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.client-tile img {
    max-width: 80%;
    max-height: 70%;
    object-fit: contain;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.client-tile:hover img {
    filter: grayscale(0%);
}

/* =====================================================
   VISION & MISSION
===================================================== */
.vision-mission-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto 60px auto;
}

.vision-tile,
.mission-tile {
    background-color: #0a3d62;
    color: #ffffff;
    border-radius: 12px;
    padding: 25px 20px;
    width: 100%;
    max-width: 520px;
    min-height: 120px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}

.vision-tile h3,
.mission-tile h3 {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #ffcc00;
}

.vision-tile p,
.mission-tile p {
    font-family: 'Source Sans 3', system-ui, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: #ffffff;
}

/* =====================================================
   CONTACT SECTION
===================================================== */
.contact-section {
    padding: 80px 20px;
    text-align: center;
}

.contact-section h2 {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 30px;
    font-weight: 700;
    color: #0a3d62;
    margin-bottom: 15px;
}

.contact-section .section-intro {
    font-size: 16px;
    color: #5f6c7b;
    line-height: 1.7;
    max-width: 800px;
    margin: 0 auto 50px auto;
}

/* ===============================
   CONTACT INFO CARDS RESPONSIVE LAYOUT
=============================== */
.contact-info-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* center row on desktop */
    gap: 20px; /* space between cards */
    margin: 30px 0;
}

.contact-info-card {
    flex: 0 1 300px; /* base width, can shrink */
    background-color: #f9fafb;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    text-align: center; /* center content inside each card */
    display: flex;
    flex-direction: column; /* stack content vertically */
    align-items: center;
    gap: 10px; /* spacing between icon/text lines */
}

/* Icon + text wrapper */
.contact-info-card .icon-text {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap; /* allow wrapping on small width */
}

/* Individual icons */
.contact-info-card .icon-text img {
    width: 24px;
    height: 24px;
}

/* Medium screens: 2 cards + 1 below */
@media (max-width: 1024px) and (min-width: 769px) {
    .contact-info-card:nth-child(3) {
        flex-basis: 100%; /* third card full width */
        justify-content: center;
    }
}

/* Mobile: stack vertically */
@media (max-width: 768px) {
    .contact-info-card {
        width: 90%; /* almost full width */
        max-width: 320px;
        margin: 0 auto; /* center each card */
    }
}


/* ===============================
   CONTACT FORM
=============================== */
.contact-form-section {
    padding: 60px 20px;
    background-color: #f9fafb;
    text-align: center;
    margin-top: 30px;
}

.contact-form-section h2 {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 30px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px 16px;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-family: 'Source Sans 3', system-ui, sans-serif;
    font-size: 16px;
    box-sizing: border-box;
    margin-bottom: 15px;
}

.contact-form button {
    padding: 15px;
    border: none;
    border-radius: 8px;
    background-color: #0a3d62;
    color: #ffffff;
    font-family: 'Inter', system-ui, sans-serif;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.contact-form button:hover {
    background-color: #07406a;
}

/* ===============================
   MAP PLACEHOLDER
=============================== */
.map-section {
    padding: 60px 20px;
    text-align: center;
}

.map-section h2 {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 30px;
    font-weight: 700;
    color: #0a3d62;
    margin-bottom: 20px;
}

.map-placeholder {
    height: 300px;
    background-color: #ddd;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #555;
}

/* =====================================================
   FOOTER
===================================================== */
footer {
    padding: 35px 20px;
    background-color: #0a3d62;
    color: #ffffff;
    text-align: center;
    font-size: 14px;
    line-height: 1.6;
}

footer a {
    color: #ffcc00;
    text-decoration: none;
    font-weight: 600;
}

footer a:hover {
    text-decoration: underline;
}

/* =====================================================
   RESPONSIVE GLOBAL
===================================================== */
@media (max-width: 768px) {
    section {
        padding: 50px 15px;
    }

    .services-cards,
    .leadership-cards,
    .clients-grid,
    .contact-info-cards,
    .vision-mission-container {
        flex-direction: column;
        align-items: center;
    }
}
/* =====================================================
   FLOATING EMAIL & WHATSAPP SHORTCUTS
===================================================== */
.shortcut-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 24px;
    z-index: 1000;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.shortcut-button:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

/* Specific buttons */
.email-btn {
    background-color: #0a3d62;
    right: 80px; /* space between WhatsApp and Email */
}

.whatsapp-btn {
    background-color: #25D366;
}
.contact-info-card p {
    display: flex;
    align-items: center;
    justify-content: center; /* center text with icon */
    gap: 8px; /* space between icon and text */
}

.icon-whatsapp svg,
.icon-email svg {
    display: inline-block;
    vertical-align: middle;
}

.contact-icon {
    width: 30px;   /* increase size */
    height: 30px;
    vertical-align: middle;
    margin-right: 10px;
    display: inline-block;
}


.contact-info-card p a {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}
.contact-info-card .icon-text {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

/* ===============================
   CONTACT ICON ALIGNMENT (EMAIL + WHATSAPP)
================================ */

.contact-info-card .icon-text {
    display: inline-flex;          /* anchor behaves like a flex row */
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: nowrap;
    width: 100%;
    text-decoration: none;         /* remove underline */
    color: inherit;                /* keep card text color */
    cursor: pointer;
}

.contact-info-card .icon-text img {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.contact-info-card .icon-text span {
    line-height: 1.4;
    white-space: nowrap;
    overflow-wrap: anywhere;
}
/* ===============================
   CONTACT PAGE MAIN LAYOUT
================================ */

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.4fr 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: start;
}
