/* Basic Reset */
@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans:wght@500;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #040463;
    background-color: #FFFFFF;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

header {
    background-color: transparent;
    box-shadow: none;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: background-color 0.4s ease, box-shadow 0.4s ease;
}

header.scrolled {
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #040463;
}

.logo-img {
    height: 55px; /* Keep the base height so the header doesn't expand */
    object-fit: contain;
    transition: transform 0.3s ease;
    transform: scale(1.5); /* Scale the logo up by 50% visually */
    transform-origin: left center; /* Ensure it grows from the left side */
}

.logo-img:hover {
    transform: scale(1.6); /* Maintain the slight zoom effect on hover */
}

.main-nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 1rem; /* Reduced flex gap */
}

.main-nav ul li {
    display: flex;
    align-items: center;
}

.main-nav ul li:not(:last-child):not(:nth-last-child(2))::after {
    content: "|";
    color: #ffffff;
    margin-left: 1rem; /* Matches the flex gap for perfect centering */
    font-size: 16px;
    opacity: 0.7;
    transition: color 0.4s ease;
}

header.scrolled .main-nav ul li:not(:last-child):not(:nth-last-child(2))::after {
    color: #040463;
}

.main-nav ul li a {
    color: #ffffff; /* White color when transparent background */
    text-decoration: none;
    font-family: "Josefin Sans", sans-serif;
    font-size: 19px;
    font-weight: 500;
    line-height: 19.2px;
    transition: color 0.3s ease, background-color 0.3s ease;
}

header.scrolled .main-nav ul li a {
    color: #040463; /* Brand blue when background is white */
}

.main-nav ul li a:hover {
    color: #1D940F;
}

/* Active State for Links */
.main-nav ul li a.active {
    color: #1D940F; /* Keep the orange color to signify active state */
    font-weight: 700;
}

header.scrolled .main-nav ul li a:hover {
    color: #040463;
}

header.scrolled .main-nav ul li a.active {
    color: #1D940F; /* Brand orange stands out well on the white background */
}

.main-nav ul li a.btn-contact {
    background-color: #1D940F;
    color: #ffffff;
    padding: 0.6rem 1.2rem;
    border-radius: 5px;
    font-weight: 600;
}

header.scrolled .main-nav ul li a.btn-contact {
    background-color: #040463;
    color: #ffffff;
}

/* Active State for Contact Button */
.main-nav ul li a.btn-contact.active {
    background-color: #1D940F;
}

header.scrolled .main-nav ul li a.btn-contact.active {
    background-color: #040463;
}

/* Mobile Menu Structure */
.mobile-menu-toggle {
    display: none;
    font-size: 1.8rem;
    color: #ffffff;
    cursor: pointer;
    z-index: 1002;
    transition: color 0.3s;
}

header.scrolled .mobile-menu-toggle {
    color: #040463;
}

.mobile-menu-header {
    display: none;
}

.mobile-menu-overlay {
    display: none;
}

@media (max-width: 992px) {
    .mobile-menu-toggle {
        display: block;
    }
    
    .main-nav ul li:not(:last-child):not(:nth-last-child(2))::after {
        display: none; /* Hide dividers on mobile */
    }
    
    /* Sidebar Navigation */
    .main-nav {
        position: fixed;
        top: 0;
        left: -300px;
        width: 280px;
        height: 100vh;
        background: #ffffff;
        box-shadow: 2px 0 15px rgba(0,0,0,0.1);
        z-index: 1005;
        transition: left 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        flex-direction: column;
        display: flex;
        padding: 0;
    }
    
    .main-nav.open {
        left: 0;
    }
    
    .main-nav ul {
        flex-direction: column;
        width: 100%;
        padding: 20px 0;
        align-items: flex-start;
        gap: 0;
    }
    
    .main-nav ul li {
        width: 100%;
        border-bottom: 1px solid #FFFFFF;
    }
    
    .main-nav ul li a {
        display: block;
        padding: 15px 25px;
        color: #040463;
        font-weight: 600;
        font-size: 1.1rem;
        width: 100%;
    }
    
    header.scrolled .main-nav ul li a {
        color: #040463; /* Ensure it stays blue even if header is scrolled */
    }
    
    .main-nav ul li a.btn-contact {
        margin: 20px 25px;
        text-align: center;
        display: inline-block;
        width: calc(100% - 50px);
        background-color: #1D940F; /* Always orange in sidebar */
        color: #fff;
    }
    
    header.scrolled .main-nav ul li a.btn-contact {
        background-color: #1D940F;
        color: #fff;
    }
    
    /* Sidebar Header */
    .mobile-menu-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 20px 25px;
        border-bottom: 1px solid #eee;
        background: #FFFFFF;
        width: 100%;
    }
    
    .mobile-logo {
        max-height: 40px;
    }
    
    .close-menu-btn {
        font-size: 1.5rem;
        color: #040463;
        cursor: pointer;
    }
    
    /* Overlay */
    .mobile-menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(0,0,0,0.5);
        z-index: 1000;
        display: block;
        visibility: hidden;
        opacity: 0;
        transition: opacity 0.4s ease, visibility 0.4s;
    }
    
    .mobile-menu-overlay.active {
        visibility: visible;
        opacity: 1;
    }
}

header.scrolled .main-nav ul li a.btn-contact:hover {
    background-color: #040463;
}

main {
    flex: 1;
    width: 100%;
}

/* Generic Page Hero Section */
.page-hero {
    background: linear-gradient(135deg, #040463 0%, #040463 100%);
    color: white;
    padding: 100px 20px;
    text-align: center;
}

.page-hero h1 {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.page-hero p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.9;
}

/* Video Hero Section */
.hero-video-section {
    position: relative;
    width: 100%;
    height: 100vh; /* Takes up the full screen height for a breathtaking modern look */
    min-height: 700px;
    overflow: hidden;
}

/* Vertical Social Media Sidebar */
.social-sidebar {
    position: absolute;
    left: 2%;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    z-index: 5;
}

.social-sidebar a {
    width: 45px;
    height: 45px;
    background-color: #ffffff;
    border-radius: 50%; /* Perfect circles */
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.4rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Bouncy modern transition */
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

/* Official Brand Colors */
.social-sidebar a.instagram { color: #1D940F; }
.social-sidebar a.facebook { color: #1D940F; }
.social-sidebar a.tiktok { color: #040463; } /* TikTok logo is black/white */
.social-sidebar a.linkedin { color: #1D940F; }
.social-sidebar a.twitter { color: #1D940F; } /* Classic Twitter Blue */

.social-sidebar a:hover {
    transform: scale(1.2) translateX(5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.4);
}

.hero-overlay-container {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5% 0 10%; /* Increased left padding to 10% to clear social icons */
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -2;
    transform: translateX(-50%) translateY(-50%);
    object-fit: cover;
}

.hero-video-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Gradient overlay for a more dynamic and professional look */
    background: linear-gradient(to right, rgba(4, 4, 99, 0.9) 0%, rgba(4, 4, 99, 0.4) 50%, rgba(4, 4, 99, 0.2) 100%);
    z-index: -1;
}

.hero-overlay {
    color: #ffffff;
    max-width: 500px; /* Reduced width for better text wrapping */
    text-align: left; /* Explicitly left-aligned */
}

.hero-overlay h1 {
    font-size: 3rem; /* Reduced from 4rem */
    font-weight: 700;
    margin-bottom: 0.8rem;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.4);
    font-family: "Josefin Sans", sans-serif;
}

.hero-overlay p {
    font-size: 1.1rem; /* Reduced from 1.4rem */
    margin-bottom: 2rem;
    line-height: 1.6;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.4);
    font-weight: 300;
}

.btn-primary {
    display: inline-block;
    background-color: #ffffff;
    color: #040463;
    padding: 0.8rem 2rem; /* Reduced padding */
    font-size: 1rem; /* Reduced font size */
    font-weight: bold;
    text-decoration: none;
    border-radius: 50px;
    transition: background-color 0.3s ease, transform 0.3s ease;
    font-family: "Josefin Sans", sans-serif;
}

.btn-primary:hover {
    background-color: #FFFFFF;
    transform: translateY(-3px);
}

.hero-action-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem; /* Reduced gap */
    min-width: 300px; /* Reduced width */
    max-width: 350px;
}

.btn-hero-action {
    background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent glass effect */
    backdrop-filter: blur(8px); /* Modern blur effect */
    border: 1.5px solid #ffffff; /* Slightly thinner border line */
    color: #ffffff;
    padding: 1rem 1.2rem; /* Reduced padding */
    font-size: 1rem; /* Reduced font size */
    font-weight: 600;
    text-decoration: none;
    border-radius: 0; /* Strict 0 border-radius as requested */
    font-family: "Josefin Sans", sans-serif;
    transition: all 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center; /* Ensure items align perfectly */
    line-height: 1.4; /* Break line support for long text */
    white-space: normal; /* Allow text to break lines */
    align-items: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.btn-hero-action:hover {
    background-color: #ffffff;
    color: #040463; /* Reverts to brand blue on hover */
    transform: translateX(-10px); /* Slides slightly left on hover for a cool modern effect */
    box-shadow: 0 8px 25px rgba(0,0,0,0.4);
}

.btn-hero-action .btn-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-hero-action .btn-content i {
    font-size: 1.3rem;
}

.content {
    background-color: #fff;
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 2rem auto;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

footer {
    background-color: #040463;
    color: #fff;
    text-align: center;
    padding: 1rem 0;
    margin-top: auto;
}

/* Flight Booking Form */
.booking-form-container {
    width: 100%;
}

.form-section-title {
    color: #040463;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 5px;
    font-family: "Josefin Sans", sans-serif;
    border-bottom: 3px solid #1D940F;
    padding-bottom: 10px;
    display: inline-block;
}

.form-section-subtitle {
    color: #040463;
    margin-bottom: 30px;
    font-size: 1rem;
    font-style: italic;
}

.flight-booking-form .form-row {
    display: flex;
    gap: 30px;
    margin-bottom: 25px;
}

.flight-booking-form .form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.flight-booking-form label {
    font-weight: 600;
    margin-bottom: 8px;
    color: #040463;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.flight-booking-form input,
.flight-booking-form select {
    padding: 16px;
    border: 1px solid #FFFFFF;
    background-color: #FFFFFF;
    font-size: 1rem;
    font-family: inherit;
    border-radius: 0; /* STRICT 0 border radius for sharp modern look */
    transition: all 0.3s ease;
    color: #040463;
}

.flight-booking-form input:focus,
.flight-booking-form select:focus {
    outline: none;
    border-color: #040463;
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(4, 4, 99, 0.1);
}

.btn-submit-booking {
    margin-top: 30px;
    background-color: #1D940F;
    color: #fff;
    border: none;
    padding: 16px 35px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    font-family: "Josefin Sans", sans-serif;
    border-radius: 0; /* STRICT 0 border radius */
    transition: background-color 0.3s ease, transform 0.3s ease;
    width: auto;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-submit-booking:hover {
    background-color: #040463; /* Transitions to brand blue */
}

/* Form Wizard & Navigation Styles */
.form-step {
    animation: formFadeIn 0.4s ease-out forwards;
}

@keyframes formFadeIn {
    from { opacity: 0; transform: translateX(20px); }
    to { opacity: 1; transform: translateX(0); }
}

.form-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-top: 30px;
    border-top: 1px solid #FFFFFF;
    padding-top: 20px;
}

.btn-step {
    padding: 16px 35px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    font-family: "Josefin Sans", sans-serif;
    border-radius: 0; /* STRICT 0 border radius */
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: auto;
    min-width: 150px;
}

.btn-next {
    background-color: #040463;
    color: #fff;
}

.btn-next:hover {
    background-color: #1D940F; /* Brand Orange on hover */
    box-shadow: 0 5px 15px rgba(29, 148, 15, 0.3);
}

.btn-prev {
    background-color: #FFFFFF;
    color: #040463;
    border: 1px solid #FFFFFF;
}

.btn-prev:hover {
    background-color: #FFFFFF;
    color: #040463;
}

.form-actions .btn-submit-booking {
    margin-top: 0; /* Reset margin inside flex container */
    min-width: 180px;
}

@media (max-width: 768px) {
    .flight-booking-form .form-row {
        flex-direction: column;
        gap: 15px;
    }
    
    .form-actions {
        flex-direction: column; /* Stack on mobile */
        width: 100%;
    }
    .btn-step, .form-actions .btn-submit-booking {
        width: 100%;
    }
}

/* Destinations Section */
.destinations-section {
    padding: 20px 20px 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.destinations-header {
    text-align: center;
    margin-bottom: 50px;
}

.destinations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.destination-card {
    background: #ffffff;
    border: 1px solid #FFFFFF;
    border-radius: 0; /* STRICT 0 border radius */
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.destination-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(4, 4, 99, 0.15); /* Blue-tinted shadow on hover */
}

.dest-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 0; /* STRICT 0 border radius */
}

.dest-info {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.dest-title {
    color: #040463;
    font-family: "Josefin Sans", sans-serif;
    font-size: 1.5rem;
    margin-bottom: 2px;
    font-weight: 700;
}

.dest-price {
    color: #1D940F;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.dest-desc {
    color: #040463;
    line-height: 1.5;
    margin-bottom: 20px;
}

.btn-dest-book {
    margin-top: auto; /* Pushes button perfectly to bottom */
    background-color: #FFFFFF;
    color: #040463;
    border: 2px solid #040463;
    padding: 12px 20px;
    text-align: center;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: "Josefin Sans", sans-serif;
    transition: all 0.3s ease;
}

.btn-dest-book:hover {
    background-color: #040463;
    color: #ffffff;
}

/* Scholarship Offers Grid (4 per row) */
.scholarships-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* Exactly 4 columns */
    gap: 25px;
}

.scholarship-card {
    background: #ffffff;
    border: 1px solid #FFFFFF;
    border-radius: 0; /* STRICT 0 border radius */
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.scholarship-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(4, 4, 99, 0.15); /* Modern blue hover shadow */
}

.school-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 0;
}

.scholarship-info {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.school-name {
    color: #040463;
    font-family: "Josefin Sans", sans-serif;
    font-size: 1.4rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.scholarship-desc {
    color: #040463;
    line-height: 1.5;
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.scholarship-reqs {
    background-color: #FFFFFF;
    padding: 15px;
    border-left: 4px solid #1D940F; /* Beautiful orange accent */
    margin-bottom: 25px;
    flex: 1;
}

.scholarship-reqs strong {
    color: #040463;
    font-size: 0.9rem;
    text-transform: uppercase;
    display: block;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.scholarship-reqs ul {
    list-style-type: none; /* Cleaner than discs for modern look */
    padding-left: 0;
    color: #444;
    font-size: 0.9rem;
    line-height: 1.7;
}

.scholarship-reqs ul li::before {
    content: "✓ ";
    color: #040463;
    font-weight: bold;
}

.scholarship-reqs ul li em {
    color: #1D940F; /* Highlight the tip in brand orange */
    font-style: normal;
    font-weight: 700;
}

.btn-apply {
    margin-top: auto;
    background-color: #1D940F;
    color: #fff;
    padding: 16px;
    text-align: center;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: "Josefin Sans", sans-serif;
    transition: background-color 0.3s ease;
    border: none;
    cursor: pointer;
    border-radius: 0;
    display: block;
}

.btn-apply:hover {
    background-color: #040463;
}

/* Responsiveness for Scholarships */
@media (max-width: 1200px) {
    .scholarships-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on tablets */
    }
}

@media (max-width: 768px) {
    .scholarships-grid {
        grid-template-columns: 1fr; /* 1 column on phones */
    }
}

/* Job Offers Grid (4 per row) */
.jobs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.job-card {
    background: #ffffff;
    border: 1px solid #FFFFFF;
    border-radius: 0;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.job-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(40, 167, 69, 0.15);
}

.job-image-container {
    position: relative;
    width: 100%;
    height: 180px;
}

.job-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
}

.job-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 8px 15px;
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 2;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.badge-available {
    background-color: #28a745;
}

.badge-unavailable {
    background-color: #dc3545;
}

.btn-apply-job {
    margin-top: auto;
    background-color: #28a745;
    color: #fff;
    padding: 16px;
    text-align: center;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: "Josefin Sans", sans-serif;
    transition: background-color 0.3s ease;
    border: none;
    cursor: pointer;
    border-radius: 0;
    display: block;
}

.btn-apply-job:hover {
    background-color: #1e7e34;
}

.btn-apply-job.disabled {
    background-color: #6c757d;
    cursor: not-allowed;
}

@media (max-width: 1200px) {
    .jobs-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .jobs-grid { grid-template-columns: 1fr; }
}

/* About Us & Team Grid */
.about-pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 80px;
}

.pillar-card {
    background: #FFFFFF;
    padding: 40px;
    border-left: 5px solid #1D940F;
    transition: transform 0.3s ease;
}

.pillar-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.team-card {
    background: #ffffff;
    border: 1px solid #FFFFFF;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.team-image-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.team-image-wrapper img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
}

.team-socials {
    position: absolute;
    right: 15px; /* Always visible */
    top: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    transition: right 0.3s ease;
}

.team-card:hover .team-socials {
    right: 15px; /* Keep visible on hover */
}

.team-socials a {
    background: #ffffff;
    color: #1D940F;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border-radius: 50%;
    font-size: 1.1rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    transition: transform 0.3s, background 0.3s, color 0.3s;
}

.team-socials a:hover {
    background: #1D940F;
    color: #ffffff;
    transform: scale(1.1);
}

.team-info {
    padding: 25px;
    text-align: left;
    flex-grow: 1; /* Ensures equal height cards fill space */
    display: flex;
    flex-direction: column;
}

.team-name {
    color: #040463;
    font-family: 'Josefin Sans', sans-serif;
    margin-bottom: 5px;
    font-size: 1.5rem;
}

.team-title {
    color: #1D940F;
    font-weight: 700;
    font-size: 1rem;
    display: block;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.team-desc {
    color: #040463;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-top: auto; /* Pushes to bottom if needed, but flex-grow keeps spacing neat */
}

@media (max-width: 1200px) {
    .team-grid { grid-template-columns: repeat(2, 1fr); }
    .about-pillars { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .team-grid { grid-template-columns: 1fr; }
}

/* Home Section Headers with View All Links */
.section-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
    border-bottom: 2px solid #FFFFFF;
    padding-bottom: 15px;
}

.section-header-flex h2 {
    color: #040463;
    font-family: 'Josefin Sans', sans-serif;
    font-size: 2.2rem;
    margin: 0;
}

.view-all-link {
    color: #1D940F;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 1px;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.view-all-link:hover {
    color: #040463;
}

/* 3 Column Grid */
.grid-3-cols {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* Blog Cards */
.blog-card {
    background: #ffffff;
    border: 1px solid #FFFFFF;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 0;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

.blog-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.blog-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-title {
    color: #040463;
    font-family: 'Josefin Sans', sans-serif;
    font-size: 1.4rem;
    margin-bottom: 15px;
    line-height: 1.4;
}

.blog-desc {
    color: #040463;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.blog-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #FFFFFF;
    padding-top: 15px;
}

.blog-author {
    font-size: 0.9rem;
    font-weight: 600;
    color: #040463;
}

.blog-read-more {
    color: #1D940F;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
}

.blog-read-more:hover {
    color: #040463;
}

@media (max-width: 992px) {
    .grid-3-cols { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .grid-3-cols { grid-template-columns: 1fr; }
    .section-header-flex { flex-direction: column; align-items: flex-start; gap: 10px; }
}

/* Blog Scroll Carousel (Homepage) */
.blog-scroll-container {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 20px;
    scrollbar-width: thin;
    scrollbar-color: #1D940F #FFFFFF;
}

.blog-scroll-container::-webkit-scrollbar {
    height: 8px;
}

.blog-scroll-container::-webkit-scrollbar-track {
    background: #FFFFFF;
}

.blog-scroll-container::-webkit-scrollbar-thumb {
    background-color: #1D940F;
    border-radius: 0; /* Corporate styling */
}

.blog-scroll-container .blog-card {
    flex: 0 0 calc(33.3333% - 20px);
    max-width: calc(33.3333% - 20px);
    scroll-snap-align: start;
}

/* Blog Details Layout */
.blog-details-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
}

.blog-main-content {
    /* Flows naturally with the page */
}

.blog-sidebar {
    position: sticky;
    top: 120px; /* Sticks just below the header */
    align-self: start;
}

.blog-detail-image-wrapper {
    position: relative;
    width: 100%;
    margin-bottom: 30px;
}

.blog-detail-image-wrapper img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
}

.blog-detail-meta {
    position: absolute;
    bottom: 0;
    left: 0;
    background: rgba(4, 4, 99, 0.9); /* Brand Blue with opacity */
    color: white;
    padding: 12px 25px; /* Slightly reduced padding */
    display: flex;
    gap: 25px;
    font-size: 0.9rem; /* Reduced font size */
    font-weight: 500; /* Regular weight, less aggressive */
    /* Removed uppercase and letter-spacing for a cleaner, modern look */
}

.blog-detail-meta i {
    margin-right: 6px;
    color: #1D940F; /* Orange icons */
}

.blog-detail-title {
    color: #040463;
    font-family: 'Josefin Sans', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 25px;
    line-height: 1.3;
}

.blog-detail-body {
    color: #444;
    font-size: 1.1rem;
    line-height: 1.8;
}

.blog-detail-body h3 {
    color: #040463;
    font-family: 'Josefin Sans', sans-serif;
    font-size: 1.8rem;
    margin: 40px 0 20px 0;
}

.blog-detail-body ol, .blog-detail-body ul {
    margin-bottom: 30px;
    padding-left: 20px;
}

.blog-detail-body li {
    margin-bottom: 12px;
}

/* Sidebar Styling */
.sidebar-widget {
    background: #FFFFFF;
    padding: 30px;
    margin-bottom: 40px;
    border-top: 4px solid #1D940F;
}

.sidebar-title {
    color: #040463;
    font-family: 'Josefin Sans', sans-serif;
    font-size: 1.4rem;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.social-share-icons {
    display: flex;
    gap: 15px;
}

.social-share-icons a {
    width: 45px;
    height: 45px;
    background: #fff;
    color: #040463;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    border: 1px solid #FFFFFF;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-share-icons a:hover {
    background: #1D940F;
    color: #fff;
    border-color: #1D940F;
}

.recent-post-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    align-items: center;
}

.recent-post-item:last-child {
    margin-bottom: 0;
}

.recent-post-thumb {
    width: 80px;
    height: 80px;
    object-fit: cover;
    flex-shrink: 0;
}

.recent-post-info h4 {
    margin: 0 0 5px 0;
    font-size: 1rem;
    line-height: 1.4;
}

.recent-post-info h4 a {
    color: #040463;
    text-decoration: none;
    transition: color 0.3s;
}

.recent-post-info h4 a:hover {
    color: #1D940F;
}

.recent-post-date {
    font-size: 0.8rem;
    color: #888;
    text-transform: uppercase;
}

/* Contact Page Layout */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
}

/* Contact Info Card */
.contact-info-card {
    background: #040463;
    color: #ffffff;
    padding: 50px 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.contact-info-card h2 {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: #ffffff;
}

.contact-info-card .contact-intro {
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 40px;
    color: #e0e0e0;
}

.info-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 50px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.info-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    color: #1D940F;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    border-radius: 0;
}

.info-text h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: #ffffff;
}

.info-text p {
    color: #e0e0e0;
    line-height: 1.6;
    margin: 0;
}

.contact-info-card h3 {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #ffffff;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
}

.contact-socials {
    display: flex;
    gap: 15px;
}

.contact-socials a {
    width: 45px;
    height: 45px;
    background: #ffffff;
    color: #040463;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.contact-socials a:hover {
    background: #1D940F;
    color: #ffffff;
    transform: translateY(-5px);
}

/* Contact Form Wrapper */
.contact-form-wrapper {
    background: #ffffff;
    padding: 50px 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.contact-form-wrapper h2 {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 2.2rem;
    margin-bottom: 30px;
    color: #040463;
}

/* Corporate Form Styles */
.corporate-form {
    width: 100%;
}

.form-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #444;
}

.corporate-form input[type="text"],
.corporate-form input[type="tel"],
.corporate-form input[type="email"],
.corporate-form textarea {
    width: 100%;
    padding: 14px 15px;
    border: 1px solid #ddd;
    border-radius: 0; /* Corporate sharp edges */
    background: #f9f9f9;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.corporate-form input:focus,
.corporate-form textarea:focus {
    border-color: #040463;
    background: #ffffff;
    outline: none;
    box-shadow: 0 0 0 2px rgba(4, 4, 99, 0.1);
}

.corporate-form textarea {
    resize: vertical;
}

.btn-submit {
    background: #1D940F;
    color: #ffffff;
    border: none;
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.3s ease;
    border-radius: 0;
}

.btn-submit:hover {
    background: #040463;
}


/* Professional Footer Styles */
.main-footer {
    background: #0f2268; /* Deep corporate blue */
    color: #ffffff;
    padding: 30px 20px 0 20px; /* Reduced top padding significantly */
    margin-top: 0; /* Removed awkward gap */
    text-align: left;
}

.footer-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr 1.5fr;
    gap: 40px;
    margin-bottom: 50px;
    text-align: left;
}

.footer-about .footer-logo {
    max-width: 180px;
    margin-bottom: 20px;
    background: #ffffff;
    padding: 10px;
    border-radius: 4px;
}

.footer-about p {
    color: #FFFFFF;
    line-height: 1.8;
    margin-bottom: 25px;
    font-size: 0.95rem;
}

.footer-socials {
    display: flex;
    gap: 12px;
    justify-content: flex-start;
}

.footer-socials a {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border-radius: 0;
    transition: all 0.3s ease;
}

.footer-socials a:hover {
    background: #1D940F;
    transform: translateY(-3px);
}

.main-footer h3 {
    color: #ffffff;
    font-family: 'Josefin Sans', sans-serif;
    font-size: 1.4rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 12px;
}

.main-footer h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background: #1D940F;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    color: #FFFFFF;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    display: inline-block;
}

.footer-links a:hover {
    color: #1D940F;
    transform: translateX(5px);
}

/* Footer Blogs */
.footer-blog-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    align-items: center;
}

.footer-blog-item:last-child {
    margin-bottom: 0;
}

.footer-blog-item img {
    width: 65px;
    height: 65px;
    object-fit: cover;
}

.footer-blog-info a {
    display: block;
    color: #ffffff;
    text-decoration: none;
    font-size: 0.9rem;
    line-height: 1.4;
    margin-bottom: 5px;
    transition: color 0.3s ease;
}

.footer-blog-info a:hover {
    color: #1D940F;
}

.footer-blog-info span {
    color: #9ca3af;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Footer Contact */
.footer-contact ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    color: #FFFFFF;
    margin-bottom: 18px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    font-size: 0.95rem;
    line-height: 1.5;
}

.footer-contact i {
    color: #1D940F;
    margin-top: 4px;
    font-size: 1.1rem;
}

.footer-bottom {
    background: #0a184a;
    text-align: center;
    padding: 25px 20px;
    color: #9ca3af;
    font-size: 0.9rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Floating WhatsApp Button */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.floating-whatsapp:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
    color: #ffffff;
}

/* Mobile Overrides (Must be at the very bottom) */
@media (max-width: 992px) {
    .contact-layout { grid-template-columns: 1fr; }
    .blog-details-layout { grid-template-columns: 1fr; }
    .footer-grid { 
        grid-template-columns: 1fr; 
        gap: 50px;
    }
    
    /* Hero Section Mobile Fixes */
    .hero-overlay-container {
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        padding: 120px 20px 0 20px; /* Perfect mobile padding */
        gap: 30px;
    }
    
    .social-sidebar {
        display: none; /* Hide vertical social icons on mobile */
    }
    
    .hero-overlay .btn-primary {
        display: none; /* Hide the Get Started button on mobile to reduce clutter */
    }
    
    .hero-action-buttons {
        min-width: 100%;
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .blog-scroll-container .blog-card { min-width: 100%; }
    .blog-detail-meta { 
        flex-direction: row; 
        flex-wrap: nowrap; /* Force everything onto one single line */
        justify-content: space-between; /* Spread evenly */
        gap: 8px; /* Extremely tight gap */
        padding: 8px 10px; 
        font-size: 0.7rem; /* Small enough to fit on one line */
        width: 100%; /* Ensure it spans full width */
    }
    .floating-whatsapp { bottom: 20px; right: 20px; width: 50px; height: 50px; font-size: 28px; }
    .footer-bottom { text-align: left; padding: 25px 20px; }
    
    .hero-overlay h1 {
        font-size: 2.6rem;
        margin-bottom: 15px;
    }
    
    .hero-overlay p {
        font-size: 1.1rem;
    }
    
    /* General Pages Hero */
    .page-hero {
        padding: 50px 20px; /* Greatly reduced height for phones */
    }
    
    .page-hero h1 {
        font-size: 2.2rem; /* Reduced title size */
        margin-bottom: 10px;
    }
    
    .page-hero p {
        font-size: 1rem;
    }
    
    /* Prevent title breaking on small screens */
    .form-section-title {
        font-size: 1.6rem !important;
    }
}
