@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

body {
    font-family: "Roboto";
    font-weight: 400;
    line-height: 1.7em;
    font-size: 18px;
    color: #808291;
    margin: 0;
    padding: 0;

}

/* Header Styles */
.main-header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.4s ease;
    padding: 20px 0;
}

.main-header.transparent {
    background: transparent;
    box-shadow: none;
}

.main-header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    padding: 20px 0;
}

/* Logo Styles */
.logo {
    position: relative;
    display: block !important;
    height: 50px;
}

.logo img {
    max-height: 50px;
    width: auto;
    transition: all 0.3s ease;
}

.main-header.transparent .logo-overlay {
    display: block;
}

.main-header.transparent .logo-scrolled {
    display: none;
}

.main-header.scrolled .logo-overlay {
    display: none;
}

.main-header.scrolled .logo-scrolled {
    display: block;
}

.logo-overlay,
.logo-scrolled {
    transition: opacity 0.3s ease;
}

/* Desktop Navigation */
.main-nav {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-nav a {
    color: rgba(0, 0, 0, 0.688);
    text-decoration: none;
    padding: 8px 10px;
    font-size: 17px;
    font-weight: 500;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.main-nav a:hover {
    border-bottom: 1px solid #000;
    color: #000;
    text-decoration: none;
}

.main-header.transparent .main-nav a {
    color: white;
}

.main-header.transparent .main-nav a:hover {
    border-bottom: 1px solid #fff;
    color: white;
    text-shadow: none;
}

/* Social Icons */
.social-icons {
    display: flex;
    align-items: center;
    gap: 15px;
}

.social-icons a {
    color: #666;
    font-size: 18px;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    color: #dc3545;
    transform: scale(1.1);
}

.main-header.transparent .social-icons a {
    color: white;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
}

.main-header.transparent .mobile-menu-toggle {
    color: white;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
}

.main-header.transparent .mobile-menu-toggle {
    color: white;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.mobile-nav-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 9999;
}

.mobile-nav-container.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav-container nav {
    background: white;
    width: 100%;
    transform: translateY(-100%);
    transition: transform 0.3s ease;
    position: relative;
    max-height: 100vh;
    overflow-y: auto;
}

.mobile-nav-container.active nav {
    transform: translateY(0);
}

/* Close button */
.mobile-menu-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 24px;
    color: #333;
    cursor: pointer;
    z-index: 10000;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-nav {
    list-style: none;
    margin: 0;
    padding: 80px 0 40px 0;
}

.mobile-nav li {
    margin: 0;
    border-bottom: 1px solid #eee;
}

.mobile-nav li:last-child {
    border-bottom: none;
}

.mobile-nav a {
    display: block;
    padding: 18px 30px;
    color: #000;
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.mobile-nav a:hover {
    background: #f8f9fa;
    color: #dc3545;
    padding-left: 40px;
}

/* Mobile Styles */
@media (max-width: 991.98px) {
    .main-header {
        background: white !important;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
        position: fixed !important;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1000;
    }

    .main-header .logo-overlay {
        display: none !important;
    }

    .main-header .logo-scrolled {
        display: block !important;
    }

    .mobile-menu-toggle {
        display: block !important;
        color: #333 !important;
    }

    .social-icons a {
        color: #333 !important;
    }

    body {
        padding-top: 80px;
    }
}

body.menu-open {
    overflow: hidden;
}

@media (min-width: 992px) {
    .mobile-menu-toggle {
        display: none !important;
    }

    .mobile-nav-container {
        display: none !important;
    }

    body {
        padding-top: 0;
    }
}

/* mobile view ends */




/* common titles, spacing */
/* ===== RESPONSIVE COMMON STYLES ===== */

/* Base Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Main Container Spacing */
.main-container {
    padding: 100px 0 !important;
}

/* ===== TYPOGRAPHY & TITLES ===== */

/* Section Titles */
.section-title h2,
.section-title {
    font-size: clamp(25px, 5vw, 44px);
    line-height: 1.2;
    font-weight: 700;
    color: #004176;
   margin-bottom: 60px; 
    text-align: center;
}

/* Section Description */
.section-description {
    font-size: clamp(16px, 2.5vw, 18px);
    color: #808291;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto 60px;
    text-align: center;
    padding: 0 15px;
}

/* Common Description */
.common-description {
    font-size: clamp(15px, 2.2vw, 18px);
    color: #808291;
    line-height: 1.6;
    padding: 10px 0;
}

/* Red Title */
.redTitle {
    font-size: clamp(18px, 3vw, 24px);
    line-height: 1.4;
    color: #e72a3e;
    font-weight: 500;
    margin-bottom: 30px;
    text-align: left;
}

/* Bold Text */
.boldText {
    font-size: clamp(18px, 3vw, 24px);
    line-height: 1.4;
    font-weight: 700;
    color: #000;
}

/* Alternate Background */
.bg-Alternet {
    background-color: #f7f9fb;
}

/* ===== BANNER SECTION ===== */

/* Common Banner */
.common-banner {
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

/* Background Image */
.banner-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 1;
}

/* Banner Content */
.banner-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: white;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Banner Title */
.banner-title {
    font-size: clamp(32px, 8vw, 60px);
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

/* ===== ANIMATION EFFECTS ===== */

/* Base Fade Up Animation */
.fade-up {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fade-up.animate {
    opacity: 1;
    transform: translateY(0);
}

/* Animation Variants */
.fade-up-small {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease-out;
}

.fade-up-small.animate {
    opacity: 1;
    transform: translateY(0);
}

.fade-up-large {
    opacity: 0;
    transform: translateY(80px);
    transition: all 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fade-up-large.animate {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered Animation Delays */
.fade-up-delay-1 { transition-delay: 0.1s; }
.fade-up-delay-2 { transition-delay: 0.2s; }
.fade-up-delay-3 { transition-delay: 0.3s; }
.fade-up-delay-4 { transition-delay: 0.4s; }
.fade-up-delay-5 { transition-delay: 0.5s; }

/* Animation Speed Variants */
.fade-up-fast { transition-duration: 0.4s; }
.fade-up-slow { transition-duration: 1.2s; }

/* Animation Easing Variants */
.fade-up-bounce { transition-timing-function: cubic-bezier(0.68, -0.55, 0.265, 1.55); }
.fade-up-smooth { transition-timing-function: cubic-bezier(0.25, 0.1, 0.25, 1); }

/* ===== FOOTER STYLES ===== */

.footer {
    background: #f52a34;
    color: white;
    padding: 15px 0;
    margin-top: auto;
}

.footer-text {
    font-size: clamp(12px, 2vw, 14px);
    font-weight: 400;
    text-align: center;
    margin: 0;
    letter-spacing: 0.3px;
    padding: 0 15px;
    line-height: 1.4;
}

/* ===== RESPONSIVE BREAKPOINTS ===== */

/* Extra Large Devices (1200px and up) */
@media (min-width: 1200px) {
    .container {
        padding: 0 30px;
    }
    
   
    
    .section-title h2,
    .section-title {
        /* margin-bottom: 80px; */
    }
    
    .section-description {
        margin-bottom: 80px;
    }
}

/* Large Devices (992px to 1199px) */
@media (min-width: 992px) and (max-width: 1199px) {
    .container {
        padding: 0 25px;
    }
    
    .banner-content {
        padding: 0 25px;
    }
}

/* Medium Devices (768px to 991px) */
@media (min-width: 768px) and (max-width: 991px) {
    .main-container {
        padding: 60px 0;
    }
    
    .common-banner {
        min-height: 400px;
    }
    
    .banner-content {
        padding: 0 20px;
    }
    
    .section-title h2,
    .section-title {
        margin-bottom: 40px;
    }
    
    .section-description {
        margin-bottom: 40px;
    }
    
    .redTitle {
        margin-bottom: 20px;
    }
}

/* Small Devices (576px to 767px) */
@media (min-width: 576px) and (max-width: 767px) {
    .container {
        padding: 0 15px;
    }
    
    .main-container {
        padding: 50px 0 !important;
    }
    
    .common-banner {
        min-height: 350px;
    }
    
    .banner-content {
        padding: 0 15px;
    }
    
    .section-title h2,
    .section-title {
        margin-bottom: 30px;
    }
    
    .section-description {
        margin-bottom: 30px;
        padding: 0 10px;
    }
    
    .redTitle {
        margin-bottom: 15px;
        text-align: center;
    }
    
    .common-description {
        padding: 8px 0;
    }
    
    /* Reduce animation distance on small screens */
    .fade-up {
        transform: translateY(30px);
    }
    
    .fade-up-large {
        transform: translateY(40px);
    }
}

/* Extra Small Devices (less than 576px) */
@media (max-width: 575px) {
    .container {
        padding: 10 20px;
    }
    
    .main-container {
        padding: 40px 0 !important;
    }
    
    .common-banner {
        min-height: 300px;
    }
    
    .banner-content {
        padding: 0 10px;
    }
    
    .section-title h2,
    .section-title {
        margin-bottom: 25px;
        text-align: center;
    }
    
    .section-description {
        margin-bottom: 25px;
        padding: 0 15px !important;
        text-align: center;
    }
    
    .redTitle {
        margin-bottom: 15px;
        text-align: center;
    }
    
    .boldText {
        text-align: center;
    }
    
    .common-description {
        padding: 5px 0;
        text-align: center;
    }
    
    .footer {
        padding: 12px 0;
    }
    
    /* Further reduce animation on very small screens */
    .fade-up,
    .fade-up-small {
        transform: translateY(20px);
    }
    
    .fade-up-large {
        transform: translateY(30px);
    }
    
    /* Faster animations on mobile for better UX */
    .fade-up,
    .fade-up-small,
    .fade-up-large {
        transition-duration: 0.5s;
    }
}

/* Portrait Orientation Adjustments */
@media (orientation: portrait) and (max-width: 768px) {
    .common-banner {
        min-height: 40vh;
    }
    
    .banner-title {
        margin-bottom: 15px;
    }
}

/* Landscape Orientation for Mobile */
@media (orientation: landscape) and (max-height: 500px) {
    .common-banner {
        min-height: 80vh;
    }
    
    .main-container {
        padding: 30px 0;
    }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .banner-bg-image {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Accessibility: Respect user's motion preferences */
@media (prefers-reduced-motion: reduce) {
    .fade-up,
    .fade-up-small,
    .fade-up-large {
        transition: none;
        opacity: 1;
        transform: none;
    }
}