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

body {
    background: #fff;
    color: #222;
    line-height: 1.6;
    overflow-x: hidden;
}

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

.btn {
    display: inline-block;
    background: gold;
    padding: 12px 25px;
    border-radius: 5px;
    color: black;
    font-weight: bold;
    text-decoration: none;
    transition: 0.3s;
}

.btn:hover {
    background: #d4af37;
}

/* -------------------- HEADER -------------------- */
header {
    background: black;
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
    transition: 0.3s;
    width: 100%;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

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

/* Logo + Brand */
.logo-text {
    display: flex;
    align-items: center;
    gap: 10px;
}

.circular-frame {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #222;
    display: flex;
    justify-content: center;
    align-items: center;
}

.circular-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.brand-name {
    font-weight: bold;
    font-size: 1.5rem;
    color: gold;
}

/* Navigation Links */
nav {
    display: flex;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 20px;
    align-items: center;
}

.nav-links li a {
    text-decoration: none;
    color: white;
    font-size: 16px;
    font-weight: 500;
}

#darkModeBtn {
    border: none;
    background: none;
    cursor: pointer;
    font-size: 20px;
    color: gold;
}


/* -------------------- HERO -------------------- */
#hero {
    background: linear-gradient(to bottom, black, #222);
    color: gold;
    padding: 140px 0;
    text-align: center;
    animation: fadeIn 1.5s ease;
}

#hero p {
    color: white;
    max-width: 600px;
    margin: 10px auto;
}

/* -------------------- ANIMATIONS -------------------- */
@keyframes fade {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: 0.8s ease;
}

.fade-up.active {
    opacity: 1;
    transform: translateY(0);
}

/* -------------------- COUNTERS -------------------- */
#counters {
    padding: 60px 0;
    background: #f8f8f8;
}

.counters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 25px;
    text-align: center;
}

.counter-box h3 {
    font-size: 48px;
    color: black;
}

.counter-box p {
    font-size: 18px;
    font-weight: bold;
}

/* -------------------- SERVICES -------------------- */
.section-title {
    text-align: center;
    margin-bottom: 20px;
    font-size: 30px;
    font-weight: bold;
}

.sub-title {
    margin-top: 20px;
    margin-bottom: 10px;
    font-size: 22px;
    color: gold;
    font-weight: bold;
}

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

.service-card {
    background: black;
    color: gold;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    transition: 0.3s;
}

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

/* -------------------- PRICING -------------------- */
#pricing {
    padding: 60px 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    padding-top: 20px;
}

.price-card {
    background: #fff;
    border: 2px solid gold;
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    transition: 0.3s;
}

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

.price-card .price {
    font-size: 36px;
    font-weight: bold;
    margin: 10px 0;
    color: black;
}

.price-card ul {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.price-card ul li {
    margin: 10px 0;
}

.popular {
    background: black;
    color: gold;
    border-color: black;
}

.popular .btn {
    background: gold;
    color: black;
}

/* -------------------- TESTIMONIALS -------------------- */
#testimonials {
    padding: 60px 0;
    background: #fafafa;
}

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

.test-card {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.test-card h4 {
    margin-top: 15px;
    color: black;
}

/* -------------------- TEAM / ABOUT US -------------------- */
#about\ us {
    text-align: center;
    padding: 60px 0;
}

.team-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: auto;
}

.team-card img {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid gold;
    margin-bottom: 15px;
}

/* -------------------- CONTACT -------------------- */
#contactForm {
    max-width: 700px;
    margin: auto;
    text-align: center;
}

#contactForm input,
#contactForm textarea {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
}

#successMsg {
    color: green;
    display: none;
    margin-top: 10px;
    font-size: 18px;
}

/* -------------------- FOOTER -------------------- */
footer {
    background: black;
    padding: 25px;
    text-align: center;
    color: gold;
    margin-top: 40px;
}

/* -------------------- DARK MODE -------------------- */
body.dark {
    background: #111;
    color: white;
}

body.dark header {
    background: gold;
}

body.dark .logo-text,
body.dark .nav-links a {
    color: black;
}

body.dark #hero {
    background: linear-gradient(to bottom, gold, #333);
    color: black;
}

body.dark .service-card {
    background: gold;
    color: black;
}

body.dark footer {
    background: gold;
    color: black;
}

/* -------------------- CERTIFICATIONS -------------------- */
#certifications {
    padding: 60px 5%;
    background: #f9f9f9;
    text-align: center;
}

#certifications .section-title {
    font-size: 2rem;
    margin-bottom: 10px;
    font-weight: bold;
}

#certifications .section-subtitle {
    font-size: 1rem;
    margin-bottom: 40px;
    color: #555;
}

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

.cert-card {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: 0.3s ease;
}

.cert-card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 15px;
}

.cert-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #222;
}

.cert-card p {
    font-size: 0.95rem;
    color: #555;
}

.cert-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

/* -------------------- STYLISH LIST -------------------- */
.center-bold {
    text-align: center;
    font-weight: bold;
    font-size: 2em;
    margin-bottom: 20px;
    color: #333;
}

.stylish-list {
    list-style: none;
    padding: 0;
    text-align: center;
}

.stylish-list li {
    display: inline-block;
    background-color: #4CAF50;
    color: white;
    padding: 12px 25px;
    margin: 10px;
    border-radius: 8px;
    font-weight: normal;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.stylish-list li:hover {
    background-color: #45a049;
    font-weight: bold;
    color: #ffeb3b;
    transform: translateY(-3px);
    box-shadow: 0 6px 10px rgba(0,0,0,0.15);
}

/* -------------------- FLOATING SOCIALS -------------------- */
.floating-socials {
    position: fixed;
    top: 30%;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 9999;
}

.social-icon img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    padding: 6px;
    transition: transform .3s ease, box-shadow .3s ease;
}

.social-icon img:hover {
    transform: scale(1.2);
    box-shadow: 0 0 15px gold;
}

/* -------------------- MOBILE MENU TOGGLE (CLEAN) -------------------- */
@media (max-width: 768px) {
    /* Hamburger toggle at top-right corner */
    .menu-toggle {
        display: block;
        position: absolute;
        top: 15px;       /* top-right corner */
        right: 20px;
        font-size: 2rem;
        z-index: 2000;
        cursor: pointer;
        color: gold;
        transition: transform 0.3s ease, color 0.3s ease;
    }

    .menu-toggle:hover {
        transform: scale(1.2) rotate(10deg);
        color: #ffecb3;
    }

    .menu-toggle.active {
        transform: scale(1.2) rotate(90deg);
        color: #ffd700;
    }

    /* Navigation menu hidden off-screen initially */
    .nav-links {
        display: flex;               /* keep flex for alignment */
        position: absolute;
        top: 60px;                   /* below header */
        right: -250px;               /* hidden initially */
        width: 220px;
        flex-direction: column;
        background: #222;
        padding: 15px;
        border-radius: 8px;
        opacity: 0;
        transition: right 0.3s ease-in-out, opacity 0.3s ease-in-out;
        z-index: 1500;
    }

    /* When menu is active (clicked) */
    .nav-links.active {
        right: 10px;                 /* slide-in */
        opacity: 1;
    }

    /* Links styling for mobile */
    .nav-links li {
        margin: 12px 0;
    }

    .nav-links li a,
    #darkModeBtn {
        color: gold;
        font-weight: 500;
        font-size: 1rem;
        text-align: left;
    }

    .nav-links li a:hover {
        color: #ffecb3;
        transform: translateX(5px);
    }

    /* Optional: prevent body scroll when menu is open */
    body.menu-open {
        overflow: hidden;
    }
}

/* FLEX CONTAINER SECTION */
.flex-container {
    display: flex;
    justify-content: center;   /* center horizontally */
    align-items: center;       /* center vertically */
    flex-wrap: wrap;           /* allow items to wrap on smaller screens */
    gap: 20px;                 /* space between items */
    padding: 20px 0;
}

.flex-item {
    background: linear-gradient(135deg, #ffd700, #ffecb3); /* gold gradient */
    color: #222;                                       /* text color */
    padding: 30px 40px;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    cursor: pointer;
    max-width: 800px;           /* prevent flex-item from stretching too wide */
    width: 100%;                /* full width on small screens */
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

.flex-item:hover {
    transform: scale(1.05);       /* slight grow */
    box-shadow: 0 12px 24px rgba(0,0,0,0.25);
    background: linear-gradient(135deg, #ffecb3, #ffd700); /* hover gradient */
}

/* Subtitles inside flex-item */
.flex-item .sub-title {
    margin: 10px 0;
    font-size: 1.5rem;
    font-weight: bold;
    color: #222;
}

/* Bold description inside flex-item */
.flex-item b {
    display: block;
    margin-top: 15px;
    font-weight: bold;
    color: #444;
    line-height: 1.5;
}


/* -------------------- FLEX CONTAINER HERO / SERVICES -------------------- */
.flex-container {
    display: flex;
    justify-content: center; /* center horizontally */
    align-items: center;     /* center vertically */
    flex-wrap: wrap;         /* allow items to wrap on smaller screens */
    padding: 20px;
    gap: 20px;
}

.flex-item {
    background: linear-gradient(135deg, #f9d423, #ff4e50); /* captivating gradient */
    color: #111;
    padding: 25px 35px;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    width: 100%;
    max-width: 600px;       /* fits nicely in container */
}

.flex-item:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.sub-title {
    margin: 10px 0;
    font-size: 1.5rem;
}

/* Optional: adjust font size and padding on small screens */
@media (max-width: 480px) {
    .flex-item {
        padding: 15px 20px;
    }

    .sub-title {
        font-size: 1.2rem;
    }
}



/* Ensure desktop remains correct */
@media (min-width: 769px) {
    .nav-links {
        display: flex !important; /* Forces menu to show on desktop */
        right: auto !important;   /* Reset position */
        opacity: 1 !important;    /* Reset opacity */
        position: static;         /* Put it back in the flow */
        background: none;         /* Remove mobile background */
        flex-direction: row;      /* Desktop layout */
        padding: 0;
        box-shadow: none;
    }
}
        /* lively gradient background */
        background: linear-gradient(135deg, #222, #333, #444);
        background-blend-mode: multiply;
    }

    .nav-links.active {
        right: 10px;
        opacity: 1;
    }

    .nav-links li {
        margin: 12px 0;
    }

    .nav-links li a {
        color: gold;            /* visible on gradient background */
        font-weight: 500;
        font-size: 1rem;
        text-align: left;
        transition: color 0.3s ease, transform 0.3s ease;
    }

    .nav-links li a:hover {
        color: #ffecb3;         /* lighter gold on hover */
        transform: translateX(5px);
    }

    #darkModeBtn {
        color: gold;
        margin-top: 10px;
    }

    /* Optional: prevent scrolling when menu is open */
    body.menu-open {
        overflow: hidden;
    }
}
.menu-toggle {
    display: none;
    font-size: 2rem;
    cursor: pointer;
    z-index: 1100;
    transition: transform 0.3s ease, color 0.3s ease;
    color: gold; /* visible */
}

/* Hover animation for liveliness */
.menu-toggle:hover {
    transform: scale(1.2) rotate(10deg);
    color: #ffecb3; /* subtle color change on hover */
}

/* Animate when active (clicked) */
.menu-toggle.active {
    transform: scale(1.2) rotate(90deg);
    color: #ffd700;
}
/* -------------------- MOBILE LOGO CIRCULAR -------------------- */
@media (max-width: 768px) {
    .circular-frame {
        width: 50px;   /* adjust size as needed */
        height: 50px;
        border-radius: 50%; /* ensures it's circular */
        overflow: hidden;
        border: 3px solid gold; /* optional: keep the border */
    }

    .circular-frame img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 50%; /* ensures the image itself is circular */
    }
}


.menu-toggle {
    font-size: 2rem;
    cursor: pointer;
    display: none; /* will show only on mobile */
}


.menu-toggle {
    font-size: 2rem;
    cursor: pointer;
    display: none; /* will show only on mobile */
}

@media (max-width: 768px) {

    /* Container */
    .menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 22px;
        cursor: pointer;
        position: absolute;
        top: 15px;
        right: 20px;
        z-index: 2000;
    }

    /* Hamburger bars */
    .menu-toggle span {
        display: block;
        height: 4px;
        width: 100%;
        background: #333;
        border-radius: 2px;
        transition: all 0.3s ease;
    }

    /* Active state: rotate to form X */
    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    /* Mobile menu hidden by default */
    .nav-links {
        display: none;
        flex-direction: column;
        align-items: center;
        position: fixed;
        top: 60px;
        left: 0;
        width: 100%;
        background: #fff;
        gap: 20px;
        padding: 20px 0;
        z-index: 1500;
    }

    /* Show menu */
    .nav-links.active {
        display: flex;
    }
