/* GLOBAL SETTINGS */
:root {
    --navy: #2e3192;
    --red: #ed1c24;
    --black: #050505;
}

body {
    font-family: 'Poppins', sans-serif;
    color: #333;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .navbar-brand { font-family: 'Montserrat', sans-serif; }

/* UTILITY */
.bg-navy { background-color: var(--navy) !important; }
.btn-navy { background-color: var(--navy); color: white; border: none; border-radius: 0; transition: 0.3s; }
.btn-navy:hover { background-color: var(--red); color: white; }
.btn-danger { background-color: var(--red); border: none; font-weight: 600; border-radius: 0; transition: 0.3s; }
.btn-danger:hover { background-color: #ed1c24; transform: translateY(-3px); }

.alert-success {
    background: transparent;
    padding: 0;
    border: none;
    color: green;
    font-weight: 600 !important;
}
.contct-form input, .contct-form textarea {
    outline: none !important;
    box-shadow: none !important;
    margin-top: 3px;
}

.navbar-nav .nav-link {
    color: #222 !important;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 600;
    padding: 20px 12px !important;
}
.navbar-nav .nav-link:hover { color: var(--red) !important; }


/* HERO SLIDER (Desktop) */

.carousel-item { height: 85vh; min-height: 550px; }
.carousel-caption {
    bottom: 0;
    left: auto;
    right: auto;
    width: 60%;
}

.carousel-fade .carousel-item { opacity: 0; transition-duration: 0.6s; transition-property: opacity; }
.carousel-fade .carousel-item.active { opacity: 1; }

.custom-indicators {
    justify-content: flex-start !important; 
    margin-left: 10% !important; 
    margin-bottom: 30px !important;
}
.carousel-indicators [button] {
    width: 10px; height: 10px;
    border-radius: 50%;
    background-color: var(--red);
}

/* CARDS */
.service-card-premium { transition: 0.3s; border-bottom: 3px solid transparent; }
.service-card-premium:hover { transform: translateY(-10px); border-bottom-color: var(--red); box-shadow: 0 15px 35px rgba(0,0,0,0.1) !important; }

/* FOOTER HOVERS */
.footer-links a { color: #888; text-decoration: none; transition: 0.3s; }
.footer-links a:hover, .footer-hover-red:hover { color: var(--red) !important; padding-left: 5px; }
.footer-social-icon {
    width: 29px;
    height: 29px;
}

/* DECORATION */
.underline-left { position: relative; padding-bottom: 20px; }
.underline-left::after {
    content: ''; position: absolute; left: 0; bottom: 0; width: 60px; height: 3px; background: var(--red);
}

/* ANIMATION */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: translateY(0); } }
.slide-up { animation: fadeInUp 1s ease forwards; }

/* RESPONSIVE BREAKPOINTS (Mobile Fixes) */
/* Mobile par fixed header hata diya */
@media (max-width: 1024px) {
    .carousel-item { height: 75vh; min-height: 550px; }

}

@media (max-width: 991px) {
    .navbar-nav .nav-link { padding: 10px !important;}
    .main-fcs-header .navbar-toggler {
        padding: 1px 6px;
        box-shadow: none !important;
        outline: none !important;
    }
    .main-fcs-header .navbar-toggler:hover {
        background: #f3f3f3;
    }

    .navbar.sticky-top {
        position: relative !important;
        top: 0;
    }
    .carousel-item { height: 55vh; min-height: 500px; }
    .carousel-caption .display-3 { font-size: 42px; }
    .carousel-caption { 
        width: 85%;
    }
    
    .carousel-caption .lead {
        font-size: 18px;
    }
    
    .display-6 { font-size: 38px !important; }
}

@media (max-width: 768px) {
    .carousel-item { height: 58vh; min-height: 400px; }
    
    .res-h1 { font-size: 1.8rem !important; line-height: 1.2; }
    .small-text-mob { font-size: 0.75rem; letter-spacing: 1px !important; }
    .btn-mob { font-size: 0.85rem; padding: 12px 25px !important; }
    
    .carousel-caption { 
        width: 90%; 
        left: 5%; 
        bottom: 5%;
    }
    .carousel-caption .display-3 { font-size: 36px; }
    .carousel-caption .lead {
        font-size: 16px;
        width: 100% !important;
    }
    .carousel-caption .btn-danger {
        font-size: 18px;
    }
    
    .py-5 { padding-top: 2.5rem !important; padding-bottom: 2.5rem !important; }
    .display-6 { font-size: 30px !important; }
    
    .about-experience-badge { 
        bottom: 10px; 
        right: 10px; 
        padding: 10px !important;
        min-width: 100px;
    }
}

@media (max-width: 576px) {
    .carousel-caption .display-3 { font-size: 30px; }
    .res-h1 { font-size: 1.6rem !important; }
    .display-6 { font-size: 26px !important; }
    .carousel-indicators.custom-indicators { margin-left: 5% !important; bottom: 10px !important; }
}

/* ABOUT BADGE (Global) */
.about-experience-badge { bottom: -20px; right: -20px; min-width: 120px; box-shadow: 0 10px 20px rgba(0,0,0,0.2); z-index: 2; }


/* --- ABOUT PAGE CUSTOM STYLES --- */
.breadcrumb-item:before {
    color: #bababa !important;
}
/* Banner Responsive */
.about-banner-fixed { position: relative; }

/* Bold Text Consistency */
.about-page-content strong {
    color: var(--navy);
    font-weight: 700;
}

/* Tech Grid Hover Effect */
.tech-hover-card {
    transition: all 0.3s ease;
    border-radius: 4px;
}
.tech-hover-card:hover {
    border-color: var(--red) !important;
    transform: translateY(-3px);
}

/* Founder Frame */
.founder-frame {
    display: inline-block;
    max-width: 350px;
}

/* Responsive Overlap & Spacing Fixes (Same as your homepage fixes) */
@media (max-width: 991px) {
    .res-h1 { font-size: 2.8rem !important; }
    .res-h2 { font-size: 2rem !important; }
}

@media (max-width: 768px) {
    .about-banner-fixed { padding: 80px 0 50px 0 !important; }
    .res-h1 { font-size: 2.2rem !important; line-height: 1.2; }
    .res-h2 { font-size: 1.8rem !important; margin-bottom: 15px !important; }
    
    .about-experience-badge { 
        bottom: 5px; 
        right: 5px; 
        min-width: 90px; 
        padding: 10px !important;
    }
    .about-experience-badge h4 { font-size: 1.2rem; }
    
    /* Spacing between columns on mobile */
    .g-4 { --bs-gutter-y: 1.5rem; }
}

@media (max-width: 576px) {
    .res-h1 { font-size: 1.8rem !important; }
    .res-h2 { font-size: 1.5rem !important; }
    .founder-frame { max-width: 100%; }
}


/*-- Contact page CSS --*/
.map-wrapper { height: 450px; }

@media (max-width: 991px) {
    .map-wrapper { height: 400px; }
}
@media (max-width: 768px) {
    .map-wrapper { height: 370px; }
}
@media (max-width: 576px) {
    .map-wrapper { height: 300px; }
}