/* Base styles */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&family=Lato:wght@400;700&display=swap');

:root {
    --primary: #003366; /* Deep blue */
    --primary-dark: #002244;
    --secondary: #F5F5F5; /* Light gray */
    --accent: #E67E22; /* Energetic orange */
    --text: #1f2937;
    --text-light: #6b7280;
    --white: #ffffff;
    --gradient: linear-gradient(to right, #003366, #004080);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 4rem;
    max-width: 100vw;
    overflow-x: hidden;
}

body {
    font-family: 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text);
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    background: var(--accent);
    color: var(--white);
    text-decoration: none;
    border-radius: 0.375rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: #d35400;
    transform: translateY(-1px);
}

.btn-primary i {
    margin-left: 0.5rem;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    background: var(--secondary);
    color: var(--text);
    text-decoration: none;
    border-radius: 0.375rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: #d1d5db;
    transform: translateY(-1px);
}

/* Navbar */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 1rem 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

#navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--text);
}

.logo i {
    color: var(--primary);
    margin-right: 0.5rem;
}

.logo .tagline {
    font-size: 0.9rem;
    font-weight: normal;
    color: var(--text-light);
    margin-left: 1rem;
    padding-left: 1rem;
    border-left: 2px solid var(--secondary);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    position: relative;
    padding: 0.5rem 1.5rem;
    border-radius: 1.5rem;
    transition: background 0.3s, color 0.3s;
    color: var(--primary);
    text-decoration: none;
}

.nav-links a:hover,
.nav-links a.active {
    background: #f4f4f6;
    color: #003366;
    box-shadow: 0 2px 8px rgba(0,51,102,0.06);
}

body.dark .nav-links a:hover,
body.dark .nav-links a.active {
    background: #23272b;
    color: #fff;
}

.menu-btn {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    padding: 120px 0 80px;
    overflow: hidden;
    background: #f8f9fa;
}

.animated-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, #003366, #E67E22, #003366);
    background-size: 200% 200%;
    animation: gradientBG 15s ease infinite;
    opacity: 0.05;
    z-index: 0;
}

@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.parallax-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(45deg, #003366, #E67E22);
    opacity: 0.1;
}

.shape1 {
    width: 300px;
    height: 300px;
    top: -150px;
    right: -150px;
}

.shape2 {
    width: 200px;
    height: 200px;
    bottom: -100px;
    left: -100px;
}

.shape3 {
    width: 150px;
    height: 150px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.hero .container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    max-width: 600px;
    margin-top: 2.5rem;
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: #003366;
}

.hero h1 .line {
    display: block;
    opacity: 0;
    transform: translateY(20px);
}

.hero h1 .gradient-text {
    background: linear-gradient(45deg, #003366, #E67E22);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 800;
}

.hero p {
    font-size: 1.25rem;
    line-height: 1.6;
    color: #4a5568;
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(20px);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    opacity: 0;
    transform: translateY(20px);
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: linear-gradient(45deg, #003366, #E67E22);
    color: white;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #E67E22, #003366);
    z-index: 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-primary:hover::before {
    opacity: 0.3;
}

.btn-primary span, .btn-primary i {
    position: relative;
    z-index: 1;
}

.btn-primary i {
    transition: transform 0.3s ease;
}

.btn-primary:hover i {
    transform: translateX(5px);
}

.btn-secondary {
    padding: 1rem 2rem;
    background: white;
    color: #003366;
    border: 2px solid #003366;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: #003366;
    color: white;
}

.hero-image {
    position: relative;
}

.image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 400px;
}

.parallax-image {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    transform: perspective(1000px) rotateY(-5deg);
    transition: transform 0.3s ease;
}

.floating-card {
    position: absolute;
    min-width: 180px;
    max-width: 240px;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(6px);
    box-shadow: 0 8px 32px 0 rgba(0,51,102,0.10), 0 2px 16px rgba(230,103,34,0.08);
    border: 1.5px solid rgba(230,103,34,0.10);
    border-radius: 18px;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-weight: 600;
    color: #003366;
    transition: box-shadow 0.3s, transform 0.3s, background 0.3s;
    padding: 1.1rem 1.5rem;
    z-index: 2;
    animation: floatCard 5s ease-in-out infinite alternate;
}

.floating-card:hover {
    box-shadow: 0 0 32px 8px #e67e22, 0 24px 64px 0 rgba(230,103,34,0.13);
    background: #fffbe6;
    color: #E67E22;
    transform: scale(1.08);
}

.floating-card i {
    font-size: 1.6rem;
    color: #E67E22;
}

/* Arrange cards in a gentle arc and reduce tilt/rotation */
.card1 { top: 8%; left: 10%; transform: scale(1.05) rotate(-2deg) !important; animation: floatCard1 4.2s ease-in-out infinite alternate; }
.card2 { top: 16%; right: 12%; transform: scale(1.05) rotate(2deg) !important; animation: floatCard2 4.6s ease-in-out infinite alternate; }
.card3 { bottom: 18%; left: 14%; transform: scale(1.05) rotate(-1deg) !important; animation: floatCard3 4.1s ease-in-out infinite alternate; }
.card4 { bottom: 10%; right: 16%; transform: scale(1.05) rotate(1deg) !important; animation: floatCard4 4.8s ease-in-out infinite alternate; }
.card5 { top: 50%; left: 45%; transform: scale(1.08) rotate(0deg) !important; animation: floatCard5 4.3s ease-in-out infinite alternate; }

.hero-subheadline {
    font-size: 1.7rem;
    margin-bottom: 1.5rem;
    margin-top: 0.5rem;
    background: linear-gradient(90deg, #003366 60%, #E67E22 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 700;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s 0.3s forwards;
    letter-spacing: 0.01em;
}

@keyframes floatCard1 {
    0% { transform: translateY(0) translateX(0) scale(1) rotate(7deg); }
    100% { transform: translateY(-18px) translateX(10px) scale(1.04) rotate(7deg); }
}

@keyframes floatCard2 {
    0% { transform: translateY(0) translateX(0) scale(0.97) rotate(-8deg); }
    100% { transform: translateY(-12px) translateX(-12px) scale(1.01) rotate(-8deg); }
}

@keyframes floatCard3 {
    0% { transform: translateY(0) translateX(0) scale(1.08) rotate(4deg); }
    100% { transform: translateY(-22px) translateX(8px) scale(1.13) rotate(4deg); }
}

@keyframes floatCard4 {
    0% { transform: translateY(0) translateX(0) scale(1.01) rotate(-6deg); }
    100% { transform: translateY(-16px) translateX(-10px) scale(1.07) rotate(-6deg); }
}

@keyframes floatCard5 {
    0% { transform: translateY(0) translateX(0) scale(1.15) rotate(2deg); }
    100% { transform: translateY(-14px) translateX(12px) scale(1.19) rotate(2deg); }
}

/* Services Section */
.services {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(255,255,255,0.8) 0%, rgba(255,255,255,0) 70%);
    pointer-events: none;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 4rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.service-card {
    position: relative;
    height: 100%;
    transform-style: preserve-3d;
    perspective: 1000px;
    cursor: pointer;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.card-content {
    position: relative;
    height: 100%;
    padding: 2.5rem;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 51, 102, 0.1);
    transition: all 0.3s ease;
    transform-style: preserve-3d;
}

.service-card:hover .card-content {
    transform: translateZ(20px);
    box-shadow: 0 12px 40px rgba(0, 51, 102, 0.15);
}

.icon-wrapper {
    position: relative;
    width: 64px;
    height: 64px;
    margin-bottom: 1.5rem;
    transform-style: preserve-3d;
    transition: transform 0.3s ease;
}

.service-card:hover .icon-wrapper {
    transform: translateZ(30px) scale(1.1);
}

.service-icon {
    width: 100%;
    height: 100%;
    color: #003366;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    color: #E67E22;
    filter: drop-shadow(0 4px 8px rgba(230, 126, 34, 0.2));
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #003366;
    transform: translateZ(15px);
    transition: transform 0.3s ease;
}

.service-card:hover h3 {
    transform: translateZ(25px);
}

.service-card p {
    color: #4a5568;
    margin-bottom: 2rem;
    line-height: 1.6;
    transform: translateZ(10px);
    transition: transform 0.3s ease;
}

.service-card:hover p {
    transform: translateZ(20px);
}

.service-card .btn-secondary {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.9);
    color: #003366;
    border: 1px solid rgba(0, 51, 102, 0.1);
    border-radius: 50px;
    font-weight: 500;
    transform: translateZ(15px);
    transition: all 0.3s ease;
}

.service-card:hover .btn-secondary {
    background: #003366;
    color: white;
    transform: translateZ(25px);
}

.service-card .btn-secondary i {
    transition: transform 0.3s ease;
}

.service-card:hover .btn-secondary i {
    transform: translateX(4px);
}

.service-card.visible {
    opacity: 1;
    transform: translateY(0);
}

/* About Section */
.about {
    padding: 6rem 0;
    background: var(--white);
}

.mission-card {
    background: var(--gradient);
    color: var(--white);
    padding: 3rem 2rem;
    border-radius: 1rem;
    text-align: center;
    margin-bottom: 4rem;
}

.mission-card i {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.value-card {
    background: #f9fafb;
    padding: 2rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.value-card i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

/* Contact Section */
.contact {
    padding: 6rem 0;
    background: #f9fafb;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    margin-top: 4rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--primary);
}

.contact-form {
    background: var(--white);
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* Enhanced Contact Form Styles */
.form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.375rem;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 51, 102, 0.1);
}

.form-group input:invalid,
.form-group textarea:invalid {
    border-color: #ef4444;
}

.error-message {
    display: none;
    color: #ef4444;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.form-group input:invalid + .error-message,
.form-group textarea:invalid + .error-message {
    display: block;
}

.loading-spinner {
    display: none;
    width: 20px;
    height: 20px;
    border: 2px solid var(--white);
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-right: 0.5rem;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.form-feedback {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 0.375rem;
    display: none;
}

.form-feedback.success {
    display: block;
    background-color: #dcfce7;
    color: #166534;
    border: 1px solid #86efac;
}

.form-feedback.error {
    display: block;
    background-color: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

/* reCAPTCHA styling */
.g-recaptcha {
    margin-bottom: 1rem;
}

/* Button loading state */
.btn-primary.loading .button-text {
    display: none;
}

.btn-primary.loading .loading-spinner {
    display: inline-block;
}

/* Footer */
.footer {
    background: var(--text);
    color: var(--white);
    padding: 2rem 0;
}

.footer-content {
    text-align: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.footer-logo i {
    margin-right: 0.5rem;
}

/* Animations */
[data-aos] {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

[data-aos].aos-animate {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 3rem;
    }
    
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content {
        max-width: 100%;
        margin-top: 1.2rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-image {
        margin-top: 2rem;
    }
    
    .card1 { top: 8%; left: 2%; }
    .card2 { bottom: 8%; left: 4%; }
    .card3 { top: 18%; right: 4%; }
    .card4 { bottom: 6%; right: 6%; }
    .card5 { top: 60%; right: 18%; }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .floating-card {
        padding: 0.7rem 1rem;
        font-size: 0.98rem;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        padding: 1rem;
        flex-direction: column;
        gap: 1rem;
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .menu-btn {
        display: block;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .logo .tagline {
        display: none;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .service-card {
        max-width: 100%;
    }
    
    .card-content {
        padding: 2rem;
    }
    
    .card1 { top: 4%; left: 2%; }
    .card2 { bottom: 4%; left: 2%; }
    .card3 { top: 10%; right: 2%; }
    .card4 { bottom: 2%; right: 2%; }
    .card5 { top: 70%; right: 8%; }
    .hero-content { margin-top: 0.5rem; }
    .hero-subheadline { font-size: 1.2rem; margin-bottom: 1rem; }
}

/* Testimonials Section */
.testimonials {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(255,255,255,0.8) 0%, rgba(255,255,255,0) 70%);
    pointer-events: none;
}

.testimonials-slider {
    position: relative;
    padding: 2rem 0;
    margin: 0 -1rem;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 1.5rem;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(230, 126, 34, 0.1), rgba(0, 51, 102, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.testimonial-card:hover::before {
    opacity: 1;
}

.testimonial-content {
    flex: 1;
    position: relative;
    z-index: 1;
}

.quote-icon {
    color: #E67E22;
    margin-bottom: 1.5rem;
    transform: scale(0.8);
    opacity: 0;
    animation: fadeInScale 0.5s ease forwards;
}

.quote-icon svg {
    filter: drop-shadow(0 4px 6px rgba(230, 126, 34, 0.2));
}

.testimonial-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #4a5568;
    margin-bottom: 2rem;
    position: relative;
    transform: translateY(20px);
    opacity: 0;
    animation: fadeInUp 0.5s ease forwards 0.2s;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-top: auto;
    position: relative;
    z-index: 1;
}

.author-image {
    position: relative;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    overflow: hidden;
    transform: scale(0.8);
    opacity: 0;
    animation: fadeInScale 0.5s ease forwards 0.4s;
}

.author-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 51, 102, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.image-overlay span {
    color: white;
    font-size: 0.8rem;
    font-weight: 500;
    transform: translateY(10px);
    transition: transform 0.3s ease;
}

.author-image:hover img {
    transform: scale(1.1);
}

.author-image:hover .image-overlay {
    opacity: 1;
}

.author-image:hover .image-overlay span {
    transform: translateY(0);
}

.author-info {
    flex: 1;
    transform: translateX(20px);
    opacity: 0;
    animation: fadeInRight 0.5s ease forwards 0.6s;
}

.author-info h4 {
    font-size: 1.1rem;
    color: #003366;
    margin-bottom: 0.25rem;
}

.author-info p {
    font-size: 0.9rem;
    color: #6b7280;
    margin: 0;
}

/* Swiper Navigation */
.swiper-button-next,
.swiper-button-prev {
    color: #003366;
    background: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 1.2rem;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: #003366;
    color: white;
    transform: scale(1.1);
}

.swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #003366;
    opacity: 0.3;
    transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
    opacity: 1;
    background: #E67E22;
    transform: scale(1.2);
}

/* Animations */
@keyframes fadeInScale {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fadeInRight {
    from {
        transform: translateX(20px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .testimonial-card {
        padding: 2rem;
    }
    
    .testimonial-content p {
        font-size: 1rem;
    }
    
    .author-image {
        width: 48px;
        height: 48px;
    }
    
    .swiper-button-next,
    .swiper-button-prev {
        display: none;
    }
}

/* Cookie Consent */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 1rem;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.cookie-consent.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.cookie-content p {
    margin: 0;
    color: var(--text);
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
}

@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }
}

/* Swiper Carousel Fixes for Testimonials */
.swiper {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 0;
}
.swiper-wrapper {
    width: 100%;
    display: flex;
    align-items: stretch;
}
.swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    height: auto;
    min-width: 0;
}
.testimonial-card {
    width: 100%;
    max-width: 400px;
    margin: 0 1rem;
    background: #fff;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
@media (max-width: 900px) {
    .swiper {
        padding: 1rem 0;
    }
    .testimonial-card {
        max-width: 95vw;
        margin: 0 auto;
    }
}

/* Profile Popup */
.profile-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.profile-popup.active {
    opacity: 1;
    visibility: visible;
}

.popup-content {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    max-width: 400px;
    width: 90%;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.profile-popup.active .popup-content {
    transform: scale(1);
}

.close-popup {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #6b7280;
    cursor: pointer;
    padding: 0.5rem;
    line-height: 1;
    transition: color 0.3s ease;
}

.close-popup:hover {
    color: #003366;
}

.popup-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 1.5rem;
    border: 3px solid #E67E22;
    box-shadow: 0 4px 12px rgba(230, 126, 34, 0.2);
}

.popup-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.popup-info {
    text-align: center;
}

.popup-info h3 {
    font-size: 1.5rem;
    color: #003366;
    margin-bottom: 0.5rem;
}

.popup-info p {
    color: #6b7280;
    font-size: 1rem;
}

.floating-card.hero-badge {
    top: 38%;
    left: 50%;
    transform: translateX(-50%) scale(1.18) rotate(-2deg);
    z-index: 10;
    font-size: 1.25rem;
    font-weight: 800;
    padding: 1.2rem 2.2rem;
    border: 2.5px solid;
    border-image: linear-gradient(90deg, #003366 60%, #E67E22 100%) 1;
    background: rgba(255,255,255,0.95);
    color: #003366;
    box-shadow: 0 0 32px 8px #e67e22, 0 24px 64px 0 rgba(230,103,34,0.10);
    animation: floatHeroBadge 4.5s ease-in-out infinite alternate;
}

.floating-card.hero-badge:hover {
    box-shadow: 0 0 48px 16px #E67E22, 0 32px 80px 0 rgba(230,103,34,0.18);
    background: #fffbe6;
    color: #E67E22;
    border-image: linear-gradient(90deg, #E67E22 60%, #003366 100%) 1;
}

@keyframes floatHeroBadge {
    0% { transform: translateX(-50%) scale(1.18) rotate(-2deg); }
    100% { transform: translateX(-50%) translateY(-18px) scale(1.22) rotate(2deg); }
}

.floating-card.central-badge {
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) scale(1.22) rotate(-2deg);
    z-index: 10;
    min-width: 260px;
    max-width: 340px;
    font-size: 1.25rem;
    font-weight: 700;
    background: linear-gradient(90deg, #fff 60%, #f7e6d2 100%);
    color: #003366;
    box-shadow: 0 0 32px 8px #E67E22, 0 24px 64px 0 rgba(230,103,34,0.18), 0 8px 32px rgba(0,51,102,0.18);
    border: 2.5px solid rgba(230,126,34,0.18);
    letter-spacing: 0.01em;
    animation: floatCentralBadge 5s ease-in-out infinite alternate;
}

@keyframes floatCentralBadge {
    0% { transform: translate(-50%, -50%) scale(1.22) rotate(-2deg); }
    100% { transform: translate(-50%, -56%) scale(1.26) rotate(2deg); }
}

.simple-card-title {
    display: inline-block;
    background: #fff;
    border-radius: 1.2rem;
    box-shadow: 0 2px 12px rgba(0,51,102,0.07);
    padding: 0.6rem 1.5rem;
    font-size: 1.35rem;
    font-weight: 600;
    color: #003366;
    margin-bottom: 1.2rem;
    margin-top: 0.5rem;
}

/* --- Responsive Enhancements --- */
@media (max-width: 600px) {
  .container {
    padding: 0 0.7rem;
    max-width: 100vw;
  }
  .hero {
    padding: 80px 0 40px;
    min-height: 80vh;
  }
  .hero .container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .hero h1 {
    font-size: 2rem;
  }
  .hero p {
    font-size: 1rem;
  }
  .hero-buttons {
    flex-direction: column;
    gap: 0.7rem;
  }
  .floating-card {
    position: static !important;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    margin-bottom: 1rem;
    transform: none !important;
    animation: none !important;
    left: unset !important;
    top: unset !important;
    right: unset !important;
    bottom: unset !important;
  }
  .services-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }
  .service-card, .testimonial-card, .value-card {
    padding: 1rem;
    font-size: 0.98rem;
    min-width: 0;
    max-width: 100vw;
  }
  .card-content {
    padding: 1.2rem;
  }
  .about, .contact, .testimonials, .footer {
    padding: 2.5rem 0;
  }
  .values-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }
  .footer-content {
    font-size: 0.98rem;
  }
  .nav-links {
    gap: 0.5rem;
    padding: 1rem 0;
  }
  .nav-links a {
    padding: 0.7rem 1rem;
    font-size: 1rem;
  }
  .menu-btn {
    font-size: 2rem;
  }
  .image-wrapper {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.7rem;
  }
}

@media (max-width: 900px) {
  .container {
    max-width: 98vw;
    padding: 0 1rem;
  }
  .hero h1 {
    font-size: 2.5rem;
  }
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-content {
    margin-top: 1rem;
    max-width: 100%;
  }
  .hero-buttons {
    justify-content: center;
  }
  .services-grid, .values-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .service-card, .testimonial-card, .value-card {
    max-width: 100vw;
  }
  .footer-content {
    font-size: 1rem;
  }
}

@media (min-width: 1200px) {
  .container {
    max-width: 1400px;
    padding: 0 2.5rem;
  }
  .hero h1 {
    font-size: 4.5rem;
  }
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
  }
  .values-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
  }
}