:root {
    --accent: #2aa8ff;
    --accent-soft: rgba(42,168,255,0.45);
    --accent-glow: rgba(42,168,255,0.65);

    --bg-dark: #0b1a2b;
    --bg-mid: #111e2e;
    --bg-card: #16273c;

    --text-main: #ffffff;
    --text-soft: #dbe6f1;
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
     font-family: 'Playfair Display', serif;
    background: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
}
.logo, .hero h1, .section-title, .form-title {
    font-family: 'Playfair Display', serif;
    letter-spacing: 0.5px;
    font-weight: 700;
}
.section-title,
.form-title,
label {
    color: var(--accent);
}
.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

/* NAVIGATION */
.header {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background: rgba(11,26,43,0.85);
    backdrop-filter: blur(8px);
    z-index: 999;
    padding: 0px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    margin-right: auto;
}
.nav {
    display: flex;
    align-items: center;
    gap: 40px;
    flex: 1;
    justify-content: flex-end;
    
}
.nav a {
    position: relative;
    color: var(--accent);
    font-size: 18px;
    text-decoration: none;
    font-weight: 500;
    transition:
        color 0.3s ease,
        transform 0.3s ease,
        text-shadow 0.3s ease;
    text-shadow: 0 0 10px var(--accent-soft);
}


.nav a:hover {
    color: #2aa8ff;
    transform: translateY(-1px);
    text-shadow: 0 0 10px rgba(42,168,255,0.45);
}

.nav a:hover::after {
    width: 100%;
    left: 0;
    box-shadow: 0 0 14px rgba(42,168,255,0.65);
}

.nav a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -8px;
    width: 0%;
    height: 2px;
     background: linear-gradient(90deg, transparent, var(--accent), transparent);
    transition:
        width 0.35s ease,
        left 0.35s ease,
        box-shadow 0.35s ease;
}

/* HAMBURGER MENU */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #fff;
    border-radius: 3px;
}

/* HERO SECTION */
.hero {
    height: 100vh;
    background: url('hero.jpg') center/cover no-repeat;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
}

.hero-content {
    position: relative;
    text-align: center;
    max-width: 700px;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 15px;
}

.hero p {
    font-size: 18px;
    margin-bottom: 25px;
}

.hero-btn {
    position: relative;
    display: inline-block;
    background: linear-gradient(135deg, #2aa8ff, #4fc3ff);
    box-shadow: 0 0 18px var(--accent-soft);
    padding: 14px 34px;
    text-decoration: none;
    color: #fff;
    border-radius: 8px;
    font-weight: bold;
    font-size: 18px;
    letter-spacing: 0.5px;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    
}

/* idle breathing glow */
.hero-btn {
    animation: glowPulse 3s infinite ease-in-out;
}

@keyframes glowPulse {
    0%, 100% {
        box-shadow: 0 0 18px rgba(197,154,61,0.35);
    }
    50% {
        box-shadow: 0 0 28px rgba(197,154,61,0.6);
    }
}

/* sweeping light */
.hero-btn::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -75%;
    width: 50%;
    height: 200%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(230,245,255,0.45),
        transparent
    );
    transform: rotate(25deg);
}

/* hover effects */
.hero-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 35px var(--accent-glow);
}

.hero-btn:hover::before {
    animation: sweep 0.9s ease forwards;
}

@keyframes sweep {
    from {
        left: -75%;
    }
    to {
        left: 130%;
    }
}


/* SERVICES */
.services {
    padding: 90px 0;
     background: var(--bg-mid);
}

.section-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
}

.service-grid {
    display: grid;
    gap: 25px;
    grid-template-columns: repeat(3, 1fr);
}

.service-card {
    background: var(--bg-card);
    padding: 20px;
    border-radius: 10px;
    transition: 0.3s;
}

.service-card:hover {
    background: #1c3350;
}
.service-card {
    position: relative;
    background: var(--bg-card);
    padding: 28px 26px 30px;
    border-radius: 14px;
    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease,
        background 0.35s ease;
    box-shadow:
        0 8px 24px rgba(0,0,0,0.35),
        inset 0 0 0 1px rgba(255,255,255,0.04);
    overflow: hidden;
}

/* subtle lift */
.service-card:hover {
    background: #1c3350;
    transform: translateY(-6px);
    box-shadow:
        0 18px 40px rgba(0,0,0,0.45),
        0 0 24px rgba(42,168,255,0.25);
}

/* accent glow edge */
.service-card::before {
    content: "";
    position: absolute;
    pointer-events: none;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(
        120deg,
        transparent 30%,
        rgba(42,168,255,0.15),
        transparent 70%
    );
    opacity: 0;
    transition: opacity 0.35s ease;
}

.service-card:hover::before {
    opacity: 1;
}

/* title underline animation */
.service-card h3 {
    position: relative;
    margin-bottom: 14px;
}

.service-card h3::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #2aa8ff, transparent);
    transition: width 0.35s ease;
}

.service-card:hover h3::after {
    width: 100%;
}

/* CTA link */
.service-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 18px;
    color: #2aa8ff;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.25s ease, text-shadow 0.25s ease;
}

.service-link:hover {
    transform: translateX(4px);
    text-shadow: 0 0 10px rgba(42,168,255,0.45);
}

/* keyboard accessibility */
.service-card:focus-within {
    outline: 2px solid rgba(42,168,255,0.6);
    outline-offset: 4px;
}


/* ABOUT SECTION */
.about {
    padding: 90px 0;
}

h2{
    text-decoration: underline;
}

.about-container {
    display: flex;
    gap: 40px;
    align-items: center;
}

.about-text {
    flex: 1;
}

.about-img {
    flex: 1;
    height: 300px;
    background: #333;
    border-radius: 10px;
}
.about-intro {
    background: rgba(0, 0, 0, 0.55) !important; /* dark translucent panel */
    padding: 40px 50px;
    border-radius: 12px;
    max-width: 900px;
    margin: 0 auto;
    box-shadow: 0 20px 40px rgba(0,0,0,0.25);
}

.about-intro h3 {
    font-size: 28px;
    color: var(--accent);
    margin-bottom: 25px;
    letter-spacing: 0.5px;
}

.about-intro p {
    font-size: 18px;
    line-height: 1.75;
    opacity: 0.95;
    margin-bottom: 20px;
    color: #f2f2f2;
}
.about-intro img{
    width: 100%;
    height: 360px;
    object-fit: cover;
    border-radius: 16px;
    max-width:100%; margin-top:40px; 
    box-shadow:
        0 14px 35px rgba(0,0,0,0.5),
        0 0 22px rgba(42,168,255,0.25);
}

/* TEAM SECTION */
.team-group {
    text-align: center;
    margin-bottom: 70px;
    
}

.team-group img {
    max-width: 100%;
    border-radius: 18px;
    box-shadow:
        0 20px 45px rgba(0,0,0,0.5),
        0 0 25px rgba(42,168,255,0.25);
}

/* grid */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
}

/* card */
.team-card {
    background: var(--bg-card);
    padding: 28px;
    border-radius: 18px;
    text-align: center;
    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease,
        background 0.35s ease;
    box-shadow:
        0 12px 30px rgba(0,0,0,0.45),
        inset 0 0 0 1px rgba(255,255,255,0.04);
}

.team-card:hover {
    transform: translateY(-6px);
    background: #1c3350;
    box-shadow:
        0 20px 45px rgba(0,0,0,0.55),
        0 0 25px rgba(42,168,255,0.3);
}

/* image */
.team-card img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 18px;
    box-shadow: 0 0 18px rgba(42,168,255,0.45);
}

/* text */
.team-card h3 {
    margin-bottom: 6px;
}

.team-role {
    display: block;
    color: var(--accent);
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 14px;
    letter-spacing: 0.5px;
}

.team-card p {
    font-size: 15px;
    opacity: 0.9;
    line-height: 1.6;
}

/* subtle highlight for webmaster */
.team-card.highlight {
    border: 1px solid rgba(42,168,255,0.45);
}

/* responsive */
@media screen and (max-width: 900px) {
    .team-grid {
        grid-template-columns: 1fr;
    }
}


.team-avatar {
    width: 90px;
    height: 90px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background:
        radial-gradient(circle at top left, #2aa8ff, #12395c);
    box-shadow: 0 0 18px rgba(42,168,255,0.45);
}

/* SLIDESHOW */
.slideshow,
.hero-slideshow {
    width: 100%;
    max-width: 100%;
}
.slideshow {
    height: 65vh;
    margin-top: 110px; /* offsets fixed header */
    overflow: hidden;
    position: relative;
}
/* HERO SLIDESHOW */
.hero-slideshow {
    position: relative;
    height: 85vh;
    margin-top: 110px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-slideshow .slides {
    position: absolute;
    inset: 0;
}

.hero-slideshow .slide {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
}

.hero-slideshow .slide.active {
    opacity: 1;
}

/* Dark overlay for text readability */
.hero-slideshow .hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        rgba(5,10,20,0.75),
        rgba(5,10,20,0.75)
    );
    z-index: 1;
}

/* Text */
.hero-slideshow .hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 0 30px;
    text-align: center;
}

.hero-slideshow h1 {
    font-size: 56px;
    line-height: 1.1;
    margin-bottom: 18px;
}

.hero-slideshow p {
    font-size: 22px;
    opacity: 0.95;
    margin-bottom: 32px;
}
.slide-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(10,20,35,0.6);
    border: 1px solid rgba(42,168,255,0.35);
    color: var(--accent);
    font-size: 32px;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(6px);
    box-shadow:
        0 0 18px rgba(42,168,255,0.35),
        inset 0 0 0 1px rgba(255,255,255,0.08);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease;
}

.slide-arrow:hover {
    transform: translateY(-50%) scale(1.08);
    box-shadow:
        0 0 28px rgba(42,168,255,0.6);
}

.slide-arrow.prev {
    left: 30px;
}

.slide-arrow.next {
    right: 30px;
}

/* hide arrows slightly on mobile */
@media (max-width: 768px) {
    .slide-arrow {
        width: 44px;
        height: 44px;
        font-size: 24px;
    }
}

/* BEFORE / AFTER */
.before-after {
    padding: 90px 0;
    background: var(--bg-mid);
}

.before-after-card {
    background: var(--bg-card);
    padding: 40px;
    border-radius: 18px;
    margin-bottom: 60px;
    box-shadow:
        0 16px 40px rgba(0,0,0,0.45),
        inset 0 0 0 1px rgba(255,255,255,0.04);
}

.before-after-card h3 {
    color: var(--accent);
    text-align: center;
    margin-bottom: 30px;
    font-size: 26px;
}

.before-after-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.before-after-images span {
    display: block;
    text-align: center;
    margin-bottom: 14px;
    font-weight: 600;
    font-size: 18px;
    color: var(--text-soft);
}

.before-after-images img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow:
        0 14px 35px rgba(0,0,0,0.5),
        0 0 22px rgba(42,168,255,0.25);
}
/* BEFORE/AFTER HERO-LIKE SLIDESHOW */
.before-after-card.hero-slideshow {
    width: 100%; /* fills container, not full viewport */
    height: 800px; /* or 480px if you want more */
    
    margin: 0 auto; /* center in container */
    overflow: hidden; /* hide overflowing parts of slides */
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Slides */
.before-after-card.hero-slideshow .slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.before-after-card.hero-slideshow .slide {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
}

.before-after-card.hero-slideshow .slide.active {
    opacity: 1;
}
.before-after-card.hero-slideshow .slide img {
    object-fit: contain; /* keeps full image visible */
    width: 100%;
    height: 100%;
}

/* Arrows */
.before-after-card.hero-slideshow .slide-arrow {
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    font-size: 24px;
    background: rgba(10,20,35,0.6);
    border: 1px solid rgba(42,168,255,0.35);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(6px);
    box-shadow:
        0 0 18px rgba(42,168,255,0.35),
        inset 0 0 0 1px rgba(255,255,255,0.08);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease;
}

.before-after-card.hero-slideshow .slide-arrow:hover {
    transform: translateY(-50%) scale(1.08);
    box-shadow:
        0 0 28px rgba(42,168,255,0.6);
}

.before-after-card.hero-slideshow .slide-arrow.prev {
    left: 15px;
}

.before-after-card.hero-slideshow .slide-arrow.next {
    right: 15px;
}

/* Remove hero overlay and text for clean before/after */
.before-after-card.hero-slideshow .hero-overlay,
.before-after-card.hero-slideshow .hero-content {
    display: none;
}

/* TABLET FIX: 600px–900px */
@media (min-width: 600px) and (max-width: 900px) {

    .before-after-card {
        padding: 32px;
        margin-bottom: 50px;
    }

    .before-after-card h3 {
        font-size: 28px;
        margin-bottom: 26px;
    }

    /* Grid stays 2 columns, but breathes */
    .before-after-images {
        gap: 24px;
    }

    .before-after-images img {
        height: 340px;
    }

    /* Hero-style before/after slideshow */
    .before-after-card.hero-slideshow {
        height: 520px;
    }

    .before-after-card.hero-slideshow .slide-arrow {
        width: 48px;
        height: 48px;
        font-size: 26px;
    }
}


/* Mobile responsiveness */
@media (max-width: 900px) {
    .before-after-card.hero-slideshow {
        height: 280px;
    }
}

/* Mobile */
@media (max-width: 900px) {
    .before-after-images {
        grid-template-columns: 1fr;
    }

    .before-after-images img {
        height: 280px;
    }
}




/* Mobile */
@media (max-width: 900px) {
    .hero-slideshow {
        height: 70vh;
    }

    .hero-slideshow h1 {
        font-size: 36px;
    }

    .hero-slideshow p {
        font-size: 18px;
    }
}

.slides {
    width: 100%;
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit:cover;
    object-position: center 45%;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
}
/* SLIDESHOW */
.slide.active {
    opacity: 1;
}

/* Mobile adjustments */
@media screen and (max-width: 768px) {
    .slideshow {
        height: 35vh;
    }
}
.footer {
    background: linear-gradient(180deg, #050b14, #000);
    padding: 70px 0 30px;
    color: #dbe6f1;
}

.footer-container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.2fr;
    gap: 40px;
}

.footer-brand h3 {
    color: #2aa8ff;
    margin-bottom: 12px;
    text-decoration: none;
}

.footer-brand p {
    opacity: 0.85;
    line-height: 1.6;
}

.footer-links h4,
.footer-contact h4 {
    margin-bottom: 14px;
    color: #fff;
    font-size: 16px;
    letter-spacing: 0.5px;
}

.footer-links a {
    display: block;
    color: #dbe6f1;
    text-decoration: none;
    margin-bottom: 8px;
    opacity: 0.85;
    transition: color 0.25s ease, transform 0.25s ease;
}

.footer-links a:hover {
    color: #2aa8ff;
    transform: translateX(4px);
}

.footer-contact p {
    margin-bottom: 8px;
    opacity: 0.85;
}

/* bottom bar */
.footer-bottom {
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.08);
    text-align: center;
    font-size: 14px;
    opacity: 0.7;
}

/* responsive */
@media screen and (max-width: 900px) {
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-links a:hover {
        transform: none;
    }
}


 .form-section {
            padding: 120px 0 100px;
            background: #111;
            min-height: 100vh;
        }
        .form-container {
            max-width: 700px;
            margin: 0 auto;
            background: var(--bg-card);
            box-shadow: 0 0 30px var(--accent-soft);
            padding: 50px 40px;
            border-radius: 12px;
        }
        .form-title {
            font-size: 42px;
            text-align: center;
            margin-bottom: 15px;
            
        }
        .form-subtitle {
            text-align: center;
            font-size: 19px;
            margin-bottom: 40px;
            opacity: 0.9;
        }
        .phone-big {
            text-align: center;
            font-size: 38px;
            color: var(--accent);
            font-weight: bold;
            margin: 30px 0;
            text-decoration: underline;
            overflow-wrap: anywhere;
            word-break: break-word;
        }
        label {
            display: block;
            margin: 25px 0 8px;
            font-weight: bold;
            color: var(--accent-glow);
        }
        input[type="text"],
        input[type="email"],
        input[type="tel"],
        select,
        textarea {
            width: 100%;
            padding: 14px;
            background: #222;
            border: 1px solid #444;
            border-radius: 6px;
            color: #fff;
            font-size: 16px;
        }
        select[multiple] {
            height: 160px;
        }
        textarea {
            min-height: 120px;
            resize: vertical;
        }
        .submit-btn {
    position: relative;
    background: linear-gradient(180deg, #4fc3ff, #2aa8ff);
    color: #08131f;
    font-weight: 700;
    font-size: 18px;
    padding: 16px 40px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    width: 100%;
    margin-top: 30px;

    transition:
        background 0.15s ease,
        transform 0.08s ease,
        box-shadow 0.15s ease,
        filter 0.15s ease;

    box-shadow:
        inset 0 -2px 0 rgba(0,0,0,0.25),
        0 6px 14px rgba(0,0,0,0.35);
}

/* minimal hover — clarity only */
.submit-btn:hover {
    filter: brightness(1.05);
}

/* press / commit */ /*********/
.submit-btn:active {
    transform: scale(0.985);
    background: linear-gradient(180deg, #2aa8ff, #1f86cc);
    box-shadow:
        inset 0 2px 4px rgba(0,0,0,0.35),
        0 2px 6px rgba(0,0,0,0.3);
}

/* focus for keyboard users */
.submit-btn:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 4px;
}

/* confirmation pulse after click */
.submit-btn:active::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow: 0 0 0 0 rgba(42,168,255,0.6);
    animation: confirmPulse 0.4s ease-out;
}

@keyframes confirmPulse {
    from {
        box-shadow: 0 0 0 0 rgba(42,168,255,0.6);
    }
    to {
        box-shadow: 0 0 0 14px rgba(42,168,255,0);
    }
}


        .success { color: #c59a3d; text-align: center; margin: 20px 0; font-size: 20px; }
        .error { color: #ff6b6b; text-align: center; margin: 20px 0; }
/* RESPONSIVE DESIGN */
@media screen and (max-width: 900px) {

    .nav {
        display: none;
        position: absolute;
        top: 75px;
        right: 20px;
        background: #000;
        padding: 20px;
        border-radius: 10px;
        flex-direction: column;
        gap: 15px;
    }

    .nav.active {
        display: flex;
    }

    .hamburger {
        display: flex;
    }

    .service-grid {
        grid-template-columns: 1fr;
    }

    .about-container {
        flex-direction: column;
        text-align: center;
    }
}
