/* --- Modern Variables --- */
:root {
    --primary-color: #004b87;
    --secondary-color: #d4af37;
    --dark-bg: #071327;
    --light-bg: #f8f9fa;
    --text-main: #333333;
    --text-muted: #555555;
}

body {
    font-family: 'Roboto', sans-serif;
    color: var(--text-main);
    overflow-x: hidden;
    background-color: #fff;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

/* --- Navbar & Menu Animations --- */
.navbar {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    padding: 15px 0;
    transition: all 0.4s ease;
}
.navbar-brand img { max-height: 65px; transition: transform 0.3s ease; }
.navbar-brand:hover img { transform: scale(1.05); }

.nav-link {
    font-weight: 600;
    color: var(--primary-color) !important;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    margin: 0 15px;
    position: relative;
    padding-bottom: 5px;
}

/* Underline Slide Animation */
.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--secondary-color);
    transition: width 0.3s ease-in-out;
}
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

/* --- Hero Auto-Slider --- */
.hero-carousel .carousel-item {
    height: 100vh;
    min-height: 600px;
    background-size: cover;
    background-position: center;
    position: relative;
}
.hero-carousel .carousel-item::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(0, 75, 135, 0.85) 0%, rgba(7, 19, 39, 0.75) 100%);
}
.hero-caption {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 100%;
    max-width: 900px;
    padding: 0 20px;
    z-index: 2;
}
.hero-caption h1 {
    font-size: 4rem;
    color: #fff;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: -1px;
}
.hero-caption p {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 40px;
    font-weight: 300;
}

/* --- Modern Buttons --- */
.btn-modern {
    position: relative;
    padding: 12px 35px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    overflow: hidden;
    z-index: 1;
    transition: all 0.4s ease;
    text-decoration: none;
    display: inline-block;
}
.btn-modern-primary {
    background-color: var(--secondary-color);
    color: var(--dark-bg);
    border: none;
}
.btn-modern-primary:hover {
    background-color: #fff;
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}
.btn-modern-outline {
    background-color: transparent;
    color: #fff;
    border: 2px solid #fff;
}
.btn-modern-outline:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--dark-bg);
    transform: translateY(-3px);
}

/* --- Interactive Cards --- */
.interactive-card {
    border: 1px solid #eee;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.03);
    background: #fff;
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
}
.interactive-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}
.interactive-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.7s ease;
}
.interactive-card:hover img {
    transform: scale(1.08);
}
.interactive-card .card-body {
    padding: 35px 25px;
    position: relative;
    background: #fff;
    z-index: 2;
}
.card-icon {
    width: 55px;
    height: 55px;
    background: var(--primary-color);
    color: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    position: absolute;
    top: -27px;
    right: 25px;
    box-shadow: 0 8px 15px rgba(0,75,135,0.2);
    transition: all 0.3s ease;
}
.interactive-card:hover .card-icon {
    transform: rotate(360deg);
    background: var(--secondary-color);
    color: var(--primary-color);
}

/* --- Why Choose Us Custom Styling --- */
.wcu-icon-box {
    width: 80px;
    height: 80px;
    background-color: rgba(0, 75, 135, 0.05);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 20px;
    transition: all 0.3s ease;
}
.wcu-card:hover .wcu-icon-box {
    background-color: var(--primary-color);
    color: #fff;
    transform: scale(1.1);
}

/* --- Commission Banner (Glassmorphism) --- */
.glass-banner {
    background: url('images/slider2.jpg') center/cover fixed;
    position: relative;
    padding: 100px 0;
    color: #fff;
}
.glass-banner::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 75, 135, 0.85);
}
.glass-box {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    padding: 40px 20px;
    text-align: center;
    transition: transform 0.3s ease;
}
.glass-box:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.15);
}
.glass-box h3 { font-size: 3rem; color: var(--secondary-color); margin-bottom: 15px;}

/* --- Process Timeline Steps --- */
.step-wrapper {
    text-align: center;
    position: relative;
    padding: 30px 20px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 10px;
    transition: all 0.3s;
}
.step-wrapper:hover {
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    transform: translateY(-5px);
    border-color: var(--secondary-color);
}
.step-icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    display: inline-block;
}

/* --- Scroll To Top Button --- */
#goTopBtn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    background-color: var(--secondary-color);
    color: var(--dark-bg);
    border: none;
    border-radius: 4px;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
}
#goTopBtn.show {
    opacity: 1;
    visibility: visible;
}
#goTopBtn:hover {
    background-color: var(--primary-color);
    color: #fff;
    transform: translateY(-3px);
}

/* --- Map Section --- */
.map-section {
    line-height: 0;
    border-top: 5px solid var(--secondary-color);
}

/* --- Footer (Revamped for readability) --- */
footer {
    background-color: var(--dark-bg);
    color: #ffffff;
    padding: 70px 0 20px;
}
.footer-widget-title {
    color: var(--secondary-color);
    font-size: 1.2rem;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.footer-link {
    color: #d1d5db; /* Light gray/white for high readability */
    text-decoration: none;
    transition: color 0.3s, padding-left 0.3s;
    display: block;
    margin-bottom: 12px;
    font-size: 0.95rem;
}
.footer-link:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}
.footer-text {
    color: #d1d5db;
    font-size: 0.95rem;
}
.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255,255,255,0.1);
    color: #fff;
    border-radius: 4px;
    transition: all 0.3s ease;
    text-decoration: none;
}
.social-icon:hover {
    background-color: var(--secondary-color);
    color: var(--dark-bg);
    transform: translateY(-3px);
}

@media (max-width: 768px) {
    .hero-caption h1 { font-size: 2.5rem; }
    .hero-carousel .carousel-item { min-height: 500px; height: 80vh; }
}

/* =========================================
   INNER PAGES (ABOUT, SERVICES, CONTACT)
   ========================================= */

/* --- Page Banner --- */
.page-banner {
    background: linear-gradient(rgba(0, 75, 135, 0.8), rgba(7, 19, 39, 0.8)), url('images/breadcrumb.jpg') center/cover no-repeat fixed;
    padding: 100px 0;
    color: #fff;
    text-align: center;
    margin-top: 70px; /* Offsets the fixed header */
}

/* --- Mission & Vision Cards --- */
.mv-card {
    background: #fff;
    border: 1px solid #eee;
    border-top: 4px solid var(--secondary-color);
    border-radius: 10px;
    padding: 40px;
    height: 100%;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}
.mv-card:hover { transform: translateY(-5px); }
.mv-icon { font-size: 2.5rem; color: var(--primary-color); margin-bottom: 20px; }

/* --- Core Values Boxes --- */
.value-box {
    text-align: center;
    padding: 30px 20px;
    background: var(--light-bg);
    border-radius: 10px;
    transition: all 0.3s ease;
}
.value-box:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-5px);
}
.value-box:hover h5, .value-box:hover .value-icon { color: #fff; }
.value-icon {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
    transition: color 0.3s ease;
}

/* Specific styles for Services page if needed (most are handled in style.css) */
        .service-img-wrapper {
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 15px 35px rgba(0,0,0,0.1);
            position: relative;
        }
        .service-img-wrapper img {
            width: 100%;
            height: 400px;
            object-fit: cover;
            transition: transform 0.5s ease;
        }
        .service-img-wrapper:hover img {
            transform: scale(1.05);
        }
        .service-feature-list {
            list-style: none;
            padding: 0;
            margin-top: 20px;
        }
        .service-feature-list li {
            position: relative;
            padding-left: 30px;
            margin-bottom: 15px;
            color: var(--text-muted);
        }
        .service-feature-list li::before {
            content: '\f058'; /* FontAwesome check-circle */
            font-family: 'Font Awesome 6 Free';
            font-weight: 900;
            position: absolute;
            left: 0;
            top: 2px;
            color: var(--secondary-color);
            font-size: 1.1rem;
        }
        .service-icon-badge {
            width: 60px;
            height: 60px;
            background: rgba(0, 75, 135, 0.05);
            color: var(--primary-color);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.8rem;
            margin-bottom: 20px;
        }

         /* Specific Styles for Quality Page */
        .quality-pillar-card {
            background: #fff;
            border: 1px solid #eee;
            border-radius: 12px;
            padding: 40px 30px;
            height: 100%;
            transition: all 0.4s ease;
            position: relative;
            z-index: 1;
            overflow: hidden;
        }
        .quality-pillar-card::before {
            content: '';
            position: absolute;
            top: 0; left: 0; width: 100%; height: 4px;
            background: var(--secondary-color);
            transition: height 0.4s ease;
            z-index: -1;
        }
        .quality-pillar-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 35px rgba(0,0,0,0.08);
            border-color: transparent;
        }
        .quality-pillar-card:hover::before {
            height: 100%;
            background: var(--primary-color);
        }
        .quality-pillar-card:hover h4, 
        .quality-pillar-card:hover p, 
        .quality-pillar-card:hover .pillar-icon {
            color: #fff !important;
        }
        .pillar-icon {
            font-size: 3rem;
            color: var(--primary-color);
            margin-bottom: 25px;
            transition: color 0.4s ease;
        }
        
        .process-badge {
            width: 50px;
            height: 50px;
            background: var(--secondary-color);
            color: var(--dark-bg);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.5rem;
            font-weight: bold;
            margin: 0 auto 20px;
        }

         /* Specific Styles for Contact Page */
        .contact-info-card {
            background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-bg) 100%);
            color: #fff;
            padding: 50px 40px;
            border-radius: 12px;
            height: 100%;
            box-shadow: 0 15px 35px rgba(0, 75, 135, 0.2);
            position: relative;
            overflow: hidden;
        }
        .contact-info-card::after {
            content: '\f2b5'; /* Handshake icon */
            font-family: 'Font Awesome 6 Free';
            font-weight: 900;
            position: absolute;
            bottom: -30px;
            right: -20px;
            font-size: 15rem;
            opacity: 0.05;
            transform: rotate(-15deg);
        }
        .info-item {
            display: flex;
            align-items: flex-start;
            margin-bottom: 30px;
        }
        .info-icon {
            width: 50px;
            height: 50px;
            background: rgba(255,255,255,0.1);
            color: var(--secondary-color);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.2rem;
            margin-right: 20px;
            flex-shrink: 0;
            transition: all 0.3s;
        }
        .info-item:hover .info-icon {
            background: var(--secondary-color);
            color: var(--dark-bg);
        }
        
        .contact-form-wrapper {
            background: #fff;
            padding: 50px;
            border-radius: 12px;
            box-shadow: 0 10px 40px rgba(0,0,0,0.05);
            border: 1px solid #eee;
            position: relative;
        }
        .form-control, .form-select {
            padding: 12px 15px;
            background-color: var(--light-bg);
            border: 1px solid #e5e7eb;
            border-radius: 6px;
            font-size: 0.95rem;
        }
        .form-control:focus, .form-select:focus {
            box-shadow: none;
            border-color: var(--secondary-color);
            background-color: #fff;
        }

        /* Form Animation Overlay */
        #formOverlay {
            position: absolute;
            top: 0; left: 0; width: 100%; height: 100%;
            background: rgba(255, 255, 255, 0.95);
            border-radius: 12px;
            z-index: 10;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            opacity: 0;
            visibility: hidden;
            transition: all 0.4s ease;
        }
        #formOverlay.active {
            opacity: 1;
            visibility: visible;
        }
        
        /* Flying Paper Plane Animation */
        .sending-icon {
            font-size: 4rem;
            color: var(--primary-color);
            animation: flyPlane 1.5s ease-in-out infinite alternate;
        }
        @keyframes flyPlane {
            0% { transform: translateY(10px) rotate(0deg); }
            100% { transform: translateY(-15px) rotate(10deg); }
        }
        
        /* Success Checkmark Animation */
        .success-icon {
            font-size: 5rem;
            color: #198754; /* Bootstrap success green */
            transform: scale(0);
            transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        }
        .success-icon.pop {
            transform: scale(1);
        }