:root {
    --bg-color: #ffffff;
    --card-bg: #ffffff;
    --section-bg: #f8f9fa;
    --text-main: #1a1a1a;
    --text-sub: #5a5a5a;
    --accent: #008f9d;
    --accent-hover: #006c77;
    --border-color: #eaeaea;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 12px 24px rgba(0, 0, 0, 0.06);
    --font-main: 'Outfit', sans-serif;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: var(--font-main);
    line-height: 1.7;
    overflow-x: hidden;
}


/* Typography & Utilities */
h1,
h2,
h3 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-main);
    letter-spacing: -0.02rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title p {
    font-size: 1.1rem;
    color: var(--text-sub);
    max-width: 600px;
    margin: 0 auto;
}

/* Buttons */
.btn-primary {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent), var(--accent-hover));
    color: #fff !important;
    /* Force white text to override specific link styles */
    padding: 1rem 2.5rem;
    border-radius: 50px;
    /* Pill shape for cleaner modern look */
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 143, 157, 0.3);
    /* Soft distinctive shadow */
    letter-spacing: 0.5px;
    font-size: 1rem;
    position: relative;
    top: 0;
    text-transform: uppercase;
    /* Optional: makes it stand out more as a button */
    white-space: nowrap;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 143, 157, 0.4);
    background: linear-gradient(135deg, var(--accent-hover), var(--accent));
}

.btn-primary:active {
    transform: translateY(1px);
    box-shadow: 0 2px 10px rgba(0, 143, 157, 0.3);
}

.btn-secondary {
    display: inline-block;
    background-color: transparent;
    color: var(--text-main);
    padding: 0.9rem 2.2rem;
    border-radius: 6px;
    font-weight: 500;
    transition: var(--transition);
    border: 2px solid var(--border-color);
}

.btn-secondary:hover {
    border-color: var(--text-main);
    transform: translateY(-2px);
}

/* Navbar */
#navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 3rem;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 60px;
    width: auto;
    object-fit: contain;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-sub);
    font-weight: 500;
    transition: var(--transition);
    font-size: 0.95rem;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--accent);
}

.hamburger {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-main);
}

/* Hero Section */
#hero {
    min-height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 120px 0 0;
    /* Removing side padding */
    position: relative;
    background: radial-gradient(circle at top right, rgba(0, 143, 157, 0.05), transparent 40%);
    text-align: center;
}

.hero-content {
    flex: 0 0 auto;
    z-index: 2;
    padding-right: 0;
    margin-bottom: 4rem;
    max-width: 800px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-content h1 {
    font-size: 4.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-main);
}

.highlight {
    color: var(--accent);
    position: relative;
    display: inline-block;
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--text-sub);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-btns {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.hero-visual {
    flex: 0 0 auto;
    position: relative;
    width: 100%;
    /* Removed max-width to allow full screen */
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 2rem;
}

.hero-video-container {
    position: relative;
    width: 100%;
    height: auto;
    /* Removed aspect-ratio constraint to let it fill freely or enforce via video tag */
    overflow: hidden;
    box-shadow: none;
    /* No shadow needed for full width */
    border: none;
    border-radius: 0;
    /* Sharp edges for full width */
    transform: none;
    z-index: 5;
    margin: 0;
}

.hero-video-container:hover {
    transform: scale(1.02);
    z-index: 20;
}

.hero-video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Responsive adjustment for video */
@media (max-width: 768px) {
    .hero-video-container {
        width: 100%;
        max-width: 480px;
        height: 270px;
        /* 16:9 aspect ratio */
    }
}

/* Hero Image */
.hero-visual {
    flex: 1;
    position: relative;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
}

#hero-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.image-stack {
    position: relative;
    width: 100%;
    max-width: 380px;
    /* Reduced from 500px */
    z-index: 10;
    aspect-ratio: 4/5;
}

/* Replaced pseudo-elements with real images for better quality */
.stack-back-1,
.stack-back-2 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    object-fit: cover;
    box-shadow: var(--shadow-sm);
    transition: transform 0.4s ease;
    z-index: -1;
}

.stack-back-1 {
    transform: rotate(-6deg) translate(-10px, -10px);
    opacity: 0.8;
}

.stack-back-2 {
    transform: rotate(6deg) translate(10px, 10px);
    z-index: -2;
    opacity: 0.6;
}

.image-stack:hover .stack-back-1 {
    transform: rotate(-12deg) translate(-20px, -15px);
}

.image-stack:hover .stack-back-2 {
    transform: rotate(12deg) translate(20px, 15px);
}

.hero-img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    transition: transform 0.4s ease;
    display: block;
    position: relative;
    z-index: 2;
}

.image-stack:hover .hero-img {
    transform: scale(1.02) translate(5px, -5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Gallery - Grid & Clean Layout */
#gallery {
    padding: 8rem 0;
    background-color: #fff;
}

.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: transparent;
    border: none;
    color: var(--text-sub);
    padding: 0.5rem 1.5rem;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}

.filter-btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: var(--accent);
    transition: width 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    color: var(--text-main);
}

.filter-btn.active::after {
    width: 20px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 3rem;
}

.gallery-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    aspect-ratio: 1/1;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
    display: block;
}

.gallery-item:hover img {
    transform: scale(1.03);
}

.overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem;
    background: #fff;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    border-top: 1px solid var(--border-color);
}

.gallery-item:hover .overlay {
    transform: translateY(0);
}

.overlay h3 {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
    color: var(--text-main);
}

.overlay p {
    font-size: 0.9rem;
    color: var(--text-sub);
}

/* Services - Shared & Page Specific */
#services {
    padding: 8rem 0;
    background-color: var(--section-bg);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

/* Original Service Card (for services.html) */
.service-card {
    background-color: #fff;
    padding: 3rem;
    border-radius: 8px;
    transition: var(--transition);
    border: 1px solid transparent;
    box-shadow: var(--shadow-sm);
}

.service-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}

.service-card i {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 2rem;
    display: block;
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.service-card p {
    color: var(--text-sub);
    line-height: 1.8;
}

/* Home Page Service Card with Images */
.service-card-home {
    background-color: #fff;
    padding: 0;
    border-radius: 12px;
    transition: var(--transition);
    border: none;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card-home:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-8px);
}

.service-card-home h3 {
    font-size: 1.5rem;
    margin: 1.5rem 2rem 0.5rem;
    color: var(--text-main);
}

.service-card-home p {
    color: var(--text-sub);
    line-height: 1.6;
    margin: 0 2rem 2rem;
    font-size: 1rem;
}

.service-img {
    width: 100%;
    height: 220px;
    background-color: #f0f4f5;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

/* Home Page Service Card with Images */
.services-list {
    display: flex;
    flex-direction: column;
    gap: 6rem;
    padding: 2rem 0;
}

.service-item {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.service-visual {
    flex: 1;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    background-color: #f0f4f5;
    padding: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.service-visual img {
    width: 80%;
    height: auto;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.service-item:hover .service-visual img {
    transform: scale(1.05) rotate(2deg);
}

.service-content {
    flex: 1;
}

.service-content h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.service-content p {
    color: var(--text-sub);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.service-features {
    list-style: none;
    margin-top: 1.5rem;
}

.service-features li {
    font-size: 1rem;
    color: var(--text-main);
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.service-features li i {
    color: var(--accent);
    background: rgba(0, 143, 157, 0.1);
    padding: 0.4rem;
    border-radius: 50%;
    font-size: 0.8rem;
}

/* Responsive adjustments for services list */
@media (max-width: 900px) {
    .service-item {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    .service-item.reverse {
        flex-direction: column;
    }

    .service-features li {
        justify-content: center;
    }
}

/* Contact */
#contact {
    padding: 8rem 0;
    background: #fff;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 5rem;
    align-items: flex-start;
}

.contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.contact-details {
    margin-top: 2.5rem;
}

.contact-details li {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-sub);
}

.contact-details li i {
    color: var(--accent);
    font-size: 1.2rem;
}

.contact-form {
    background-color: var(--section-bg);
    padding: 3.5rem;
    border-radius: 8px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    background: #fff;
    border: 1px solid var(--border-color);
    padding: 1.2rem;
    margin-bottom: 1.5rem;
    border-radius: 4px;
    color: var(--text-main);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(0, 143, 157, 0.1);
}

/* Enhanced Footer */
.main-footer { padding: 5rem 0 2rem; background-color: #111; color: #fff; border-top: none; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1.5fr; gap: 4rem; margin-bottom: 4rem; text-align: left; }
.footer-about h3, .footer-links h3, .footer-contact h3 { color: #fff; font-size: 1.5rem; margin-bottom: 1.5rem; font-weight: 600; }
.footer-about p, .footer-contact p { color: #a0a0a0; line-height: 1.8; margin-bottom: 1.5rem; font-size: 1rem; }
.footer-socials { display: flex; gap: 1rem; }
.footer-socials a { display: inline-flex; align-items: center; justify-content: center; width: 45px; height: 45px; background-color: rgba(255, 255, 255, 0.05); color: #fff; border-radius: 50%; transition: var(--transition); font-size: 1.2rem; }
.footer-socials a:hover { background-color: var(--accent); transform: translateY(-3px); color: #fff; }
.footer-links ul { list-style: none; padding: 0; }
.footer-links ul li { margin-bottom: 1rem; }
.footer-links ul a { color: #a0a0a0; text-decoration: none; transition: var(--transition); font-weight: 500; font-size: 1rem; }
.footer-links ul a:hover { color: var(--accent); padding-left: 8px; }
.footer-bottom { text-align: center; padding-top: 2rem; border-top: 1px solid rgba(255, 255, 255, 0.1); color: #777; font-size: 0.9rem; }
.mt-3 { margin-top: 1rem; }

@media (max-width: 900px) {
    .footer-grid { grid-template-columns: 1fr; gap: 3rem; text-align: center; }
    .footer-about h3, .footer-links h3, .footer-contact h3 { margin-bottom: 1rem; }
    .footer-socials { justify-content: center; }
    .footer-links ul a:hover { padding-left: 0; color: var(--accent); }
}


/* Downloads Section */
#downloads {
    padding: 8rem 0;
    background-color: var(--section-bg);
}

.download-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.download-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.download-img {
    position: relative;
    aspect-ratio: 1/1;
    overflow: hidden;
}

.download-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.download-card:hover .download-img img {
    transform: scale(1.05);
}

.dl-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.download-card:hover .dl-overlay {
    opacity: 1;
}

.download-info {
    padding: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.download-info h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.download-info p {
    font-size: 0.95rem;
    color: var(--text-sub);
}

.dl-btn {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease 0.1s;
}

.download-card:hover .dl-btn {
    opacity: 1;
    transform: translateY(0);
}

/* Lightbox - Minimal */
#lightbox {
    position: fixed;
    z-index: 2000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.98);
    /* White overlay */
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

#lightbox.active {
    opacity: 1;
    pointer-events: all;
}

.lightbox-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 90%;
}

.lightbox-content img {
    max-height: 80vh;
    box-shadow: var(--shadow-md);
    border-radius: 4px;
}

.lightbox-details {
    margin-top: 1.5rem;
    text-align: center;
}

.lightbox-details h3 {
    color: var(--text-main);
    margin-bottom: 0.5rem;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        right: -100%;
        top: 73px;
        flex-direction: column;
        background: #fff;
        width: 100%;
        padding: 2rem;
        transition: 0.3s;
        border-bottom: 1px solid var(--border-color);
        box-shadow: var(--shadow-sm);
        align-items: flex-start;
    }

    .nav-links.active {
        right: 0;
    }

    .hamburger {
        display: block;
    }

    #hero {
        flex-direction: column;
        padding-top: 120px;
        text-align: center;
        min-height: auto;
        padding-bottom: 4rem;
    }

    .hero-content {
        padding-right: 0;
    }

    .hero-content h1 {
        font-size: 3rem;
    }

    .hero-visual {
        margin-top: 4rem;
        height: 400px;
        width: 100%;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .contact-form {
        padding: 2rem;
    }
}

/* --- New Content Plan Styles --- */
.pb-0 { padding-bottom: 0 !important; }
.bg-light { background-color: var(--section-bg); }

/* The Numbers */
.numbers-section { padding: 4rem 0; background: #fff; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; text-align: center; }
.stat-box { padding: 2rem; background: var(--section-bg); border-radius: 12px; transition: var(--transition); }
.stat-box:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.stat-box h3 { font-size: 3rem; color: var(--accent); margin-bottom: 0.5rem; }
.stat-box p { font-size: 1.1rem; color: var(--text-main); font-weight: 500; }

/* About Me */
.about-section { padding: 8rem 0; background: #fff; }
.about-layout { display: flex; align-items: center; gap: 4rem; max-width: 1000px; margin: 0 auto; }
.about-image { flex: 1; position: relative; }
.about-image img { width: 100%; border-radius: 20px; box-shadow: var(--shadow-md); object-fit: cover; aspect-ratio: 4/5; }
.about-text { flex: 1.2; font-size: 1.2rem; line-height: 1.8; color: var(--text-sub); }
.about-text strong { color: var(--accent); }
.about-text .section-title { text-align: left; }
.mt-4 { margin-top: 2rem; display: inline-block; }
@media (max-width: 768px) {
    .about-layout { flex-direction: column; text-align: center; }
    .about-text .section-title { text-align: center; }
}

/* Process Section */
.process-section { padding: 8rem 0; background: #fff; }
.process-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 3rem; margin-top: 3rem; }
.process-step { position: relative; background: var(--section-bg); padding: 3rem 2rem; border-radius: 12px; text-align: center; transition: var(--transition); border-top: 4px solid transparent; }
.process-step:hover { transform: translateY(-10px); box-shadow: var(--shadow-md); border-top-color: var(--accent); }
.step-icon { width: 60px; height: 60px; background: var(--accent); color: #fff; font-size: 1.5rem; font-weight: 700; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 1.5rem; }
.process-step h3 { font-size: 1.4rem; margin-bottom: 1rem; color: var(--text-main); }
.process-step p { color: var(--text-sub); line-height: 1.6; }