/* ---------------------------------------------------
   GLOBAL STYLES
--------------------------------------------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Inter", Arial, sans-serif;
}

body {
    background: #f9f9f9;
    color: #222;
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

h1, h2, h3 {
    font-weight: 700;
    color: #111;
    text-decoration: none;
}

.section-subtitle {
    color: #666;
    margin-bottom: 30px;
}

/* Accent Color */
:root {
    --primary: #0066ff;
    --dark: #111;
    --light: #fff;
    --gray: #f2f2f2;
}

/* ===== Navbar ===== */
.navbar {
    position: sticky;
    top: 0;
    width: 100%;
    padding: 15px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;

    /* Frosted glass effect */
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.logo {
    color: #111;
    font-size: 1.5rem;
    font-weight: bold;
    text-shadow: 0 0 5px rgba(0,0,0,0.3);
}

/* ===== Desktop Navigation ===== */
.nav-links {
    list-style: none;
    display: flex;
    gap: 25px;
}

.nav-links a {
    color: #111;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #0066ff;
}

/* ===== Hamburger & Mobile ===== */
.menu-toggle {
    display: none;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1100;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: #111;
    transition: 0.3s;
}

/* ===== Mobile Styles ===== */
@media (max-width: 900px) {

    .hamburger {
        display: flex;
    }

    /* Glassmorphic mobile menu */
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 250px;

        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        border-left: 1px solid rgba(255,255,255,0.25);
        box-shadow: -5px 0 15px rgba(0,0,0,0.2);

        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 30px;
        transition: right 0.35s ease;
        z-index: 1050;
    }

    .nav-links a {
        font-size: 1.3rem;
        text-shadow: 0 0 5px rgba(0,0,0,0.3);
        color: #fff;
    }

    /* Show menu when checked */
    .menu-toggle:checked ~ .nav-links {
        right: 0;
    }

    /* Overlay to close menu */
    .overlay {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(0,0,0,0.3);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s;
        z-index: 1025;
    }

    .menu-toggle:checked ~ .overlay {
        opacity: 1;
        pointer-events: all;
    }

    /* Hamburger animation */
    .menu-toggle:checked + .hamburger span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    .menu-toggle:checked + .hamburger span:nth-child(2) {
        opacity: 0;
    }
    .menu-toggle:checked + .hamburger span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
}
/* ---------- SOCIAL ICONS UNDER MENU ---------- */
    .navbar__socials {
        display: flex;
        gap: 25px;
    }

    .navbar__socials a {
        font-size: 1.2rem;
        color: #111;
        transition: 0.3s ease;
    }

    .navbar__socials a:hover {
        color: #0066ff;
    }
@media (max-width: 900px) {
   .navbar__socials {
        margin-top: 30px;
        display: flex;
        gap: 25px;
    }
   .navbar__socials a {
        font-size: 1.3rem;
        text-shadow: 0 0 5px rgba(0,0,0,0.3);
        color: #fff;
        transition: 0.3s ease;
    }
}
/* ---------------------------------------------------
   SERVICES
--------------------------------------------------- */
.services-section {
    padding: 80px 0;
}

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

.service-card {
    background: var(--light);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.07);
    transition: 0.3s;
}
.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

/* ---------------------------------------------------
   PORTFOLIO
--------------------------------------------------- */
.portfolio-section {
    padding: 80px 0;
}

.portfolio-grid {
    display: grid;
    gap: 30px;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.portfolio-item {
    background: var(--light);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    transition: 0.3s;
    text-align: center;
    text-decoration: none;
}
.portfolio-item a{
    text-decoration: none;
}
.portfolio-img {
    height: 200px;
    background-size: cover;
    background-position: center;
    transition: 0.4s;
}

.portfolio-item:hover .portfolio-img {
    transform: scale(1.1);
}
.comparison-section {
    max-width: 1100px;
    margin: auto;
}

/* ---------------------------------------------------
   COMPARISON
--------------------------------------------------- */
.comparison-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    padding: 20px;
}

.card {
    background: #ffffff;
    padding: 25px;
    border-radius: 14px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: transform 0.25s ease;
}

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

.card h3 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.4rem;
    text-align: center;
}

.card ul {
    list-style: none;
    padding: 0;
}

.card li {
    display: flex;
    align-items: center;
    margin: 12px 0;
    font-size: 1rem;
}

.card li span {
    font-size: 1.2rem;
    margin-right: 10px;
}

/* Highlight the "Independent Specialist" card */
.highlight {
    border: 2px solid #4CAF50;
    background: #e9fbe9;
    box-shadow: 0 6px 25px rgba(0, 150, 50, 0.15);
}

.highlight h3 {
    color: #2f8a3d;
}

/* ---------------------------------------------------
   TESTIMONIALS — FIXED SLIDER
--------------------------------------------------- */
.testimonials-section {
    padding: 80px 0;
    background: var(--gray);
    text-align: center;
}

.testimonial-slider {
    position: relative;
    width: 100%;
    max-width: 700px;
    margin: 40px auto 0;
    overflow: hidden;
}

/* FIX: slides now keep exact width for perfect sliding */
.slides {
    display: flex;
    width: 100%;
    transition: transform 0.6s ease;
}

/* FIX: ensure each testimonial always matches container width */
.testimonial {
    width: 100%;
    flex-shrink: 0;
    padding: 40px 30px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.06);
}

/* Buttons */
.slide-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 10px 16px;
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.slide-btn:hover {
    background: #004ecc;
}

.prev { left: -10px; }
.next { right: -10px; }

/* Mobile-friendly adjustments */
@media (max-width: 600px) {
    .testimonial {
        padding: 30px 20px;
    }
    .prev { left: 5px; }
    .next { right: 5px; }
}


/* ---------------------------------------------------
   ABOUT
--------------------------------------------------- */
.about-section {
    padding: 80px 0;
   display:flex;
    text-align: center;
   justify-content: center;
   align-items:center;
   flex-direction: column;
}

.Headshot{
   width: 30vw;
   height: 35vw;
   border-radius: 2rem;
   border-style: solid;
   border-width: medium;
   border-color: #0066ff;
}

.about-section p {
    max-width: 700px;
    margin: 20px auto;
    color: #555;
}
@media (max-width: 800px) {
   .Headshot{
      width: 90vw;
      height: 100vw;
   }
}
/* ---------------------------------------------------
   FOOTER
--------------------------------------------------- */
footer {
    text-align: center;
    padding: 30px 0;
    margin-top: 40px;
    color: #666;
}

/* ---------------------------------------------------
   MICRO ANIMATIONS & REVEAL
--------------------------------------------------- */
.fade-in, .fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s ease forwards;
}

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

/* hover-up class */
.hover-up {
    transition: transform 0.3s ease;
}
.hover-up:hover {
    transform: translateY(-6px);
}

/* hover-zoom */
.hover-zoom {
    transition: transform 0.3s ease;
}
.hover-zoom:hover {
    transform: scale(1.02);
}
