/* CSS Variables */
:root {
    --primary-color: #3729C1;
    --secondary-color: #2F3FAE;
    --accent-color: #6C63FF;
    --text-dark: #333333;
    --text-light: #666666;
    --background-light: #E8F4F8;
    --background-light-blue: #E3F2FD;
    --background-card: #F0F8FF;
    --white: #FFFFFF;
    --light-blue: #E3F2FD;
    --light-blue-alt: #BBDEFB;
    --gradient: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

* {
    scroll-behavior: smooth;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    /* Background image with gradient overlay.
       Place your image at `assets/images/background.jpg` (relative path from this file: ../images/background.jpg). */
    background: linear-gradient(rgba(227,242,253,0.65), rgba(232,244,248,0.65)), url("../images/background.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    padding-top: 80px;
    overflow-x: hidden;
}

/* Layout: make body a column flex container and let main grow to fill viewport
   This enables sections to spread evenly using `justify-content: space-between`. */
html, body {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.site-main {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 4rem; /* space between sections */
    width: 100%;
}

/* Ensure each major section does not collapse and keeps its spacing */
section {
    flex: 0 0 auto;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.75rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    text-align: center;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.btn-primary {
    background: var(--gradient);
    color: var(--white);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--white);
}

.btn-light {
    background: var(--white);
    color: var(--primary-color);
}

.btn-light:hover {
    background: var(--primary-color);
    color: var(--white);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--white);
}

.btn-outline-light {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-outline-light:hover {
    background: var(--white);
    color: var(--primary-color);
}

/* Header & Navigation */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(227, 242, 253, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.header.scrolled {
    background: rgba(227, 242, 253, 0.98);
    box-shadow: 0 4px 20px rgba(55, 41, 193, 0.15);
}

.navbar {
    padding: 1rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-link {
    text-decoration: none;
    display: flex;
    align-items: center;
    margin-right: auto;
    flex: 0 0 auto;
}

.logo-image {
    height: 60px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

/* Logo wrapper: gives the logo a subtle background, padding and shadow
   so it remains visible against translucent headers and varied backgrounds. */
.logo-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    /* Remove visible background, border-radius and shadow so logo appears without a box */
    padding: 0;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
}

.logo-link .logo-image {
    display: block;
    height: 60px;
    width: auto;
    max-width: 220px;
}

.logo-image:hover {
    transform: scale(1.05);
}

/* Fallback for text logo if image doesn't load */
.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-main {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.logo-sub {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-light);
    letter-spacing: 1px;
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 2rem;
    margin-left: auto;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1001;
}

.hamburger.active .bar:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    padding: 150px 0 100px;
    background: var(--gradient);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

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

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

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

.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image {
    gap: 1rem;
}

/* Limit size when two images are shown side-by-side */
.hero-image .hero-main-image {
    max-width: 420px;
}

@media (max-width: 900px) {
    .hero-image {
        flex-direction: column;
    }
    .hero-image .hero-main-image {
        max-width: 80%;
    }
}

.hero-main-image {
    width: 100%;
    max-width: 500px;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.2));
    animation: float 6s ease-in-out infinite;
}

.hero-graphic {
    position: relative;
    width: 300px;
    height: 300px;
}

.graphic-circle {
    position: absolute;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.3);
    animation: float 6s ease-in-out infinite;
}

.graphic-circle:nth-child(1) {
    width: 200px;
    height: 200px;
    top: 50px;
    left: 50px;
    animation-delay: 0s;
}

.graphic-circle:nth-child(2) {
    width: 150px;
    height: 150px;
    top: 75px;
    left: 75px;
    animation-delay: 2s;
}

.graphic-circle:nth-child(3) {
    width: 100px;
    height: 100px;
    top: 100px;
    left: 100px;
    animation-delay: 4s;
}

/* Ensure service images are centered when using object-fit:cover */
.service-image {
    object-position: center;
}
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* Services Overview */
.services-overview {
    padding: 100px 0;
    background: var(--background-light);
}

/* Scoped video background for the services section only */


.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--text-light);
}

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

.service-card {
    background: var(--background-card);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(187, 222, 251, 0.5);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards;
}

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

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.service-icon i {
    font-size: 2rem;
    color: var(--white);
}

.service-card h3 {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.service-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.service-link:hover {
    color: var(--secondary-color);
}

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

/* About Preview */
.about-preview {
    padding: 100px 0;
}

.about-content {
    padding: 80px 0;
}

.about-content .about-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.about-text h2 {
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.features-list {
    margin: 2rem 0;
}

.feature {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.feature i {
    color: var(--primary-color);
    margin-right: 1rem;
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.stat {
    text-align: center;
    padding: 2rem;
    background: var(--background-light);
    border-radius: 15px;
}

.stat h3 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

/* Testimonials */
.testimonials {
    padding: 100px 0;
    background: var(--background-light);
}

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

.testimonial-card {
    background: var(--background-card);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(187, 222, 251, 0.5);
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

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

.testimonial-text {
    font-style: italic;
    margin-bottom: 2rem;
    color: var(--text-light);
}

.testimonial-author h4 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.testimonial-author p {
    color: var(--text-light);
    margin-bottom: 0;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: var(--gradient);
    color: var(--white);
    text-align: center;
}

.cta-content h2 {
    color: var(--white);
    margin-bottom: 1rem;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    font-size: 1.2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Footer */
.footer {
    background: #1a1a1a;
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3,
.footer-section h4 {
    color: var(--white);
    margin-bottom: 1.5rem;
}

.footer-section p {
    color: #ccc;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--white);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: background 0.3s ease;
}

.social-links a:hover {
    background: var(--primary-color);
}

.contact-info p {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.contact-info i {
    margin-right: 1rem;
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #333;
    color: #ccc;
}

/* WhatsApp floating button */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    background: #25D366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
    z-index: 2000;
    text-decoration: none;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.whatsapp-float:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(0,0,0,0.25);
}

@media (max-width: 480px) {
    .whatsapp-float {
        bottom: 16px;
        right: 16px;
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
}

/* WhatsApp balloon bursts (attention-grabber) */
.whatsapp-balloons {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 0;
    height: 0;
    pointer-events: none;
    z-index: 1999;
}

@media (max-width: 480px) {
    .whatsapp-balloons {
        bottom: 16px;
        right: 16px;
    }
}

.wa-balloon {
    position: absolute;
    bottom: 34px;
    border-radius: 50%;
    opacity: 0.95;
    transform: translateY(0) scale(1);
    will-change: transform, opacity;
    animation-name: waFloatUp;
    animation-timing-function: cubic-bezier(.22,.9,.33,1);
    animation-fill-mode: forwards;
}

@keyframes waFloatUp {
    0% {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
    60% {
        opacity: 1;
    }
    100% {
        transform: translateY(-220px) scale(0.9);
        opacity: 0;
    }
}

/* Page Header */
.page-header {
    padding: 120px 0 60px;
    background: var(--gradient);
    color: var(--white);
    text-align: center;
    margin-top: 0;
}

.page-header h1 {
    color: var(--white);
    margin-bottom: 1rem;
}

.page-header p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
}

/* Services Detail */
.services-detail {
    padding: 80px 0;
}

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

.service-detail-card {
    background: var(--background-card);
    padding: 0;
    border-radius: 15px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(187, 222, 251, 0.5);
    transition: transform 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
    overflow: hidden;
}

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

.service-image-wrapper {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: var(--background-light-blue);
}

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

.service-detail-card:hover .service-image {
    transform: scale(1.1);
}

.service-detail-card .service-header {
    padding: 1.5rem 2rem 0;
}

.service-detail-card .service-description {
    padding: 0 2rem;
}

.service-detail-card .service-features {
    padding: 0 2rem;
}

.service-detail-card .service-actions {
    padding: 0 2rem 2rem;
}

.service-detail-card:hover {
    transform: translateY(-5px);
}

.service-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.service-header .service-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
}

.service-header .service-icon i {
    font-size: 1.5rem;
    color: var(--white);
}

.service-header h3 {
    margin-bottom: 0;
    color: var(--text-dark);
}

.service-description {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.service-features {
    list-style: none;
    margin-bottom: 2rem;
}

.service-features li {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

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

.service-actions {
    text-align: center;
}

/* Forms */
.form-container {
    max-width: 600px;
    margin: 0 auto;
    background: var(--background-card);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(187, 222, 251, 0.5);
}

.form-group {
    margin-bottom: 1.5rem;
}

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

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .logo-image {
        height: 45px;
        max-width: 150px;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--background-light-blue);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow);
        padding: 2rem 0;
        backdrop-filter: blur(10px);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
}

/* About Page Styles */
.about-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.about-image {
    width: 100%;
    height: auto;
}

.about-company-image {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
    transition: transform 0.3s ease;
}

.about-company-image:hover {
    transform: scale(1.05);
}

.about-image .image-placeholder {
    background: var(--gradient);
    height: 400px;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 3rem;
}

.about-image .image-placeholder p {
    color: var(--white);
    margin-top: 1rem;
    font-size: 1rem;
}

.mission-vision {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 3rem 0;
}

.mv-card {
    background: var(--background-light);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
}

.mv-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.mv-icon i {
    font-size: 2rem;
    color: var(--white);
}

.mv-card h3 {
    margin-bottom: 1rem;
}

.values-section {
    padding: 80px 0;
    background: var(--background-light);
}

.values-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
    align-items: stretch;
}

.value-card {
    background: var(--background-card);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow);
    border: 1px solid rgba(187, 222, 251, 0.5);
    transition: transform 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
    flex: 1 1 300px;
    max-width: 340px;
}

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

.value-card:hover {
    transform: translateY(-5px);
}

@media (max-width: 700px) {
    .values-grid {
        gap: 1rem;
    }
    .value-card {
        flex-basis: 100%;
        max-width: 100%;
    }
}

.value-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.value-icon i {
    font-size: 1.5rem;
    color: var(--white);
}

.team-section {
    padding: 80px 0;
    background: var(--background-light);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
    align-items: start;
}

.team-card {
    background: var(--background-card);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow);
    border: 1px solid rgba(187, 222, 251, 0.5);
    transition: transform 0.3s ease;
}

.team-image {
    width: 120px;
    height: 120px;
    background: var(--background-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 3rem;
    color: var(--text-light);
}

@media (max-width: 900px) {
    .team-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .team-grid {
        grid-template-columns: 1fr;
    }
}
/* Team photo: make any image inside .team-image fill, crop and remain circular */

.team-image {
    overflow: hidden;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 50%;
}

.team-role {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.achievements-section {
    padding: 80px 0;
}

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

.achievement-card {
    background: var(--background-card);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow);
    border: 1px solid rgba(187, 222, 251, 0.5);
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.6s ease;
}

.achievement-card.visible {
    opacity: 1;
    transform: scale(1);
}

.achievement-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

/* Projects Page Styles */
.projects-section {
    padding: 80px 0;
}

.clients-section {
    padding: 80px 0;
    background: var(--background-light);
}

.projects-filter {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 20px;
    background: var(--background-card);
    border: 2px solid rgba(187, 222, 251, 0.8);
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

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

.project-card {
    background: var(--background-card);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid rgba(187, 222, 251, 0.5);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
}

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

.project-card:hover {
    transform: translateY(-5px);
}

.project-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
    background: var(--background-light-blue);
    display: flex;
    align-items: center;
    justify-content: center;
}

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

/* Responsive video for project cards (autoplaying/looping) */
.project-image .project-video,
.project-image video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

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

.project-image .image-placeholder {
    height: 200px;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 3rem;
}

.project-content {
    padding: 2rem;
}

.project-category {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
    display: inline-block;
    background: rgba(55, 41, 193, 0.1);
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 0.9rem;
}

.project-description {
    margin-bottom: 1.5rem;
}

.project-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.feature {
    background: var(--background-light);
    padding: 5px 10px;
    border-radius: 10px;
    font-size: 0.9rem;
    color: var(--text-light);
}

.project-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: var(--text-light);
}

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

.client-spacer {
    grid-column: span 2;
    display: none;
}

@media (min-width: 768px) {
    .client-spacer {
        display: block;
    }
}

.client-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    background: var(--background-card);
    border-radius: 10px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(187, 222, 251, 0.5);
    transition: all 0.3s ease;
    height: 120px;
}

.victoria-bank-logo {
    margin-right: 4rem;
}

.xylem-logo {
    margin-left: 4rem;
}

@media (max-width: 768px) {
    .victoria-bank-logo,
    .xylem-logo {
        margin-left: 0;
        margin-right: 0;
    }
}

.client-logo:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.client-logo-image {
    max-width: 100%;
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: none;
    opacity: 1;
    transition: all 0.3s ease;
}

.client-logo:hover .client-logo-image {
    /* keep same appearance on hover (no grayscale change) */
    filter: none;
    opacity: 1;
}

.client-logo .logo-placeholder {
    background: var(--background-card);
    height: 100px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: var(--text-dark);
    box-shadow: var(--shadow);
    border: 1px solid rgba(187, 222, 251, 0.5);
    transition: transform 0.3s ease;
}

.client-logo .logo-placeholder:hover {
    transform: translateY(-5px);
}

/* Contact Page Styles */
.contact-section {
    padding: 80px 0;
}

.contact-info {
    margin-bottom: 2rem;
}

.contact-info h2 {
    margin-bottom: 1rem;
}

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

.contact-methods {
    margin: 2rem 0;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.method-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
}

.method-icon i {
    color: var(--white);
    font-size: 1.2rem;
}

.method-details h3 {
    margin-bottom: 0.5rem;
}

.method-details p {
    margin-bottom: 0.3rem;
}

.social-contact {
    margin-top: 2rem;
}

.contact-form-container {
    background: var(--background-card);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(187, 222, 251, 0.5);
}

.form-header {
    text-align: center;
    margin-bottom: 2rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.btn-full {
    width: 100%;
}

.alert {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.map-section {
    padding: 80px 0;
    background: var(--background-light);
}

.map-placeholder {
    background: var(--background-card);
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
    box-shadow: var(--shadow);
    border: 1px solid rgba(187, 222, 251, 0.5);
}

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

.map-content i {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.map-address {
    margin-top: 2rem;
    text-align: left;
}

.map-address p {
    margin-bottom: 0.5rem;
}

.map-container iframe {
    width: 100%;
    height: 450px;
    border: 0;
    border-radius: 12px;
    display: block;
}

@media (max-width: 800px) {
    .map-container iframe {
        height: 320px;
    }
}

/* Quote Page Styles */
.quote-section {
    padding: 80px 0;
}

/* Hero image rotation animation for index page */
.hero-main-image {
    display: block;
    margin: 0 auto;
    transform-origin: 50% 50%;
    animation: hero-swing 3.5s ease-in-out infinite;
}

@keyframes hero-swing {
    0% { transform: rotate(0deg); }
    25% { transform: rotate(-18deg); }
    50% { transform: rotate(0deg); }
    75% { transform: rotate(18deg); }
    100% { transform: rotate(0deg); }
}

/* Respect user motion preferences */
@media (prefers-reduced-motion: reduce) {
    .hero-main-image {
        animation: none;
    }
}

.quote-info h2 {
    margin-bottom: 1rem;
}

.quote-info p {
    margin-bottom: 2rem;
}

.quote-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.quote-features {
    margin: 2rem 0;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.feature-item i {
    color: var(--primary-color);
    margin-right: 1rem;
}

.quote-process {
    margin-top: 3rem;
}

.process-steps {
    margin-top: 2rem;
}

.process-step {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.step-number {
    width: 40px;
    height: 40px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 600;
    margin-right: 1rem;
    flex-shrink: 0;
}

.step-content h4 {
    margin-bottom: 0.5rem;
}

.quote-form-container {
    background: var(--background-card);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(187, 222, 251, 0.5);
}

.why-choose-section {
    padding: 80px 0;
    background: var(--background-light);
}

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

.reason-card {
    background: var(--background-card);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow);
    border: 1px solid rgba(187, 222, 251, 0.5);
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

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

.reason-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.reason-icon i {
    font-size: 1.5rem;
    color: var(--white);
}

/* Responsive Design */
@media (max-width: 768px) {
    .about-grid,
    .contact-grid,
    .quote-grid {
        grid-template-columns: 1fr;
    }
    
    .mission-vision,
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .projects-filter {
        flex-direction: column;
        align-items: center;
    }
    
    .filter-btn {
        width: 200px;
    }
}
