/* Modern Engineering Website Design System */

:root {
    /* Color Palette */
    --primary-blue: #0A2647;
    /* Deep Navy - Trust & Professionalism */
    --secondary-blue: #144272;
    /* Lighter Navy */
    --accent-blue: #205295;
    /* Bright Blue */
    --highlight: #2C74B3;
    /* Action Color */

    --text-dark: #1A1A1A;
    --text-light: #666666;
    --bg-light: #F9FAFB;
    --white: #FFFFFF;

    /* Gradients */
    --gradient-hero: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    --gradient-card: linear-gradient(180deg, rgba(255, 255, 255, 1) 0%, rgba(249, 250, 251, 1) 100%);

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;

    /* Typography */
    --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --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-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    line-height: 1.2;
    color: var(--primary-blue);
    font-weight: 700;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

/* Header & Nav */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    padding: 1rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-blue);
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: white;
    /* Ensure text matches footer theme */
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-link {
    font-weight: 500;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.nav-link:hover,
.nav-link.active {
    color: var(--highlight);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background-color: var(--primary-blue);
    transition: 0.3s;
}

/* Hero Section */
.hero {
    /* background: var(--gradient-hero); REMOVED in favor of slider */
    color: white;
    padding: var(--spacing-xl) 0;
    position: relative;
    overflow: hidden;
    min-height: 80vh;
    /* Ensure height for slides */
    display: flex;
    align-items: center;
}

.hero-slides {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 38, 71, 0.9) 0%, rgba(20, 66, 114, 0.8) 100%);
    z-index: 2;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
    /* Above slide and overlay */
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: var(--spacing-sm);
    color: white;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: var(--spacing-md);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background-color: var(--highlight);
    color: white;
}

.btn-primary:hover {
    background-color: var(--accent-blue);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(44, 116, 179, 0.4);
}

.btn-outline {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    margin-left: 1rem;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
}

/* Section Common */
.section {
    padding: var(--spacing-xl) 0;
}

.section-bg {
    background-color: var(--bg-light);
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-blue);
}

.section-desc {
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.1rem;
}

/* Why Choose Us */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
}

.feature-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.5);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--highlight);
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}

.feature-card:hover::before {
    transform: scaleY(1);
}

.feature-number {
    font-size: 5rem;
    font-weight: 900;
    color: rgba(44, 116, 179, 0.05);
    position: absolute;
    top: -15px;
    right: -5px;
    line-height: 1;
    transition: all 0.4s ease;
    z-index: -1;
}

.feature-card:hover .feature-number {
    transform: scale(1.2) rotate(-10deg);
    color: rgba(44, 116, 179, 0.1);
    right: 10px;
}

.feature-card h3 {
    font-size: 1.35rem;
    margin-bottom: 1rem;
    color: var(--primary-blue);
    font-weight: 700;
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Services / Capabilities */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 100%;
}

/* Services Full Grid - 4 Cards (services.html) */
.services-grid-full {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 100%;
}

.service-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    height: 100%;
    border: 2px solid rgba(44, 116, 179, 0.1);
    position: relative;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
    z-index: 1;
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 40px rgba(44, 116, 179, 0.2);
    border-color: var(--highlight);
    background: linear-gradient(135deg, rgba(255, 255, 255, 1) 0%, rgba(44, 116, 179, 0.02) 100%);
}

.service-icon {
    background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf1 100%);
    padding: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 150px;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
}

.service-icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(44, 116, 179, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 0;
}

.service-card:hover .service-icon {
    background: linear-gradient(135deg, var(--highlight) 0%, var(--accent-blue) 100%);
}

.service-card:hover .service-icon::after {
    opacity: 1;
}

.service-icon svg {
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    z-index: 1;
    stroke: var(--highlight);
}

.service-card:hover .service-icon svg {
    transform: scale(1.25) rotate(8deg);
    stroke: white;
    filter: drop-shadow(0 6px 12px rgba(44, 116, 179, 0.3));
}

.service-content {
    padding: 2rem;
    position: relative;
    z-index: 2;
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    transition: all 0.4s ease;
    color: var(--primary-blue);
    font-weight: 600;
}

.service-card:hover .service-title {
    color: var(--highlight);
    transform: translateX(4px);
}

.service-list {
    list-style: none;
    margin-top: 1.5rem;
}

.service-list li {
    padding: 0.6rem 0;
    border-bottom: 1px solid rgba(44, 116, 179, 0.08);
    font-size: 0.9rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
}

.service-list li:last-child {
    border-bottom: none;
}

.service-list li:hover {
    color: var(--highlight);
    transform: translateX(8px);
    padding-left: 4px;
    font-weight: 500;
}

.service-list li::before {
    content: "▸";
    color: var(--highlight);
    font-weight: bold;
    margin-right: 0.75rem;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.service-card:hover .service-list li::before {
    transform: scale(1.3);
}

/* Stats */
.stats-section {
    background: linear-gradient(rgba(10, 38, 71, 0.9), rgba(10, 38, 71, 0.9)), url('blog2.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    /* Parallax effect */
    color: white;
    padding: var(--spacing-xl) 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--highlight);
    margin-bottom: 0.5rem;
}

.stat-label {
    opacity: 0.8;
    font-size: 1.1rem;
}

/* Projects */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.project-card {
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-md);
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 2px solid rgba(44, 116, 179, 0.1);
}

.project-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 40px rgba(44, 116, 179, 0.2);
    border-color: var(--highlight);
}

.project-image-wrapper {
    height: 250px;
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
}

.project-image {
    height: 100%;
    width: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.project-card:hover .project-image {
    transform: scale(1.1) rotate(1deg);
}

.project-overlay {
    position: relative;
    background: linear-gradient(135deg, rgba(255, 255, 255, 1) 0%, rgba(44, 116, 179, 0.05) 100%);
    padding: 2rem;
    color: var(--primary-blue);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: all 0.4s ease;
}

.project-card:hover .project-overlay {
    background: linear-gradient(135deg, rgba(44, 116, 179, 0.1) 0%, rgba(44, 116, 179, 0.02) 100%);
}

.project-overlay .project-number {
    font-size: 3rem;
    font-weight: 800;
    color: rgba(44, 116, 179, 0.15);
    margin-bottom: 0.5rem;
    line-height: 1;
}

.project-title {
    font-size: 1.4rem;
    color: var(--primary-blue);
    margin-bottom: 0.8rem;
    font-weight: 600;
    transition: color 0.3s ease;
}

.project-card:hover .project-title {
    color: var(--highlight);
}

.project-desc {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.5;
    display: block;
}

.project-card:hover .project-desc {
    color: var(--primary-blue);
    font-weight: 500;
}

/* Projects List (for text-based project display) */

/* On Going Projects */
.ongoing-projects-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.ongoing-project-card {
    background: white;
    padding: 0;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    border: 2px solid rgba(44, 116, 179, 0.1);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.ongoing-project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
    z-index: 0;
}

.ongoing-project-card:hover::before {
    left: 100%;
}

.ongoing-project-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 40px rgba(44, 116, 179, 0.2);
    border-color: var(--highlight);
}

.ongoing-project-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    flex-shrink: 0;
}

.ongoing-project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.ongoing-project-card:hover .ongoing-project-image img {
    transform: scale(1.1) rotate(1deg);
}

.project-status {
    margin-bottom: 1rem;
    padding: 0 2.5rem;
    padding-top: 2rem;
}

.status-badge {
    display: inline-block;
    background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 4px 10px rgba(39, 174, 96, 0.2);
    transition: all 0.3s ease;
}

.ongoing-project-card:hover .status-badge {
    transform: scale(1.05);
    box-shadow: 0 6px 15px rgba(39, 174, 96, 0.3);
}

.project-heading {
    font-size: 1.5rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
    font-weight: 600;
    transition: color 0.3s ease;
    padding: 0 2.5rem;
}

.ongoing-project-card:hover .project-heading {
    color: var(--highlight);
}

.project-text {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    transition: color 0.3s ease;
    padding: 0 2.5rem;
}

.ongoing-project-card:hover .project-text {
    color: var(--primary-blue);
}

.project-meta {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    padding: 1.5rem 2.5rem 2.5rem;
    border-top: 2px solid rgba(44, 116, 179, 0.1);
    transition: border-color 0.3s ease;
    flex-grow: 1;
}

.ongoing-project-card:hover .project-meta {
    border-top-color: var(--highlight);
    background: rgba(44, 116, 179, 0.02);
}

.meta-item {
    color: var(--text-light);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.ongoing-project-card:hover .meta-item {
    color: var(--highlight);
    transform: translateX(4px);
}

/* CTA */
.cta-section {
    position: relative;
    padding: 6rem 0;
    background: var(--primary-blue);
    overflow: hidden;
}

.cta-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(44, 116, 179, 0.15) 0%, transparent 50%),
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 100% 100%, 40px 40px, 40px 40px;
    opacity: 0.6;
}

.cta-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 4rem;
    position: relative;
    z-index: 10;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.cta-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--highlight), var(--accent-blue));
}

.cta-content-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
}

.cta-text {
    flex: 1;
    text-align: left;
}

.cta-title {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 800;
    line-height: 1.2;
}

.cta-desc {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    max-width: 500px;
}

.cta-actions {
    display: flex;
    gap: 1.5rem;
}

.btn-glow {
    background: var(--highlight);
    color: white;
    box-shadow: 0 0 20px rgba(44, 116, 179, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-glow:hover {
    background: var(--accent-blue);
    box-shadow: 0 0 30px rgba(44, 116, 179, 0.6);
    transform: translateY(-2px);
}

.btn-outline-light {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: white;
}

.btn-outline-light:hover {
    border-color: white;
    background: rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
    .cta-content-wrapper {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .cta-text {
        text-align: center;
    }

    .cta-actions {
        justify-content: center;
        width: 100%;
    }

    .cta-card {
        padding: 2rem;
    }
}

/* Footer */
.footer {
    background: var(--primary-blue);
    color: white;
    padding: var(--spacing-xl) 0 var(--spacing-md);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-col h3 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.9rem;
}

/* Mobile Nav */
.mobile-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 250px;
    background: white;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    transform: translateX(100%);
    transition: 0.3s ease-in-out;
    z-index: 1001;
}

.mobile-nav.active {
    transform: translateX(0);
}

.mobile-nav-links {
    list-style: none;
    margin-top: 3rem;
}

.mobile-nav-links li {
    margin-bottom: 1.5rem;
}

.mobile-nav-links a {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--text-dark);
}

/* Animations */
/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.34, 1.56, 0.64, 1), transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
    will-change: opacity, transform;
}

.fade-in-up.active,
.fade-in-up.in-view,
.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        /* Hide default nav items */
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    /* Services Grid Mobile */
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    /* Services Grid Full Mobile (services.html) */
    .services-grid-full {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    /* Projects Grid Mobile */
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    /* Ongoing Projects Mobile */
    .ongoing-project-image {
        height: 200px;
    }

    /* Features Grid Mobile */
    .features-grid {
        gap: 1.5rem;
    }

    /* Button Responsive for Tablets */
    .btn-outline {
        margin-left: 0.5rem;
    }
}

/* Mobile Bottom Navigation */
.bottom-nav {
    display: none;
    /* Hidden by default on desktop */
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
    z-index: 1002;
    padding: 0.5rem 1rem;
    padding-bottom: max(0.5rem, env(safe-area-inset-bottom));
    /* Safe area for iPhone */
}

.bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--text-light);
    font-size: 0.75rem;
    font-weight: 500;
    padding: 0.5rem;
    flex: 1;
    transition: all 0.3s ease;
    border-radius: 8px;
}

.bottom-nav-item svg {
    margin-bottom: 4px;
    width: 22px;
    height: 22px;
    transition: all 0.3s ease;
}

.bottom-nav-item.active,
.bottom-nav-item:hover {
    color: var(--highlight);
    background: rgba(44, 116, 179, 0.05);
}

.bottom-nav-item.active svg {
    transform: translateY(-2px);
    stroke-width: 2.5px;
}

/* Adjustments for Mobile */
@media (max-width: 768px) {
    .bottom-nav {
        display: flex;
        /* Show on mobile */
        justify-content: space-around;
        align-items: center;
    }

    body {
        padding-bottom: 70px;
        /* Space for bottom nav */
    }
}

/* Page Hero (About Us - Redesigned) */
.about-hero {
    position: relative;
    height: 70vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    overflow: hidden;
    margin-top: -80px;
    /* Behind header */
    padding-top: 80px;
}

.about-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.about-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, var(--primary-blue) 0%, rgba(10, 38, 71, 0.9) 40%, rgba(10, 38, 71, 0) 100%);
    z-index: 2;
}

.about-hero-content {
    position: relative;
    z-index: 3;
    max-width: 650px;
    padding: 2rem 0;
    color: white;
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(44, 116, 179, 0.2);
    border: 1px solid rgba(44, 116, 179, 0.5);
    color: var(--highlight);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(5px);
}

.about-hero .hero-title {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
    .about-hero {
        min-height: 400px;
        height: auto;
    }

    .about-hero-overlay {
        background: linear-gradient(180deg, rgba(10, 38, 71, 0.9) 0%, rgba(10, 38, 71, 0.8) 100%);
    }

    .about-hero .hero-title {
        font-size: 2.5rem;
    }

    .about-hero-content {
        padding: 2rem;
        max-width: 100%;
    }

    .hero-badge {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }

    /* Service Cards Mobile */
    .service-card {
        padding: 1.5rem;
    }

    .service-icon {
        height: 120px;
        padding: 1.5rem;
    }

    .service-icon svg {
        width: 40px;
        height: 40px;
    }

    .service-content {
        padding: 1.5rem;
    }

    .service-title {
        font-size: 1.25rem;
    }

    .service-list {
        margin-top: 1rem;
    }

    .service-list li {
        padding: 0.5rem 0;
        font-size: 0.85rem;
    }
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

.stats-row {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
}

.mini-stat {
    display: flex;
    flex-direction: column;
}

.mini-stat-num {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--highlight);
}

.mini-stat-label {
    font-size: 0.9rem;
    color: var(--text-light);
}

@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Team Grid - Responsive */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

@media (max-width: 1200px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Team Cards (Enhanced) */
.team-card {
    position: relative;
    background: transparent;
    border-radius: 12px;
    z-index: 1;
}

.team-card-inner {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    height: 100%;
    position: relative;
    z-index: 2;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: var(--shadow-sm);
}

/* Glowing Border Effect */
.team-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--highlight), var(--accent-blue), var(--primary-blue));
    border-radius: 14px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.team-card:hover .team-card-inner {
    transform: translateY(-8px);
}

.team-card:hover::before {
    opacity: 1;
    filter: blur(8px);
}

.team-image-wrapper {
    height: 280px;
    overflow: hidden;
    position: relative;
}

.team-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.team-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bg-light);
    color: var(--primary-blue);
    transition: transform 0.6s ease;
}

.team-placeholder svg {
    width: 120px;
    height: 120px;
    opacity: 0.8;
}

.team-card:hover .team-image,
.team-card:hover .team-placeholder {
    transform: scale(1.1);
}

/* Social Icons Overlay */
.team-social {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    display: flex;
    justify-content: center;
    gap: 1rem;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.team-card:hover .team-social {
    transform: translateY(0);
}

.team-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-blue);
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.3s ease;
}

.team-social a:hover {
    background: var(--highlight);
    color: white;
    transform: translateY(-3px) !important;
}

.team-card:hover .team-social a {
    transform: translateY(0);
    opacity: 1;
}

.team-card:hover .team-social a:nth-child(1) {
    transition-delay: 0.1s;
}

.team-card:hover .team-social a:nth-child(2) {
    transition-delay: 0.2s;
}

.team-card:hover .team-social a:nth-child(3) {
    transition-delay: 0.3s;
}

.team-info {
    padding: 1.5rem;
    text-align: center;
}

.team-name {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
    color: var(--primary-blue);
}

.team-role {
    display: block;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(0, 0, 0, 0.05);
    text-align: center;
    position: relative;
    overflow: hidden;
    height: 100%;
    z-index: 1;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--highlight), var(--accent-blue));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.value-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.value-card:hover::before {
    transform: scaleX(1);
}

.value-icon-wrapper {
    width: 64px;
    height: 64px;
    background: rgba(44, 116, 179, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--highlight);
    transition: all 0.4s ease;
    position: relative;
}

.value-icon-wrapper svg {
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.value-card:hover .value-icon-wrapper {
    background: var(--highlight);
    color: white;
    transform: rotate(10deg);
}

.value-card:hover .value-icon-wrapper svg {
    transform: scale(1.2);
}

.value-card h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.value-desc {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Contact Page Styles */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

@media (max-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

.contact-form-wrapper {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

@media (max-width: 768px) {
    .contact-form-wrapper {
        padding: 2rem;
    }
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--primary-blue);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--highlight);
    box-shadow: 0 0 0 3px rgba(44, 116, 179, 0.1);
}

.form-group input.error,
.form-group textarea.error {
    border-color: #e74c3c;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
}

.error-message {
    display: block;
    font-size: 0.875rem;
    color: #e74c3c;
    margin-top: 0.3rem;
    min-height: 1.2rem;
}

.form-message {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    font-weight: 500;
    text-align: center;
    animation: slideInDown 0.3s ease;
}

.form-message.success {
    background: rgba(39, 174, 96, 0.1);
    color: #27ae60;
    border: 1px solid #27ae60;
}

.form-message.error {
    background: rgba(231, 76, 60, 0.1);
    color: #e74c3c;
    border: 1px solid #e74c3c;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: rgba(44, 116, 179, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
    color: var(--highlight);
}

.contact-info-wrapper {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.contact-details {
    margin-bottom: 2rem;
}


.map-container {
    width: 100%;
    height: 300px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    flex-grow: 1;
    min-height: 250px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
}

@media (max-width: 768px) {
    .map-container {
        height: 250px;
        min-height: 250px;
    }
}

/* Values Section (Redesigned) */
.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
    margin-top: 2rem;
    width: 100%;
}

.value-card {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.04);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 2px solid rgba(44, 116, 179, 0.1);
    text-align: center;
    position: relative;
    overflow: hidden;
    height: 100%;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}


.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--highlight), var(--accent-blue));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.value-card:hover {
    transform: translateY(-15px) scale(1.05) rotateZ(1deg);
    box-shadow: 0 20px 50px rgba(44, 116, 179, 0.3);
    border-color: var(--highlight);
    background: linear-gradient(135deg, rgba(255, 255, 255, 1) 0%, rgba(44, 116, 179, 0.05) 100%);
}

.value-card:hover::before {
    transform: scaleX(1);
}

.value-icon-wrapper {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(44, 116, 179, 0.1) 0%, rgba(32, 82, 149, 0.05) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--highlight);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    border: 2px solid rgba(44, 116, 179, 0.2);
}

.value-icon-wrapper svg {
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    width: 45px;
    height: 45px;
}

.value-card:hover .value-icon-wrapper {
    background: linear-gradient(135deg, var(--highlight) 0%, var(--accent-blue) 100%);
    color: white;
    transform: rotate(360deg) scale(1.15);
    box-shadow: 0 10px 30px rgba(44, 116, 179, 0.4);
    border-color: var(--highlight);
}

.value-card:hover .value-icon-wrapper svg {
    transform: scale(1.2);
}

.value-card h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
    color: var(--primary-blue);
    font-weight: 700;
    transition: color 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.value-card:hover h3 {
    color: var(--highlight);
}

.value-desc {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    transition: color 0.5s ease;
}

.value-card:hover .value-desc {
    color: var(--primary-blue);
}

/* Email Link Styling */
.footer-links a.email-link {
    color: inherit;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.footer-links a.email-link:hover {
    opacity: 0.8;
}

/* ===== PROFESSIONAL ANIMATIONS & EFFECTS ===== */

/* Keyframe Animations */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes glow {

    0%,
    100% {
        box-shadow: 0 0 10px rgba(44, 116, 179, 0.3);
    }

    50% {
        box-shadow: 0 0 20px rgba(44, 116, 179, 0.6);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }

    100% {
        background-position: 1000px 0;
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }
}

/* Removed conflicting fade-in-up animation */

/* Link & Button Hover Effects */
a {
    position: relative;
}

a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--highlight);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

a:hover::after {
    width: 100%;
}

/* Button Enhancements */
.btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateZ(0);
    backface-visibility: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
    z-index: 1;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(44, 116, 179, 0.3);
}

.btn:active {
    transform: translateY(-1px);
}

/* Card Hover Effects */
.feature-card,
.service-card,
.project-card,
.team-card,
.value-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateZ(0);
}

.feature-card:hover,
.service-card:hover,
.value-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-hover);
}

.project-card:hover,
.team-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

/* Navigation Link Effects */
.nav-link {
    position: relative;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--highlight);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover::before,
.nav-link.active::before {
    width: 100%;
}

/* Image Hover Effects */
img {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-image,
.team-image,
.about-image img {
    transition: transform 0.4s ease, filter 0.4s ease;
}

.project-card:hover .project-image,
.team-card:hover .team-image {
    transform: scale(1.05);
    filter: brightness(1.1);
}

/* Form Input Effects */
input,
textarea {
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

input:focus,
textarea:focus {
    transform: scale(1.02);
    box-shadow: 0 0 0 3px rgba(44, 116, 179, 0.1);
    border-color: var(--highlight);
}

/* Stat Counter Animation */
.stat-number {
    animation: slideInUp 0.8s ease-out;
}

/* Section Header Effects */
.section-header {
    animation: slideInUp 0.6s ease-out;
}

.section-title {
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--highlight), transparent);
    animation: slideInRight 0.8s ease-out forwards;
    animation-delay: 0.3s;
}

/* Hero Content Animation */
.hero-content {
    animation: slideInUp 0.8s ease-out;
}

.hero-title {
    animation: slideInUp 0.8s ease-out 0.1s backwards;
}

.hero-subtitle {
    animation: slideInUp 0.8s ease-out 0.2s backwards;
}

/* Mobile Bottom Nav Effects */
.bottom-nav-item {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.bottom-nav-item:hover {
    transform: scale(1.1) translateY(-5px);
    color: var(--highlight);
}

.bottom-nav-item.active {
    color: var(--highlight);
}

.bottom-nav-item.active::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 3px;
    background: var(--highlight);
    border-radius: 2px;
    animation: slideInDown 0.4s ease-out;
}

/* Footer Link Effects */
.footer-links a {
    transition: all 0.3s ease;
    position: relative;
}

.footer-links a:hover {
    color: var(--highlight);
    transform: translateX(5px);
}

/* Social Icons Animation */
.footer-col svg,
.team-social svg {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-col a:hover svg,
.team-social a:hover svg {
    transform: scale(1.2) rotate(10deg);
    filter: drop-shadow(0 0 8px var(--highlight));
}

/* Smooth Page Transitions */
html {
    scroll-behavior: smooth;
}

/* Loading Animation */
@keyframes loading {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Gradient Text Effect */
.gradient-text {
    background: linear-gradient(135deg, var(--primary-blue), var(--highlight));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Smooth Transitions for all elements */
* {
    transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

/* Prevent animation on page load for better performance */
.preload * {
    animation-duration: 0s !important;
}

/* ===== PREMIUM WEBSITE EFFECTS ===== */

/* Luxury Blur & Glassmorphism Effect */
.premium-glass {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

/* Enhanced Header with Glass Effect */
.header {
    transition: all 0.5s cubic-bezier(0.23, 1, 0.320, 1);
}

.header:hover {
    box-shadow: 0 10px 40px rgba(44, 116, 179, 0.15);
}

/* Premium Card Styles */
.premium-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: linear-gradient(135deg, #ffffff 0%, #f9fafb 100%);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.premium-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.premium-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 60px rgba(44, 116, 179, 0.25);
}

.premium-card:hover::before {
    left: 100%;
}

/* Luxury Typography */
.premium-title {
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: -2px;
    background: linear-gradient(135deg, #0A2647 0%, #2C74B3 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: slideInUp 0.8s ease-out;
}

/* Parallax Effect */
.parallax-section {
    position: relative;
    overflow: hidden;
}

.parallax-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: inherit;
    transform: translateZ(-1px) scale(1.02);
    z-index: -1;
}

/* Advanced Border Animation */
.border-animate {
    position: relative;
    border-radius: 12px;
    border: 2px solid transparent;
    background-image: linear-gradient(#fff, #fff), linear-gradient(90deg, #0A2647, #2C74B3);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    transition: all 0.3s ease;
}

.border-animate:hover {
    box-shadow: 0 0 20px rgba(44, 116, 179, 0.3);
}

/* Staggered Animation for List Items */
.staggered-list li {
    animation: slideInLeft 0.6s ease-out backwards;
}

.staggered-list li:nth-child(1) {
    animation-delay: 0.1s;
}

.staggered-list li:nth-child(2) {
    animation-delay: 0.2s;
}

.staggered-list li:nth-child(3) {
    animation-delay: 0.3s;
}

.staggered-list li:nth-child(4) {
    animation-delay: 0.4s;
}

.staggered-list li:nth-child(5) {
    animation-delay: 0.5s;
}

/* Luxury Button Styles */
.btn-luxury {
    position: relative;
    padding: 14px 32px;
    font-weight: 600;
    letter-spacing: 0.5px;
    overflow: hidden;
    border-radius: 8px;
    background: linear-gradient(135deg, #0A2647 0%, #2C74B3 100%);
    color: white;
    border: none;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.btn-luxury::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
    z-index: 1;
}

.btn-luxury:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 45px rgba(44, 116, 179, 0.4);
}

.btn-luxury:hover::after {
    left: 100%;
}

/* Advanced Hover Glow Effect */
.glow-effect {
    position: relative;
    transition: all 0.3s ease;
}

.glow-effect::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #0A2647, #2C74B3, #0A2647);
    border-radius: 8px;
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s ease;
    animation: rotate 3s linear infinite;
}

.glow-effect:hover::after {
    opacity: 0.3;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Premium Section Dividers */
.premium-divider {
    height: 2px;
    background: linear-gradient(90deg, transparent, #2C74B3, transparent);
    margin: 3rem 0;
    animation: slideInRight 1s ease-out;
}

/* Smooth Text Reveal Animation */
.text-reveal {
    position: relative;
    overflow: hidden;
}

.text-reveal::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    animation: slideInRight 0.8s ease-out;
}

/* Luxury Grid Layout */
.premium-grid {
    display: grid;
    gap: 2rem;
    animation: scaleIn 0.6s ease-out;
}

.premium-grid>* {
    animation: slideInUp 0.6s ease-out backwards;
}

.premium-grid>*:nth-child(1) {
    animation-delay: 0.1s;
}

.premium-grid>*:nth-child(2) {
    animation-delay: 0.2s;
}

.premium-grid>*:nth-child(3) {
    animation-delay: 0.3s;
}

.premium-grid>*:nth-child(4) {
    animation-delay: 0.4s;
}

/* Smooth Page Transition */
@keyframes pageIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

body {
    animation: pageIn 0.6s ease-out;
}

/* Advanced Link Hover with Underline Animation */
.premium-link {
    position: relative;
    text-decoration: none;
    color: var(--primary-blue);
    font-weight: 600;
    letter-spacing: 0.3px;
}

.premium-link::before {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #0A2647, #2C74B3);
    transition: width 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.premium-link:hover::before {
    width: 100%;
}

/* Smooth Color Transition on Hover */
.premium-link:hover {
    color: var(--highlight);
}

/* Hero Section Enhancement */
.hero-section-premium {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-section-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(44, 116, 179, 0.1) 0%, transparent 100%);
    animation: pulse 4s ease-in-out infinite;
    z-index: 0;
}

/* Smooth Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: float 3s ease-in-out infinite;
}

/* Premium Shadow Layers */
.shadow-layer-1 {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
}

.shadow-layer-2 {
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
    transition: box-shadow 0.3s ease;
}

.shadow-layer-3 {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    transition: box-shadow 0.3s ease;
}

.shadow-layer-1:hover,
.shadow-layer-2:hover,
.shadow-layer-3:hover {
    box-shadow: 0 25px 70px rgba(44, 116, 179, 0.3);
}

/* Luxury Text Shadow */
.text-luxury {
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1), 0 4px 20px rgba(44, 116, 179, 0.1);
}

/* Feature Icon Animation */
.feature-icon {
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.feature-icon:hover {
    transform: scale(1.2) rotate(10deg);
    filter: drop-shadow(0 10px 20px rgba(44, 116, 179, 0.3));
}

/* Smooth Background Transitions */
.bg-transition {
    transition: background 0.5s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.bg-transition:hover {
    background: linear-gradient(135deg, rgba(44, 116, 179, 0.1) 0%, rgba(10, 38, 71, 0.05) 100%);
}

/* Luxury Spacing and Typography */
.premium-spacing {
    letter-spacing: 1.5px;
    word-spacing: 0.1em;
    font-weight: 600;
}

/* Floating Animation for Decorative Elements */
.float-decoration {
    animation: float 6s ease-in-out infinite;
}

.float-decoration:nth-child(2) {
    animation-delay: 1s;
}

.float-decoration:nth-child(3) {
    animation-delay: 2s;
}

/* ===== ADVANCED SCROLLING EFFECTS & TRANSITIONS ===== */

/* Smooth Scroll Behavior */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

/* Scroll Progress Indicator */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, #0A2647 0%, #2C74B3 50%, #0A2647 100%);
    width: 0%;
    z-index: 9999;
    transition: width 0.1s linear;
    box-shadow: 0 0 10px rgba(44, 116, 179, 0.5);
}

/* Fade In on Scroll Animation */
@keyframes fadeInScroll {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Slide In on Scroll - From Left */
@keyframes slideInScrollLeft {
    from {
        opacity: 0;
        transform: translateX(-60px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Slide In on Scroll - From Right */
@keyframes slideInScrollRight {
    from {
        opacity: 0;
        transform: translateX(60px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Scale In on Scroll */
@keyframes scaleInScroll {
    from {
        opacity: 0;
        transform: scale(0.85);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Rotate In on Scroll */
@keyframes rotateInScroll {
    from {
        opacity: 0;
        transform: rotate(-10deg) scale(0.9);
    }

    to {
        opacity: 1;
        transform: rotate(0) scale(1);
    }
}

/* Parallax Background Scroll Effect */
.scroll-parallax {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

.scroll-parallax::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 38, 71, 0.4);
    transition: all 0.6s ease;
}

/* Scroll Reveal Element */
.scroll-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.34, 1.56, 0.64, 1),
        transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.scroll-reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Left Scroll Reveal */
.scroll-reveal-left {
    opacity: 0;
    transform: translateX(-80px);
    transition: opacity 0.8s cubic-bezier(0.34, 1.56, 0.64, 1),
        transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.scroll-reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

/* Right Scroll Reveal */
.scroll-reveal-right {
    opacity: 0;
    transform: translateX(80px);
    transition: opacity 0.8s cubic-bezier(0.34, 1.56, 0.64, 1),
        transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.scroll-reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

/* Scale Scroll Reveal */
.scroll-reveal-scale {
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.8s cubic-bezier(0.34, 1.56, 0.64, 1),
        transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.scroll-reveal-scale.active {
    opacity: 1;
    transform: scale(1);
}

/* Rotate Scroll Reveal */
.scroll-reveal-rotate {
    opacity: 0;
    transform: rotate(-15deg) scale(0.8);
    transition: opacity 0.8s cubic-bezier(0.34, 1.56, 0.64, 1),
        transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.scroll-reveal-rotate.active {
    opacity: 1;
    transform: rotate(0) scale(1);
}

/* Staggered Scroll Reveal */
.scroll-stagger>* {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.34, 1.56, 0.64, 1),
        transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.scroll-stagger>*.active {
    opacity: 1;
    transform: translateY(0);
}

.scroll-stagger>*:nth-child(1).active {
    transition-delay: 0s;
}

.scroll-stagger>*:nth-child(2).active {
    transition-delay: 0.1s;
}

.scroll-stagger>*:nth-child(3).active {
    transition-delay: 0.2s;
}

.scroll-stagger>*:nth-child(4).active {
    transition-delay: 0.3s;
}

.scroll-stagger>*:nth-child(5).active {
    transition-delay: 0.4s;
}

.scroll-stagger>*:nth-child(6).active {
    transition-delay: 0.5s;
}

/* Blur In on Scroll */
.scroll-blur {
    opacity: 0;
    filter: blur(10px);
    transition: opacity 0.8s ease, filter 0.8s ease;
}

.scroll-blur.active {
    opacity: 1;
    filter: blur(0);
}

/* Sticky Element with Scroll Effect */
.sticky-element {
    position: sticky;
    top: 0;
    transition: all 0.3s ease;
    z-index: 100;
}

.sticky-element.scrolled {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 0.95);
}

/* Scroll Trigger Counter Animation */
.scroll-counter {
    transition: all 0.8s ease;
}

.scroll-counter.active {
    animation: slideInUp 0.8s ease-out;
}

/* Parallax Text Effect */
.parallax-text {
    position: relative;
}

.parallax-text span {
    display: inline-block;
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Progress Bar on Scroll */
.progress-bar {
    position: relative;
    height: 6px;
    background: #f0f0f0;
    border-radius: 10px;
    overflow: hidden;
}

.progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #0A2647, #2C74B3, #0A2647);
    border-radius: 10px;
    transition: width 0.2s linear;
    box-shadow: 0 0 10px rgba(44, 116, 179, 0.5);
}

/* Scroll-triggered Glow Effect */
.scroll-glow {
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.scroll-glow.active {
    box-shadow: 0 0 30px rgba(44, 116, 179, 0.4);
    border-color: rgba(44, 116, 179, 0.6);
}

/* Fade to Color on Scroll */
.scroll-color-fade {
    color: var(--text-light);
    transition: color 0.8s ease;
}

.scroll-color-fade.active {
    color: var(--highlight);
}

/* Horizontal Scroll Reveal */
.scroll-width {
    width: 0;
    transition: width 1s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.scroll-width.active {
    width: 100%;
}

/* Scroll Margin Elements */
.scroll-section {
    margin: 20vh 0;
    transition: all 0.5s ease;
}

/* Advanced Intersection Observer Styles */
.observe-fade {
    opacity: 0;
    transition: opacity 0.8s ease;
}

.observe-fade.in-view {
    opacity: 1;
}

.observe-slide {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s cubic-bezier(0.34, 1.56, 0.64, 1),
        transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.observe-slide.in-view {
    opacity: 1;
    transform: translateY(0);
}

.observe-bounce {
    opacity: 0;
    transform: translateY(30px) scale(0.9);
    transition: opacity 0.8s cubic-bezier(0.34, 1.56, 0.64, 1),
        transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.observe-bounce.in-view {
    opacity: 1;
    transform: translateY(0) scale(1);
    animation: bounce 0.6s ease;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(-10px) scale(1.05);
    }
}

/* Scroll Blur Background */
.scroll-blur-bg {
    transition: filter 0.5s ease, transform 0.5s ease;
}

.scroll-blur-bg.blurred {
    filter: blur(5px);
    transform: scale(0.98);
}

/* Reveal on Scroll with Clip Path */
.scroll-clip {
    clip-path: polygon(0 0, 0 0, 0 100%, 0% 100%);
    transition: clip-path 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.scroll-clip.active {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

/* Text Underline on Scroll */
.scroll-underline {
    position: relative;
    display: inline-block;
}

.scroll-underline::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #0A2647, #2C74B3);
    transition: width 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.scroll-underline.active::after {
    width: 100%;
}

/* Smooth Scroll Shadows */
.scroll-shadow {
    box-shadow: 0 0 0 rgba(0, 0, 0, 0);
    transition: box-shadow 0.5s ease;
}

.scroll-shadow.active {
    box-shadow: 0 10px 40px rgba(44, 116, 179, 0.3);
}

/* ===== RESPONSIVE VALUES GRID ===== */
@media (max-width: 1200px) {
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .values-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .value-card {
        padding: 2rem;
    }

    .value-icon-wrapper {
        width: 70px;
        height: 70px;
    }

    .value-icon-wrapper svg {
        width: 40px;
        height: 40px;
    }

    .value-card h3 {
        font-size: 1.1rem;
    }

    .value-desc {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.75rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    /* Single Column on Very Small Screens */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .services-grid-full {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .projects-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* Ongoing Projects Mobile Very Small */
    .ongoing-project-image {
        height: 180px;
    }

    .features-grid {
        gap: 1rem;
    }

    .values-grid {
        gap: 1rem;
    }

    .value-card {
        padding: 1.5rem;
    }

    /* Button Responsive */
    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }

    .btn-outline {
        margin-left: 0;
        margin-top: 0.5rem;
    }

    .btn-outline,
    .btn-primary {
        display: block;
        width: 100%;
        text-align: center;
        margin-bottom: 0.5rem;
    }

    /* Service Cards Extra Small Mobile */
    .service-icon {
        height: 100px;
    }

    .service-icon svg {
        width: 35px;
        height: 35px;
    }

    .service-list li::before {
        margin-right: 0.5rem;
        font-size: 1rem;
    }
}

/* =========================================
   Preloader Styles
   ========================================= */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--white);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.6s ease-out, visibility 0.6s ease-out;
}

#preloader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.preloader-icon {
    width: 100px;
    height: auto;
    animation: loaderZoomIn 2s ease-in-out forwards;
}

.preloader-text {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--highlight) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 3px;
    text-transform: uppercase;
    animation: textFadeSlide 2s ease-in-out forwards;
    opacity: 0;
    font-family: var(--font-heading);
    text-shadow: 0 4px 20px rgba(44, 116, 179, 0.3);
}



@keyframes loaderZoomIn {
    0% {
        transform: scale(0);
        opacity: 0;
        filter: drop-shadow(0 0 0 rgba(44, 116, 179, 0));
    }

    50% {
        transform: scale(1.2);
        opacity: 1;
        filter: drop-shadow(0 0 30px rgba(44, 116, 179, 0.8));
    }

    70% {
        transform: scale(1);
        opacity: 1;
        filter: drop-shadow(0 0 20px rgba(44, 116, 179, 0.6));
    }

    100% {
        transform: scale(3);
        opacity: 0;
        filter: drop-shadow(0 0 50px rgba(44, 116, 179, 0));
    }
}

@keyframes textFadeSlide {
    0% {
        transform: translateY(30px);
        opacity: 0;
        letter-spacing: 10px;
    }

    30% {
        transform: translateY(0);
        opacity: 1;
        letter-spacing: 2px;
    }

    70% {
        transform: translateY(0);
        opacity: 1;
        letter-spacing: 2px;
    }

    100% {
        transform: translateY(-30px);
        opacity: 0;
        letter-spacing: 10px;
    }
}

/* Our Expertise Section */
.expertise-section {
    position: relative;
    overflow: hidden;
    background-color: var(--bg-light);
    padding: 6rem 0;
}

.expertise-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
}

.expertise-text-content {
    flex: 1;
    max-width: 500px;
}

.expertise-title {
    font-size: 2rem;
    color: var(--primary-blue);
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 2rem;
    text-decoration: underline;
    text-underline-offset: 8px;
    text-decoration-thickness: 3px;
}

.expertise-description {
    font-size: 1.5rem;
    line-height: 1.6;
    color: #2C74B3;
    font-weight: 500;
}

.expertise-visual {
    flex: 1;
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.expertise-bubbles-wrapper {
    position: relative;
    width: 500px;
    height: 500px;
}

.exp-bubble {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    box-shadow:
        inset 0 0 20px rgba(255, 255, 255, 0.8),
        0 10px 20px rgba(0, 0, 0, 0.1),
        0 0 0 4px rgba(255, 255, 255, 0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: all 0.4s ease;
    cursor: pointer;
    overflow: hidden;
    z-index: 2;
    border: 1px solid rgba(44, 116, 179, 0.1);
}

.exp-bubble:hover {
    transform: scale(1.05);
    background: white;
    z-index: 10;
    box-shadow:
        0 15px 30px rgba(44, 116, 179, 0.2),
        0 0 0 4px var(--highlight);
    border-color: var(--highlight);
}

.bubble-text {
    font-weight: 800;
    color: var(--primary-blue);
    font-size: 0.9rem;
    line-height: 1.2;
    padding: 10px;
    text-transform: uppercase;
}

/* Specific Bubble Positions and Sizes */
.bubble-center {
    width: 180px;
    height: 180px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
}

.bubble-center .bubble-text {
    font-size: 1.1rem;
}

.bubble-1 {
    /* 3D Modelling */
    width: 140px;
    height: 140px;
    top: 5%;
    left: 5%;
}

.bubble-2 {
    /* Detail Construction Drawings */
    width: 150px;
    height: 150px;
    top: 0%;
    right: 5%;
}

.bubble-3 {
    /* Reports */
    width: 140px;
    height: 140px;
    bottom: 5%;
    left: 10%;
}

.bubble-4 {
    /* Bill of Materials */
    width: 140px;
    height: 140px;
    bottom: 0%;
    right: 10%;
}

@media (max-width: 992px) {
    .expertise-container {
        flex-direction: column;
        text-align: center;
    }

    .expertise-bubbles-wrapper {
        width: 100%;
        max-width: 350px;
        height: 350px;
        margin-top: 2rem;
    }

    .bubble-center {
        width: 140px;
        height: 140px;
    }

    .bubble-1,
    .bubble-2,
    .bubble-3,
    .bubble-4 {
        width: 110px;
        height: 110px;
    }
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    width: 90%;
    max-width: 500px;
    position: relative;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    text-align: center;
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-light);
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: var(--primary-blue);
}

.modal-header h3 {
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
    font-size: 1.75rem;
}

.modal-body p {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.modal-body strong {
    color: var(--highlight);
    font-weight: 600;
}