/*
Theme Name: Phinkhub
Theme URI: https://phinkhub.co.tz
Author: Phinkhub Team
Author URI: https://phinkhub.co.tz
Description: Custom theme for Phinkhub Limited
Version: 1.0
Text Domain: phinkhub
*/

/* Root Variables */
:root {
 
    --primary-color: #0d2356;
    --primary-dark: #071a40;
    --primary-light: rgba(13, 35, 86, 0.1);
    --secondary-color: #1e5aa8; /* More corporate blue */
    --secondary-light: #3a7bd5;
    --accent-color: #d4af37; /* Gold accent for premium feel */
    --accent-light: #f0e68c;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --bg-light: #f8fafc;
    --bg-dark: #0a1428;
    --text-light: #f8fafc;
    --text-dark: #1e293b;
    --neutral-100: #ffffff;
    --neutral-200: #e2e8f0;
    --neutral-300: #cbd5e1;
    --neutral-400: #94a3b8;
    --neutral-500: #64748b;
    --neutral-600: #475569;
    --neutral-700: #334155;
    --neutral-800: #1e293b;
    --neutral-900: #0f172a;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-inner: inset 0 2px 4px 0 rgba(0, 0, 0, 0.05);

    /* Typography */
    --font-primary: 'Montserrat', sans-serif;
    --font-secondary: 'Open Sans', sans-serif;

    /* Spacing */
    --section-spacing: 6rem;
    --content-spacing: 2rem;

    /* Professional Design Elements */
    --border-radius-sm: 0.25rem;
    --border-radius-md: 0.5rem;
    --border-radius-lg: 1rem;
    --border-accent: 2px solid var(--accent-color);

    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 250ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 350ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base Styles */
html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-secondary);
    line-height: 1.7;
    color: var(--neutral-700);
    background: var(--bg-light);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    padding-top: 0; /* No padding needed for sticky header */
}

/* Typography */
h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6 {
    font-family: var(--font-primary);
    font-weight: 700;
    line-height: 1.2;
    color: var(--neutral-900);
    margin-bottom: 1rem;
}

.display-1, .display-2, .display-3, .display-4 {
    font-weight: 800;
    letter-spacing: -0.02em;
}

.lead {
    font-size: 1.125rem;
    font-weight: 400;
    line-height: 1.8;
    color: var(--neutral-600);
}

/* Sections */
section {
    margin: 0;
    position: relative;
    padding: var(--section-spacing) 0;
}

.section-header {
    margin-bottom: var(--content-spacing);
    text-align: center;
}

.section-subtitle {
    font-family: var(--font-primary);
    color: var(--secondary-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.875rem;
    margin-bottom: 1rem;
    display: block;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

/* Section Styles */
.section-padding {
    padding: 6rem 0;
}

.section-header {
    margin-bottom: 4rem;
}

/* Container modifications */
.container {
    width: 100%;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    margin: 0 auto;
}

@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}

/* Buttons */
.btn {
    font-family: var(--font-primary);
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius-md);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    z-index: 1;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--accent-color);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
    z-index: -1;
}

.btn:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.btn-primary {
    background: var(--primary-color);
    border: none;
    color: var(--neutral-100);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-outline-light {
    border: 2px solid var(--neutral-100);
    position: relative;
}

.btn-outline-light:hover {
    background: var(--neutral-100);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.btn-accent {
    background: var(--accent-color);
    border: none;
    color: var(--primary-dark);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
    padding: 0.75rem 1.5rem;
    box-shadow: 0 4px 8px rgba(212, 175, 55, 0.3);
}

.btn-accent:hover {
    background: #e5c14c; /* Lighter gold */
    color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(212, 175, 55, 0.4);
}

.header-cta .btn {
    border-radius: 30px;
    padding: 0.6rem 1.5rem;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    letter-spacing: 0.8px;
}

/* Cards */
.card {
    border: none;
    border-radius: 1rem;
    overflow: hidden;
    background: var(--neutral-100);
    transition: all var(--transition-normal);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* Component Cards */
.certification-card {
    background: var(--neutral-100);
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-md);
    height: 100%;
    transition: all var(--transition-normal);
}

.certification-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.certification-card i {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.certification-card h3 {
    color: var(--neutral-900);
    margin-bottom: 1rem;
}

.certification-card p {
    color: var(--neutral-600);
    margin: 0;
}

/* Service Cards */
.service-card {
    border: none;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    height: 100%;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-md);
    position: relative;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: var(--accent-color);
    transition: height 0.4s ease;
}

.service-card:hover::after {
    height: 100%;
}

.service-card .card-img-container {
    height: 240px;
    overflow: hidden;
    position: relative;
}

.service-card .card-img-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(13, 35, 86, 0.2), rgba(13, 35, 86, 0.5));
    z-index: 1;
}

.service-card .card-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .card-img-container img {
    transform: scale(1.1);
}

.service-card .card-body {
    padding: 2rem;
    background: var(--neutral-100);
    border-top: 1px solid var(--neutral-200);
}

.service-card .service-icon {
    width: 70px;
    height: 70px;
    background: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    border: 2px solid rgba(212, 175, 55, 0.3);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.service-card .service-icon i {
    color: var(--primary-color);
    font-size: 1.5rem;
}

.service-card .card-title {
    color: var(--neutral-900);
    margin-bottom: 1rem;
    font-weight: 700;
    position: relative;
    padding-bottom: 0.75rem;
}

.service-card .card-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: var(--accent-color);
}

.service-card .card-text {
    color: var(--neutral-600);
    line-height: 1.7;
}

/* Feature Cards */
.feature-card {
    background: var(--neutral-100);
    border-radius: var(--border-radius-lg);
    padding: 2.5rem 2rem;
    text-align: center;
    height: 100%;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-md);
    border-top: 3px solid var(--accent-color);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 50px 50px 0;
    border-color: transparent var(--primary-light) transparent transparent;
    transition: all var(--transition-normal);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-card:hover::before {
    border-width: 0 70px 70px 0;
}

.feature-card .feature-icon {
    width: 90px;
    height: 90px;
    background: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    border: 2px solid rgba(212, 175, 55, 0.3);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1;
}

.feature-card .feature-icon::after {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    border: 1px solid rgba(212, 175, 55, 0.2);
    z-index: -1;
}

.feature-card h3 {
    color: var(--neutral-900);
    margin-bottom: 1rem;
    font-weight: 700;
    position: relative;
    display: inline-block;
    padding-bottom: 0.75rem;
}

.feature-card h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background: var(--accent-color);
}

.feature-card p {
    color: var(--neutral-600);
    margin: 0;
    line-height: 1.7;
}

/* Testimonial Cards */
.testimonials-section {
    position: relative;
    background: var(--neutral-100);
}

.testimonials-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%230d2356' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
    z-index: 0;
}

.testimonial-card {
    background: var(--neutral-100);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    position: relative;
    z-index: 1;
    border-left: 3px solid var(--primary-color);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.testimonial-content {
    position: relative;
    padding-bottom: 1.5rem;
}

.testimonial-content::before {
    content: '\201C';
    font-family: Georgia, serif;
    position: absolute;
    top: -20px;
    left: -10px;
    font-size: 5rem;
    color: var(--primary-light);
    opacity: 0.3;
    line-height: 1;
}

.testimonial-rating {
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.testimonial-text {
    font-style: italic;
    color: var(--neutral-700);
    line-height: 1.7;
    margin-bottom: 0;
}

.testimonial-author {
    display: flex;
    align-items: center;
    border-top: 1px solid var(--neutral-200);
    padding-top: 1.5rem;
}

.testimonial-author-info h4 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
    color: var(--neutral-900);
}

.testimonial-author-info p {
    font-size: 0.9rem;
    color: var(--neutral-600);
    margin: 0;
}

/* Team Section */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.team-member {
    background: var(--neutral-100);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    position: relative;
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.team-member::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: var(--accent-color);
    transition: height 0.4s ease;
}

.team-member:hover::after {
    height: 100%;
}

.team-member-image {
    height: 300px;
    overflow: hidden;
    position: relative;
}

.team-member-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.7));
    z-index: 1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.team-member:hover .team-member-image::before {
    opacity: 1;
}

.team-member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.team-member:hover .team-member-image img {
    transform: scale(1.1);
}

.team-member-info {
    padding: 1.5rem;
    text-align: center;
    position: relative;
    background: var(--neutral-100);
    border-top: 1px solid var(--neutral-200);
}

.team-member-name {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--neutral-900);
}

.team-member-position {
    font-size: 0.9rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.team-social-links {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1rem;
}

.team-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--primary-light);
    color: var(--primary-color);
    transition: all var(--transition-normal);
}

.team-social-link:hover {
    background: var(--primary-color);
    color: var(--neutral-100);
    transform: translateY(-3px);
}

@media (max-width: 991.98px) {
    .team-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

@media (max-width: 767.98px) {
    .team-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    }

    .team-member-image {
        height: 250px;
    }
}

/* Partners Section */
.partners-section {
    position: relative;
}

.partners-logos {
    margin-top: 2rem;
}

.partner-logo {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: var(--neutral-100);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

.partner-logo:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.partner-logo img {
    max-height: 80px;
    max-width: 100%;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all var(--transition-normal);
}

.partner-logo:hover img {
    filter: grayscale(0);
    opacity: 1;
}

.feature-card .feature-icon::after {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    border: 1px solid rgba(212, 175, 55, 0.2);
    z-index: -1;
}

.feature-card .feature-icon i {
    color: var(--primary-color);
    font-size: 2rem;
}

/* Header & Navigation */

.social-icons {
    display: flex;
    gap: 0.75rem;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--neutral-300);
    transition: all var(--transition-normal);
}

.social-icons a:hover {
    background-color: var(--accent-color);
    color: var(--primary-dark);
    transform: translateY(-2px);
}

/* Main Header */
.main-header {
    position: relative;
    z-index: 1030;
    background: linear-gradient(to right, rgba(7, 26, 64, 0.98), rgba(13, 35, 86, 0.98));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    height: 90px;
    display: flex;
    align-items: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: transform var(--transition-normal), background-color var(--transition-normal), box-shadow var(--transition-normal);
    border-bottom: 2px solid var(--accent-color); /* Gold accent */
    width: 100%;
    animation: headerFadeIn 0.8s ease-out;
}

@keyframes headerFadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Header scroll effect */
.main-header.scrolled {
    background: linear-gradient(to right, rgba(7, 26, 64, 0.98), rgba(13, 35, 86, 0.98));
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    height: 80px;
}

body {
    padding-top: 0; /* No padding needed for sticky header */
}

.sticky-header {
    position: sticky;
    top: 0;
    width: 100%;
}

.main-header.header-hidden {
    transform: translateY(-100%);
}

.navbar {
    padding: 0;
    margin: 0;
    height: 90px;
}

.navbar-brand {
    font-family: var(--font-primary);
    padding: 0;
    display: flex;
    align-items: center;
}

.brand-container {
    display: flex;
    align-items: center;
}

.brand-logo {
    width: 60px;
    height: 60px;
    margin-right: 1rem;
    transition: transform var(--transition-normal);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--neutral-100);
    line-height: 1.2;
    letter-spacing: 0.5px;
}

.brand-tagline {
    font-size: 0.85rem;
    color: var(--accent-color);
    font-weight: 500;
    letter-spacing: 0.5px;
}

.navbar-brand:hover .brand-logo {
    transform: scale(1.05);
}

.navbar-nav {
    gap: 0.5rem;
}

.nav-link {
    font-family: var(--font-primary);
    color: var(--neutral-200) !important;
    font-weight: 500;
    padding: 0.75rem 1rem !important;
    transition: all var(--transition-normal);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--neutral-100) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent-color); /* Gold accent for nav links */
    transition: all var(--transition-normal);
    transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 80%;
}

.navbar-collapse {
    margin: 0;
}

/* Dropdown Styles */
.dropdown-menu {
    margin-top: 0.5rem;
    padding: 0.5rem 0;
    background: linear-gradient(to right, rgba(15, 23, 42, 0.98), rgba(30, 41, 59, 0.98));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: var(--shadow-lg);
}

.dropdown-item {
    font-family: var(--font-primary);
    color: var(--neutral-300);
    padding: 0.75rem 1.5rem;
    transition: all var(--transition-normal);
}

.dropdown-item:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--neutral-100);
    transform: translateX(5px);
}

.dropdown-divider {
    border-color: rgba(255, 255, 255, 0.1);
    margin: 0.5rem 0;
}

/* Mobile Navigation */
.navbar-toggler {
    border: 1px solid rgba(212, 175, 55, 0.3);
    padding: 0.5rem;
    border-radius: 4px;
    background-color: rgba(255, 255, 255, 0.05);
    transition: all var(--transition-normal);
}

.navbar-toggler:hover {
    background-color: rgba(212, 175, 55, 0.1);
    border-color: var(--accent-color);
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
    outline: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(212, 175, 55, 0.9)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

@media (max-width: 991.98px) {
    body {
        padding-top: 0; /* No padding needed for sticky header */
    }

    .main-header {
        position: sticky;
        top: 0;
        left: 0;
        right: 0;
    }

    .brand-tagline {
        display: none; /* Hide tagline on mobile */
    }

    .brand-logo {
        width: 48px;
        height: 48px;
    }

    .brand-name {
        font-size: 1.3rem;
    }

    .navbar-collapse {
        background: linear-gradient(to right, rgba(7, 26, 64, 0.98), rgba(13, 35, 86, 0.98));
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        padding: 1.75rem;
        border-radius: 0.75rem;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(212, 175, 55, 0.2);
        position: absolute;
        top: 100%;
        left: 1rem;
        right: 1rem;
        opacity: 0;
        transform: translateY(-10px);
        transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
        border: 1px solid rgba(212, 175, 55, 0.2); /* Subtle gold border */
        max-height: 85vh;
        overflow-y: auto;
        z-index: 1050;
    }

    .navbar-collapse.show {
        opacity: 1;
        transform: translateY(0);
    }

    .nav-item {
        margin: 0.75rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        transition: all 0.25s ease;
    }

    .nav-item:last-child {
        border-bottom: none;
    }

    .nav-link {
        padding: 0.9rem 1.25rem !important;
        font-size: 1.1rem;
        border-radius: 0.5rem;
        transition: all 0.25s ease;
        position: relative;
        font-weight: 600;
        letter-spacing: 0.3px;
    }

    .nav-link::after {
        display: none;
    }

    .nav-link:hover {
        background: rgba(255, 255, 255, 0.1);
        padding-left: 1.75rem !important;
        color: var(--accent-color) !important;
        transform: translateX(3px);
    }

    .nav-link.active {
        color: var(--accent-color) !important;
        background: rgba(212, 175, 55, 0.15);
        box-shadow: 0 0 0 1px rgba(212, 175, 55, 0.3);
    }

    .dropdown-menu {
        background: rgba(0, 0, 0, 0.25);
        border: 1px solid rgba(255, 255, 255, 0.05);
        margin-top: 0.25rem;
        padding: 0.5rem;
        border-radius: 0.5rem;
        box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
    }

    .dropdown-item {
        padding: 0.85rem 1.5rem;
        color: var(--neutral-200);
        border-radius: 0.4rem;
        transition: all 0.25s ease;
        margin-bottom: 0.25rem;
        font-weight: 500;
    }

    .dropdown-item:last-child {
        margin-bottom: 0;
    }

    .dropdown-item:hover {
        background: rgba(212, 175, 55, 0.15);
        color: var(--accent-color);
        transform: translateX(3px);
    }

    /* Add mobile CTA button */
    .navbar-collapse .header-cta {
        display: block !important;
        margin-top: 2rem;
        text-align: center;
        position: relative;
    }

    .navbar-collapse .header-cta::before {
        content: '';
        position: absolute;
        top: -1rem;
        left: 0;
        right: 0;
        height: 1px;
        background: linear-gradient(to right, rgba(212, 175, 55, 0), rgba(212, 175, 55, 0.3), rgba(212, 175, 55, 0));
    }

    .navbar-collapse .header-cta .btn {
        width: 100%;
        padding: 1rem;
        font-weight: 700;
        letter-spacing: 0.5px;
        text-transform: uppercase;
        font-size: 0.9rem;
        box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
        transition: all 0.3s ease;
    }

    .navbar-collapse .header-cta .btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 15px rgba(212, 175, 55, 0.4);
    }

    .section-padding {
        padding: 4rem 0;
    }

    .section-header {
        margin-bottom: 3rem;
    }

    .service-card .card-img-container {
        height: 200px;
    }
}

@media (max-width: 767.98px) {
    html {
        font-size: 14px;
    }

    .section-title {
        font-size: 1.75rem;
    }

    section {
        padding: calc(var(--section-spacing) * 0.5) 0;
    }

    .container {
        padding: 0 1rem;
    }

    .section-padding {
        padding: 3rem 0;
    }

    .section-header {
        margin-bottom: 2rem;
    }

    /* Service Cards */
    .service-card .card-img-container {
        height: 180px;
    }

    .service-card .service-icon {
        width: 60px;
        height: 60px;
        margin-top: -30px;
    }

    .service-card .service-icon i {
        font-size: 1.5rem;
    }

    .service-card .card-title {
        font-size: 1.3rem;
    }

    /* Improve image responsiveness */
    img {
        max-width: 100%;
        height: auto;
    }

    /* Footer improvements */
    .footer-title {
        font-size: 1.1rem;
        margin-bottom: 1.25rem;
    }

    .footer-links li {
        margin-bottom: 0.5rem;
    }

    .footer-newsletter input {
        padding: 0.75rem;
    }
}

/* Responsive Typography */
@media (max-width: 991.98px) {
    html {
        font-size: 15px;
    }

    .section-title {
        font-size: 2rem;
    }

    section {
        padding: calc(var(--section-spacing) * 0.75) 0;
    }
}

@media (max-width: 767.98px) {
    html {
        font-size: 14px;
    }

    .section-title {
        font-size: 1.75rem;
    }

    section {
        padding: calc(var(--section-spacing) * 0.5) 0;
    }

    .container {
        padding: 0 1rem;
    }
}

/* Page Loader */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-dark);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity var(--transition-normal);
}

.loader-content {
    position: relative;
    width: 120px;
    height: 120px;
}

.loader-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 4px solid transparent;
    border-top-color: var(--primary-color);
    border-right-color: var(--secondary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.loader-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    object-fit: contain;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Main Content */
main {
    margin: 0;
    padding: 0;
    min-height: calc(100vh - 80px);
    width: 100%;
    overflow: hidden;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    margin-top: -80px; /* Compensate for header height */
    padding: 0;
    background-color: var(--bg-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Hero Title - Global styling for all hero section titles */
.hero-section .display-3 {
    color: var(--accent-color);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease, visibility 1s ease;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(7, 26, 64, 0.85) 0%,
        rgba(13, 35, 86, 0.7) 50%,
        rgba(7, 26, 64, 0.85) 100%
    );
}

.hero-slide::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--accent-color);
    opacity: 0.7;
    z-index: 2;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    padding-top: 80px; /* Compensate for header */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

.hero-content .section-subtitle {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: rgba(212, 175, 55, 0.15);
    border-radius: 50px;
    color: var(--accent-light);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-align: center;
    border: 1px solid rgba(212, 175, 55, 0.3);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.hero-content .display-3 {
    color: var(--accent-color);
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    text-align: center;
    width: 100%;
}

.hero-content .lead {
    color: var(--neutral-200);
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto 2.5rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.hero-content .btn-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-content .btn {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    margin: 0.5rem;
    min-width: 220px;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    font-weight: 700;
    transition: all 0.4s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    z-index: 1;
    border: none;
}

.hero-content .btn-primary {
    background: var(--accent-color);
    border: none;
    color: var(--primary-dark);
    position: relative;
}

.hero-content .btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    opacity: 0;
    z-index: -1;
    transition: opacity 0.4s ease;
    border-radius: 6px;
}

.hero-content .btn-primary:hover {
    transform: translateY(-5px);
    color: var(--neutral-100);
    background: transparent;
}

.hero-content .btn-primary:hover::before {
    opacity: 1;
}

.hero-content .btn-outline-light {
    border: 2px solid var(--neutral-100);
    color: var(--neutral-100);
    background: rgba(13, 35, 86, 0.5);
    backdrop-filter: blur(5px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.hero-content .btn-outline-light:hover {
    background: var(--neutral-100);
    color: var(--primary-color);
    transform: translateY(-5px);
    border-color: var(--neutral-100);
}

/* Slider Controls */
.hero-controls {
    position: absolute;
    bottom: 10%;
    left: 0;
    right: 0;
    z-index: 3;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}

.hero-arrow {
    width: 50px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    background: rgba(13, 35, 86, 0.7);
    backdrop-filter: blur(4px);
    color: var(--neutral-100);
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.hero-arrow:hover {
    background: var(--accent-color);
    transform: translateY(-3px);
    border-color: var(--accent-color);
    color: var(--primary-dark);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
}

.hero-dots {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.hero-dot {
    width: 30px;
    height: 8px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 0 2px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-dot.active {
    background: var(--accent-color);
    transform: scaleX(1.2);
    border-color: var(--accent-color);
    box-shadow: 0 0 8px rgba(212, 175, 55, 0.5);
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.hero-scroll-indicator:hover {
    opacity: 1;
    transform: translateX(-50%) translateY(-5px);
}

.hero-scroll-indicator a {
    color: var(--neutral-100);
    font-size: 2rem;
    text-decoration: none;
}

/* Responsive Adjustments */
@media (max-width: 1199.98px) {
    .hero-content .display-3 {
        font-size: 4rem;
    }
}

@media (max-width: 991.98px) {
    .hero-content .display-3 {
        font-size: 3.5rem;
    }

    .hero-content .section-subtitle {
        font-size: 1rem;
    }

    .hero-content .btn {
        min-width: 180px;
        padding: 0.875rem 1.75rem;
    }
}

@media (max-width: 767.98px) {
    .hero-content {
        padding-top: 100px;
        padding: 100px 1rem 0;
    }

    .hero-content .display-3 {
        font-size: 2.5rem;
    }

    .hero-content .lead {
        font-size: 1.1rem;
        padding: 0 1rem;
    }

    .hero-content .section-subtitle {
        font-size: 0.9rem;
    }

    .hero-controls {
        gap: 1rem;
        bottom: 5%;
    }

    .hero-arrow {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .hero-dot {
        width: 20px;
        height: 6px;
    }

    .hero-content .btn {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
        min-width: 160px;
    }
}

@media (max-height: 700px) {
    .hero-content {
        transform: translateY(-1rem);
    }
}

/* Extra Small Devices */
@media (max-width: 479.98px) {
    html {
        font-size: 13px;
    }

    .hero-content {
        padding: 90px 0.75rem 0;
        min-height: 90vh;
    }

    .hero-content .display-3 {
        font-size: 2rem;
    }

    .hero-content .lead {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .hero-content .section-subtitle {
        font-size: 0.8rem;
        padding: 0.4rem 1rem;
    }

    .hero-content .btn-group {
        flex-direction: column;
        width: 100%;
    }

    .hero-content .btn {
        width: 100%;
        margin: 0.5rem 0;
        min-width: auto;
    }

    .hero-controls {
        bottom: 3%;
    }

    .hero-arrow {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }

    .hero-dot {
        width: 16px;
        height: 5px;
    }

    .navbar-brand .brand-name {
        font-size: 1.1rem;
    }

    .brand-logo {
        width: 40px;
        height: 40px;
        margin-right: 0.75rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .section-padding {
        padding: 2.5rem 0;
    }

    .container {
        padding: 0 0.75rem;
    }

    /* Service Cards */
    .service-card .card-img-container {
        height: 160px;
    }

    .service-card .service-icon {
        width: 50px;
        height: 50px;
        margin-top: -25px;
    }

    .service-card .service-icon i {
        font-size: 1.25rem;
    }

    .service-card .card-title {
        font-size: 1.2rem;
    }

    .service-card .card-body {
        padding: 2rem 1rem 1.5rem;
    }

    /* About Section */
    .about-image {
        margin-bottom: 1.5rem;
    }

    .feature-card {
        padding: 1.25rem;
        margin-bottom: 1rem;
    }

    /* Contact Section */
    .contact-info-item {
        padding: 1rem;
        margin-bottom: 1rem;
    }

    .contact-form .form-control {
        padding: 0.75rem;
    }

    /* Footer */
    .footer {
        text-align: center;
    }

    .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-links {
        margin-bottom: 2rem;
    }

    .social-links {
        justify-content: center;
        margin-bottom: 1.5rem;
    }

    .footer-contact li {
        justify-content: center;
    }

    /* Fix overflow issues */
    body {
        overflow-x: hidden;
    }

    /* Improve touch targets */
    button, 
    .btn, 
    .nav-link, 
    .dropdown-item {
        min-height: 44px;
        display: flex;
        align-items: center;
    }
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--neutral-100);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--accent-color);
    color: var(--neutral-900);
    transform: translateY(-5px);
}

.back-to-top i {
    font-size: 1.25rem;
}

/* Footer Styles */
.footer {
    background: linear-gradient(to right, var(--primary-dark), var(--primary-color));
    color: var(--neutral-200);
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--accent-color);
}

.footer-brand img {
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.2));
    transition: transform var(--transition-normal);
}

.footer-brand img:hover {
    transform: scale(1.05);
}

.footer-title {
    color: var(--neutral-100);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
    display: inline-block;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--accent-color);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--neutral-300);
    text-decoration: none;
    transition: all var(--transition-normal);
    display: inline-flex;
    align-items: center;
}

.footer-links a i {
    margin-right: 0.5rem;
    font-size: 0.75rem;
    color: var(--accent-color);
    transition: transform var(--transition-normal);
}

.footer-links a:hover {
    color: var(--neutral-100);
    transform: translateX(5px);
}

.footer-links a:hover i {
    transform: translateX(3px);
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.footer-contact li i {
    margin-right: 1rem;
    color: var(--accent-color);
    font-size: 1rem;
    margin-top: 0.25rem;
}

.footer-contact li span,
.footer-contact li a {
    color: var(--neutral-300);
    text-decoration: none;
    transition: color var(--transition-normal);
}

.footer-contact li a:hover {
    color: var(--neutral-100);
}

.footer-newsletter input {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--neutral-100);
    padding: 0.75rem 1rem;
    border-radius: var(--border-radius-md);
    margin-bottom: 1rem;
    width: 100%;
    transition: all var(--transition-normal);
}

.footer-newsletter input:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--accent-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
}

.footer-newsletter input::placeholder {
    color: var(--neutral-400);
}

.footer-newsletter .btn {
    background: var(--accent-color);
    color: var(--primary-dark);
    border: none;
    font-weight: 600;
}

.footer-newsletter .btn:hover {
    background: var(--accent-light);
    transform: translateY(-3px);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--neutral-100);
    text-decoration: none;
    transition: all var(--transition-normal);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-links a:hover {
    background: var(--accent-color);
    color: var(--primary-dark);
    transform: translateY(-3px);
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.2);
    padding: 1.5rem 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    margin: 0;
    color: var(--neutral-400);
    font-size: 0.9rem;
}
.feature-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1)!important;
}

.testimonial-card {
    transition: transform 0.3s ease;
    border-top: 3px solid var(--bs-primary);
}
.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1)!important;
}
.testimonial-badge {
    transform: translateY(-50%);
}

.service-card {
    transition: all 0.3s ease;
}
.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 1rem 3rem rgba(0,0,0,0.1)!important;
}
.icon-lg {
    width: 60px;
    height: 60px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.object-fit-cover {
    object-fit: cover;
}
.hover-lift:hover {
    transform: translateY(-5px);
    transition: transform 0.3s ease;
}
.icon-container {
    transition: all 0.3s ease;
}
.service-card:hover .icon-container {
    background-color: rgba(var(--bs-primary-rgb), 0.2) !important;
    transform: scale(1.05);
}


.object-fit-cover {
    object-fit: cover;
    object-position: center;
}

.card-img-container {
    transition: transform 0.3s ease;
}

.service-card-extended:hover .card-img-container {
    transform: scale(1.03);
}
.object-fit-cover {
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.project-card:hover .project-img-container img {
    transform: scale(1.05);
}

.project-img-container {
    position: relative;
    overflow: hidden;
}

.project-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 87, 146, 0.85);
    color: white;
    padding: 1rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.project-card:hover .project-overlay {
    transform: translateY(0);
}


/* CSS for the improved service page */
.service-img-container {
    position: relative;
    border: 5px solid white;
    aspect-ratio: 16/9;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.service-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-img-container:hover img {
    transform: scale(1.05);
}

.img-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 87, 146, 0.4);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-img-container:hover .img-overlay {
    opacity: 1;
}

.service-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.service-icon {
    width: 60px;
    height: 60px;
    background: #005792;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    font-size: 1.5rem;
}

.service-feature-card {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: white;
    border-radius: 0.5rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.service-feature-card:hover {
    transform: translateY(-5px);
}

.service-feature-card i {
    font-size: 1.25rem;
    margin-top: 0.25rem;
}

.service-card-extended {
    height: 100%;
    background: white;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border-bottom: 4px solid #005792;
}

.service-card-extended:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.card-img-container {
    height: 250px;
    overflow: hidden;
}

.card-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card-extended:hover .card-img-container img {
    transform: scale(1.1);
}

.service-icon-sm {
    width: 50px;
    height: 50px;
    background: #005792;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem; /* This centers it horizontally */
    font-size: 1.25rem;
}

.feature-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 1.5rem;
}

.feature-list li {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: flex-start;
}

.feature-list i {
    margin-right: 0.5rem;
    margin-top: 0.2rem;
}

.project-card {
    height: 100%;
    background: white;
    color: #333;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.project-img-container {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.project-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card:hover .project-img-container img {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 87, 146, 0.8);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
}

.project-features {
    margin-bottom: 1.5rem;
}

.project-features > div {
    display: flex;
    justify-content: space-between;
    text-align: center;
}

.project-features i {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.title-underline {
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #005792, #00a8ff);
}

.cta-final-section {
    background: linear-gradient(rgba(0, 36, 73, 0.92), rgba(0, 87, 146, 0.92)), url('images/cta-bg-optimized.jpg') no-repeat center center/cover;
}

.animate-bounce {
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
    40% {transform: translateY(-10px);}
    60% {transform: translateY(-5px);}
}

@media (max-width: 768px) {
    .hero-section {
        min-height: 80vh;
    }
    
    .display-3 {
        font-size: 2.5rem;
    }
    
    .service-header {
        flex-direction: column;
        text-align: center;
    }
    
    .service-icon {
        margin-right: 0;
        margin-bottom: 1rem;
    }
}
.icon-spacer {
    margin-top: 1.5rem;       /* Adjust this value as needed */
}
.card-body {
    padding: 1rem;
    text-align: center; /* Ensures content is centered */
}

  /* Custom Styles */
    .hero-section {
        background-attachment: fixed;
    }
    
    .text-shadow {
        text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
    }
    
    .letter-spacing-2 {
        letter-spacing: 2px;
    }
    
    .scroll-down {
        color: white;
        animation: bounce 2s infinite;
    }
    
    @keyframes bounce {
        0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
        40% {transform: translateY(-15px);}
        60% {transform: translateY(-7px);}
    }
    
    .divider {
        width: 80px;
        height: 3px;
    }
    
    .contact-icon {
        width: 50px;
        height: 50px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .btn-icon {
        width: 40px;
        height: 40px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    
    .map-overlay-content {
        position: absolute;
        bottom: 30px;
        right: 30px;
        max-width: 300px;
        z-index: 1000;
    }
    
    .testimonial-card {
        transition: transform 0.3s ease;
    }
    
    .testimonial-card:hover {
        transform: translateY(-5px);
    }
    
    .client-img img {
        object-fit: cover;
    }
    
    .section-title:after {
        content: '';
        position: absolute;
        bottom: -10px;
        left: 50%;
        transform: translateX(-50%);
        width: 50px;
        height: 3px;
        background: #283593;
    }
    
    .contact-form-wrapper {
        position: relative;
        overflow: hidden;
    }
    
    .contact-form-wrapper:before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 5px;
        height: 100%;
        background: #283593;
    }
    
    .stats-bar {
        margin-top: -50px;
        position: relative;
        z-index: 10;
        border-radius: 10px;
        box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    }
    
    .stat-item {
        padding: 20px;
        background: rgba(255,255,255,0.1);
        border-radius: 8px;
        transition: all 0.3s ease;
    }
    
    .stat-item:hover {
        background: rgba(255,255,255,0.2);
        transform: translateY(-5px);
    }

    .mission-vision-section {
    background-color: #fff;
    position: relative;
}

.mission-vision-card {
    border: none;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    height: 100%;
}

.mission-vision-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.card-body {
    padding: 2.5rem;
}

.card-icon-container {
    width: 100%;
    margin-bottom: 1.5rem;
}

.card-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.75rem;
}

.card-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    color: #2c3e50;
}

.card-content p {
    color: #555;
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 0;
}

/* Specific card accents */
.vision-card {
    border-top: 4px solid #005792;
}

.mission-card {
    border-top: 4px solid #f9a51a;
}

@media (max-width: 992px) {
    .card-body {
        padding: 2rem;
    }
    
    .card-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .card-title {
        font-size: 1.5rem;
    }
}
.values-section {
    position: relative;
}

.value-card {
    border: none;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    height: 100%;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.card-body {
    padding: 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.card-icon-container {
    margin-bottom: 1.5rem;
}

.card-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.75rem;
}

.card-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #2c3e50;
    text-align: center;
}

.card-content {
    flex-grow: 1;
}

.card-content p {
    color: #555;
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 0;
    text-align: center;
}

@media (max-width: 992px) {
    .card-body {
        padding: 1.75rem;
    }
    
    .card-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .card-title {
        font-size: 1.3rem;
    }
}
.milestones-section {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #1a202c 0%, #0a0e14 100%);
}

.timeline-twist {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
}

.timeline-path {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, 
        rgba(0, 87, 146, 0.5) 0%, 
        rgba(249, 165, 26, 0.5) 50%, 
        rgba(40, 167, 69, 0.5) 100%);
    transform: translateX(-50%);
    z-index: 1;
}

.milestone {
    position: relative;
    margin-bottom: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 2;
}

.milestone-badge {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 700;
    color: white;
    border: 3px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 3;
    transition: all 0.3s ease;
}

.milestone-card {
    background: rgba(30, 41, 59, 0.8);
    border-radius: 16px;
    padding: 30px;
    width: 80%;
    margin-top: -40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.card-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #005792, #f9a51a);
}

.milestone-card h3 {
    font-size: 1.4rem;
    margin: 15px 0;
    color: white;
    position: relative;
}

.milestone-card p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    margin-bottom: 15px;
}

.milestone-icon {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 2rem;
    opacity: 0.1;
    transition: all 0.3s ease;
}

/* Interactive Elements */
.milestone:hover .milestone-badge {
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
}

.milestone:hover .milestone-card {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.milestone:hover .milestone-icon {
    opacity: 0.3;
}

/* Animations */
.pulse-anim {
    animation: pulse 3s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.2); }
    70% { box-shadow: 0 0 0 15px rgba(255, 255, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}

.slide-up {
    animation: slideUp 0.6s ease-out forwards;
}

@keyframes slideUp {
    from { transform: translateY(30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* Responsive Design */
@media (max-width: 768px) {
    .timeline-path {
        left: 40px;
    }
    
    .milestone {
        align-items: flex-start;
        padding-left: 80px;
    }
    
    .milestone-badge {
        position: absolute;
        left: 0;
    }
    
    .milestone-card {
        width: 100%;
        margin-left: 0;
    }
}
/* Welcome Message Styling */
.welcome-message-section .content-block p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

/* Director Message Styling */
.director-message-content {
    position: relative;
}

.director-message-content:before {
    content: '"';
    position: absolute;
    font-size: 120px;
    font-family: Georgia, serif;
    color: rgba(13, 110, 253, 0.1);
    top: -30px;
    left: 10px;
    line-height: 1;
}

.director-portrait img {
    border: 5px solid #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.milestone {
    position: relative;
    padding: 20px 0;
}

.milestone.left {
    padding-right: 50px;
    text-align: right;
}

.milestone.right {
    padding-left: 50px;
}

.milestone-badge {
    display: inline-block;
    width: 80px;
    height: 80px;
    line-height: 80px;
    border-radius: 50%;
    text-align: center;
    font-weight: bold;
    font-size: 1.2rem;
    position: absolute;
}

.milestone.left .milestone-badge {
    right: -40px;
}

.milestone.right .milestone-badge {
    left: -40px;
}

.milestone-card {
    position: relative;
    background: rgba(255,255,255,0.1);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}


/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
}

.hero-slideshow {
    height: 100%;
    position: relative;
}

.hero-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
    padding-top: 20vh;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateY(0) translateX(-50%);}
    40% {transform: translateY(-20px) translateX(-50%);}
    60% {transform: translateY(-10px) translateX(-50%);}
}/* Logo scale on hover */
/* Partner Swiper Container */
.swiper-container-wrapper {
  position: relative;
  padding: 0 60px;
  max-width: 1400px;
  margin: 0 auto;
}

/* Partner Card Styles */
/* Partner Card with Name */
.partner-card {
  height: 140px; /* Slightly taller to accommodate name */
  padding: 1rem;
  border-radius: 0.5rem;
  background: white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

/* Logo container keeps original size */
.logo-container {
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Partner name styling */
.partner-name {
  font-size: 0.85rem;
  font-weight: 500;
  color: #333;
  line-height: 1.2;
  max-width: 120px;
  margin-top: 0.5rem;
  word-wrap: break-word;
}

/* Hover effects */
.partner-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  transform: translateY(-2px);
}

.partner-card:hover img {
  transform: scale(1.05); /* Subtle zoom effect */
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .partner-card {
    height: 130px;
  }
  
  .partner-name {
    font-size: 0.8rem;
    max-width: 100px;
  }
}

.partner-card:hover img {
  transform: scale(1.1);
  filter: brightness(1.05);
}

.partner-card img {
  max-height: 60px;
  width: auto;
  transition: transform 0.3s ease, filter 0.3s ease;
  object-fit: contain;
}

/* Swiper Slide */
.partner-swiper .swiper-slide {
  width: auto;
  height: auto;
  padding: 0.5rem;
}

/* Navigation Buttons */
.swiper-button-prev.custom-nav,
.swiper-button-next.custom-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: white;
  border: 1px solid #dee2e6;
  color: #0d6efd;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.swiper-button-prev.custom-nav {
  left: 10px;
}

.swiper-button-next.custom-nav {
  right: 10px;
}

.swiper-button-prev.custom-nav:hover,
.swiper-button-next.custom-nav:hover {
  background-color: #0d6efd;
  color: white;
  border-color: #0d6efd;
}

.swiper-button-prev.custom-nav::after,
.swiper-button-next.custom-nav::after {
  font-size: 1rem;
  font-weight: bold;
}

/* Pagination */
.swiper-pagination {
  position: relative;
  bottom: 0;
  margin-top: 2rem;
  text-align: center;
}

.swiper-pagination-bullet {
  background-color: #dee2e6;
  opacity: 1;
  width: 10px;
  height: 10px;
  margin: 0 5px;
  transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
  background-color: #0d6efd;
  transform: scale(1.2);
}

/* Accessibility */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .swiper-container-wrapper {
    padding: 0 40px;
  }
  
  .swiper-button-prev.custom-nav,
  .swiper-button-next.custom-nav {
    width: 36px;
    height: 36px;
  }
}

@media (max-width: 576px) {
  .swiper-container-wrapper {
    padding: 0 30px;
  }
  
  .partner-card {
    height: 100px;
    padding: 0.75rem;
  }
  
  .partner-card img {
    max-height: 50px;
  }
}
