* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-margin-top: 100px;
    scroll-behavior: smooth;

}


:root {
    /* Main Brand Colors */

    --primary: #1C52C9;
    /* Blue */
    --primary-foreground: #FFFFFF;
    /* White */
    --primary-glow: #4D83E6;
    /* Lighter Blue */

    --accent: #F9D71C;
    /* Yellow */
    --accent-foreground: #2D4A85;
    /* Dark Blue */
    --accent-glow: #FFE54C;
    /* Lighter Yellow */

    /* UI Colors */
    --background: #FFFFFF;
    /* White */
    --foreground: #212429;
    /* Dark Gray */
    --secondary: #F2F4F7;
    /* Light Gray */
    --border: #E1E4E9;
    /* Border Gray */
    --muted: #F2F4F6;
    /* Muted Gray */

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, hsl(220, 75%, 45%), hsl(220, 80%, 60%));
    --gradient-accent: linear-gradient(135deg, hsl(45, 95%, 55%), hsl(45, 100%, 65%));
    --gradient-hero: linear-gradient(135deg, hsl(220, 75%, 45%) 0%, hsl(220, 80%, 60%) 50%, hsl(45, 95%, 55%) 100%);

    /* Shadows */
    --shadow-glow: 0 0 40px hsl(220 75% 45% / 0.3);
    --shadow-accent-glow: 0 0 30px hsl(45 95% 55% / 0.4);
}


.fade-in {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.5s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 2;
    transform: translateY(0);
}


body {
    font-family: Arial, sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    background-color: var(--background);
    min-width: 400px;
    width: 100%;
}

header {
    background: var(--gradient-hero);
    color: black;
    position: fixed;
    top: 0;
    width: 100%;
    height: 100px;
    z-index: 999;
}

nav {
    position: relative;
    padding: 1rem;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    flex-direction: column;
    width: 100%;

}

.logo {
    position: fixed;
    top: 32px;
    left: 30px;
    font-size: 1.4rem;
    font-weight: bolder;
    display: inline-block;
}

.small {
    font-size: 0.8rem;
    color: gray;
    margin: 0px 0px 0px 50px;
}

.icon-holder {
    width: 30px;
    height: 30px;
    background: linear-gradient(125deg, hsla(228, 93%, 56%, 0.89), hsla(60, 82%, 44%, 0.933));
    border-radius: 5px;
    margin-top: -10px;
    margin-right: 5px;
    display: inline-block;
    text-align: center;
    padding: auto 0;
}

/* Hamburger button */
.menu-toggle {
    font-size: 2rem;
    cursor: pointer;
    color: black;
    background-color: transparent;
    border: none;
    margin-left: auto;
}

ul {
    list-style: none;
    display: none;
    flex-direction: column;
    background: transparent;
    border-radius: 20px;
}

ul li a {
    font-size: 1.1rem;
    display: block;
    padding: 1rem;
    color: black;
    text-decoration: none;
}

ul li a:hover {
    color: black;
    transform: scale(1.2);
    text-decoration: underline blue;
}

/* Show menu when active */
ul.active {
    display: flex;
}

/*the home section*/

#home {
    margin-top: 100px;
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background:
        linear-gradient(89deg, hsla(240, 88%, 55%, 0.693), hsla(60, 80%, 55%, 0.643)),
        url("images/ChatGPT Image Aug 8, 2025, 07_42_30 PM.png");
    background-size: cover;
    background-position: center;


}

.span {
    display: flex;
    justify-content: center;
    align-items: center;
    border: none;
    border-radius: 20px;
    padding: 5px 10px;
    color: white;
    background-color: #2980b9;
    font-size: 0.7rem;
    font-weight: 50;
}

.span svg {
    padding-right: 2px;
}

.home-heading {
    font-size: 2em;
    color: white;
    margin: 20px 0;
    text-shadow: 2px 2px 5px black;
    text-align: center;
}

h1 span {
    color: var(--accent-glow);
}

.home-description {
    font-size: 1.4rem;
    color: var(--secondary);
    margin-bottom: 10px;
    text-shadow: 2px 2px 5px black;
    text-align: center;
}

.h-btn {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    margin: 0 0 50px 0;
    margin-top: 50px;
}

.home-btn {
    padding: 10px;
    font-size: 0.9rem;
    color: var(--background);
    background: linear-gradient(to right, hsl(240, 70%, 50%) 20%, hsl(60, 30%, 50%) 70%);
    border-radius: 12px;
    border: none;
}

.home-btn:hover {
    transform: scale(1.08);
}

.h-btn2 {
    height: 45px;
    border-radius: 12px;
    padding: 5px 15px;
    color: white;
    background-color: hsl(240, 71%, 72%);
    border: 1px solid var(--border)
}

.h-btn2:hover {
    background-color: hsl(240, 91%, 79%);
}


.animebtn {
    width: 25px;
    height: 45px;
    border-radius: 12px;
    border: 1px solid blue;
    background-color: transparent;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: tranform 0.2 ease, box-shadow o.2s ease;
    margin-top: 60px;
}

.animebtn:hover {
    transform: scale(1.2);
    box-shadow: 0 0 15px #0000F5;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.animebtn.bounce {
    animation: bounce 1s infinite;
}

/*services section*/

h2 span {
    color: yellow;
}

.services-holder {
    text-align: center;
    width: 100%;
    background-color: white;
    color: black;
    margin-bottom: 30px;
}

.services-heading {
    margin: 50px 0 10px 0;
    font-size: 1.8em;
    padding: 5px;
}

.services-description {
    text-align: center;
    font-size: 1.1rem;

}

.services-container {
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 100px;
    padding: 20px;
}

.services-box {
    width: 400px;
    padding: 10px;
    border: 1px solid yellow;
    border-radius: 8px;
}

.services-box:hover {
    transform: scale(1.03);
}

.h3-heading {
    font-size: 1.2rem;
    margin: 3px 0 10px 0;
    color: black;
}

.h3-description {
    font-size: 1.2rem;
    color: gray;
}

.service-btn-holder {
    display: flex;
    justify-content: center;
}

.service-btn {
    display: flex;
    justify-content: space-evenly;
    width: 200px;
    border: none;
    border-radius: 12px;
    text-align: center;
    margin: 0 auto 50px;
    padding: 10px 20px;
    color: var(--accent-foreground);
    font-size: 1.2rem;
    box-shadow: 1px 1px 4px black;
}

.service-btn:hover {
    background-color: rgb(71, 188, 227);
}


/* about us section */
#about {
    background-color: #f6f6fb;
}

#about h2 span {
    color: var(--primary);
}

.about-heading {
    text-align: center;
    padding-top: 50px;
    color: var(--gray-medium);
    font-size: 1.6em;
}

#about .about-p {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 60px;

}

.about-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.about-container1 {
    padding: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    gap: 20px;
    align-items: center;
}

.about-para {
    width: 400px;
    font-size: 1.1rem;
    overflow: hidden;
    padding: 5px 20px;
    color: rgb(89, 88, 88);
}

.about-para h3 {
    color: black;
    padding: 0 0 20px 0;
}

figure {
    width: 450px;
}

figure img {
    width: 25em;
    height: 20em;
    border-radius: 20px;
}

.about-container2 {
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
    gap: 50px;
    margin-top: 50px;
    margin-bottom: 50px;
    padding: 0 20px;
}

.about-container2 .about-box {
    width: 300px;
    background-color: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 2px 2px 5px black;
}

.about-container2 .about-box h3 {
    font-size: 0.8em
}

.about-container2 .about-box p {
    font-size: 0.8rem;
    margin-top: 10px;
    color: gray;
}




/*gallery*/
#gallery {
    background-color: white;
    color: white;
}

.gallery-heading {
    text-align: center;
    text-shadow: 2px 2px 5px var(--accent-color1);
    padding: 20px;
    color: black;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    padding: 20px;
}

.gallery-grid img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 2px 2px 8px var(--accent-color1);
    transition: transform 0.3s ease;
}

.gallery-grid img:hover {
    transform: scale(1.05);
}


.gallery-wrapper {
    position: relative;
    margin-bottom: 100px;
}

.gallery-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: transparent;
    color: white;
    border: none;
    font-size: 2rem;
    padding: 10px;
    cursor: pointer;
    z-index: 10;
    border-radius: 50%;
    transition: background-color 0.3s;
}

.gallery-btn:hover {
    background-color: silver;
}

.left-btn {
    left: 10px;
}

.right-btn {
    right: 10px;
}


/*form section*/

#contact h2 {
    text-align: center;
    margin: 10px 0 15px 0;

}

#contact .contact-description {
    font-size: 1.1rem;
    text-align: center;
    margin-bottom: 40px;
}

.contact-infor {
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;

}

.contact-visit {
    width: 600px;
    padding: 25px;
}

.contact-visit h3 {
    margin: 10px 0 30px;
}


.contact-visit div {
    display: flex;
    align-items: center;
    gap: 10px;
    border: 2px solid lightblue;
    width: 100%;
    padding: 10px 20px;
    border-radius: 20px;
    margin-bottom: 20px;

}

.contact-visit div:hover {
    border: 3px solid hsla(240, 100%, 50%, 0.686);
    cursor: pointer;
}

iframe {
    width: 100%;
    border-radius: 20px;
}

.contact-visit div p {
    font-size: 1rem;
    color: gray;
}

.contact-form {
    width: 600px;
    border: 2px solid lightblue;
    border-radius: 20px;
    padding: 20px;
    margin-bottom: 50px;
}

.contact-form:hover {
    transform: scale(1.05);
}

.contact-form h2 {
    font-size: 1.7rem;
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 600px;
}

input {
    width: 100%;
    border-radius: 20px;
    padding: 15px 30px;
    border: 2px solid lightblue;
}

input:hover {
    border: 3px solid hsla(240, 100%, 50%, 0.686);
}


textarea {
    border-radius: 20px;
    border: 2px solid lightblue;
    padding: 10px 20px;
    width: 100%;
    height: 80px;
    transition: all 0.5s ease;
}

textarea:hover {
    border: 2px solid hsla(240, 100%, 50%, 0.686)
}


.form-btn {
    background: var(--gradient-hero);
    color: white;
    font-size: 1rem;
    font-weight: bold;
    padding: 12px 25px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    margin-top: 20px;
}

.form-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.25);
}


.form-btn:active {
    transform: translateY(0);
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.2);
}



/* Make it full width on mobile */
@media (max-width: 600px) {
    .form-btn {
        width: 100%;
    }
}

/*footer*/
footer {
    background-color: #2f71ec;
    color: #f4f4f4;
    padding: 40px 20px;
    font-family: Arial, sans-serif;
}

.footer-container {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    flex-wrap: wrap;
    gap: 20px;
}


.footer-container div {
    width: 200px;
}

.footer-about p {
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    align-items: center;

}

.footer-links a {
    color: white;
    text-decoration: none;
    padding: 5px;
    font-size: 1rem;
}

.footer-links a:hover {
    color: yellow;
}

.footer-social {
    text-align: left;
}

.footer-social h4 {
    font-size: 1.5rem;
}

.footer-social p {
    font-size: 0.9rem;
    margin: 10px 0 0;
}


.footer-bottom {
    text-align: center;
    margin-top: 30px;
    border-top: 1px solid #555;
    padding-top: 20px;
    font-size: 13px;
    color: #ccc;
}


/*phone sizes*/
@media (min-width: 320px) and (max-width: 600px) {
    .home-heading {
        font-size: 1.8em;
        color: white;
        text-shadow: 2px 2px 5px black;
        margin: 0 40px 30px;
    }

    .home-description {
        font-size: 16px;
        margin: 0 40px 30px;
    }

    .home-btn {
        font-size: 18px;
        margin: 0 40px 30px;
    }

    /*services*/
    .services-description {
        font-size: 1.2rem;
    }

    .about-container1 {
        font-size: 1.1rem;
        color: black;
        text-shadow: none;
        width: 80%;
    }


}





/* for services-box to be three when desktop*/

@media (max-width: 768px) {
    .services-box {
        flex: 0 0 calc(50% - 20px);
        max-width: calc(50% - 20px);
    }
}

@media (max-width: 480px) {
    .services-box {
        flex: 0 0 100%;
        max-width: 80%;
        height: 200px;
    }
}


/* Mobile layout of about grid section */

@media (max-width: 768px) {
    .about-container {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto;
    }

    .about-container1,
    .about-container2 {
        grid-column: 1;
        grid-row: auto;
    }
}

/* Responsive Footer */

@media (max-width: 768px) {

    .footer-container div {
        margin-bottom: 20px;
    }
}


/* Tablet & Phone: Switch to horizontal sliding */
@media (max-width: 1024px) {
    .gallery-grid {
        display: flex;
        gap: 10px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        padding: 20px;
    }

    .gallery-grid img {
        flex: 0 0 auto;
        width: 250px;
        height: 200px;
        scroll-snap-align: center;
    }

    .gallery-grid::-webkit-scrollbar {
        display: none;
    }

    .gallery-grid {
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

}

/* Media queries for responsiveness */
@media (min-width: 600px) {
    .menu-toggle {
        display: none;

    }

    ul {
        display: flex;
        flex-direction: row;
        justify-content: flex-end;
    }

}





header.scrolled {
    background-image: none !important;
    background-color: white !important;
    color: black;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* make logo + links turn black */
header.scrolled a,
header.scrolled .logo,
header.scrolled svg path {
    color: black;
    fill: white !important;
}



/* Skeleton block (rectangle/rounded placeholder) */
.skeleton {
    background: var(--skeleton-color);
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

/* shimmer animation */
@keyframes skeleton-shimmer {
    0% {
        transform: translateX(-120%);
    }

    100% {
        transform: translateX(120%);
    }
}

.skeleton::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.5) 50%, rgba(255, 255, 255, 0) 100%);
    transform: translateX(-120%);
    animation: skeleton-shimmer 1.2s linear infinite;
    pointer-events: none;
    mix-blend-mode: overlay;
}