@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

:root {
    --cream: #fdf6ec;
    --blue: #0B3053;
    --light-blue: #446787;
    --text: #1f2937;
    --white: #ffffff;
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Roboto', sans-serif;
    --font-heading-weight: 700;
    --font-body-weight: 400;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    height: 100%;
    width: 100%;
    background-color: var(--cream);
}

#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--cream);
    /* Change to your site background */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.loader-logo {
    width: 10vw;
    /* Adjust size as needed */
    animation: rotate 5s linear infinite;
}

@media(max-width:1024px) {
    .loader-logo {
        width: 18vw;
    }
}

@media(max-width:767px) {
    .loader-logo {
        width: 25vw;
    }
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}


header {
    width: 100%;
    background-color: var(--cream);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.container {
    max-width: 1300px;
    margin: auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img:first-child {
    width: 60px;
}

@media (max-width: 1024px) {
    .logo img:first-child {
        width: 50px;
    }
}

@media (max-width: 767px) {
    .logo img:first-child {
        width: 40px;
    }
}


.logo img:last-child {
    width: 160px;
}

@media (max-width: 1024px) {
    .logo img:last-child {
        width: 130px;
    }
}

@media (max-width: 767px) {
    .logo img:last-child {
        width: 100px;
    }
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: black;
    cursor: pointer;
}

button {
    cursor: pointer;
    border: none;
    outline: none;
    font-family: var(--font-body);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--blue);
}

h1 {
    font-size: 36px;
    font-weight: var(--font-heading-weight);
}

.header-container {
    max-width: 1400px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
}

nav ul {
    display: flex;
    gap: 30px;
}

.toggle-menu {
    display: none;
    font-size: 28px;
    color: var(--text);
    cursor: pointer;
}

@media (max-width: 1024px) {
    nav ul {
        gap: 20px;
    }
}

@media (max-width: 767px) {
    nav ul {
        display: none;
        position: absolute;
        top: 60px;
        right: 0px;
        background-color: var(--cream);
        flex-direction: column;
        padding: 25px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        border-radius: 4px;
        /* width:100%; */
        gap: 12px;
        z-index: 1000;
    }

    nav ul li {
        width: fit-content;
        font-size: 14px;
    }

    nav ul li a {
        font-size: 16px !important;
    }

    .toggle-menu {
        display: block;
    }

    .toggle-menu i:first-child {
        display: block;
    }

    .toggle-menu i:last-child {
        display: none;
    }
}

nav ul li a {
    font-family: var(--font-body);
    font-size: 18px;
    font-weight: var(--font-heading-weight);
    color: var(--text);
}

@media (max-width: 1024px) {
    nav ul li a {
        font-size: 16px;
    }
}

nav ul li a.active,
nav ul li a:hover,
.info-item-link a:hover {
    color: var(--light-blue);
    transition: all 0.3s ease;
}

nav ul li a::after,
.info-item-link::after {
    content: '';
    display: block;
    width: 0;
    height: 2px;
    background: var(--light-blue);
    transition: width .3s;
}

nav ul li a:hover::after,
nav ul li a.active::after,
.info-item-link:hover::after,
.info-item-link.active::after {
    width: 100%;
}

section {
    padding: 6rem 40px;
}

@media (max-width: 1024px) {
    section {
        padding: 4rem 40px;
    }
}

/* ==========================
   Hero Section
========================== */
.hero {
    background: linear-gradient(135deg, var(--cream) 65%, var(--blue) 35%);
}

@media (max-width: 1024px) {
    .hero {
        background: linear-gradient(135deg, var(--cream) 60%, var(--blue) 40%);
    }
}

@media (max-width: 767px) {}

.hero-container,
.ceo-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
}

@media (max-width: 1024px) {

    .hero-container,
    .ceo-container {
        gap: 2rem;
    }
}

@media (max-width: 1024px) {

    .hero-container {
        flex-direction: column;
    }

    .ceo-container {
        flex-direction: column;
    }
}

.hero-text,
.ceo-text {
    flex: 1;
    z-index: 1;
}

h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--blue);
    margin-bottom: 0.5rem;
}

@media (max-width: 1024px) {
    h3 {
        font-size: 1.5rem;
    }
}

.hero-text p,
.ceo-text p {
    font-family: var(--font-body);
    font-size: 1.2rem;
    color: var(--text);
    margin-bottom: 1rem;
    line-height: 1.6em;
    text-align: justify !important;
    word-spacing: -1.8px;
    letter-spacing: 0.1px;


}

@media (max-width: 1024px) {

    .hero-text p,
    .ceo-text p {
        font-size: 1rem;
    }
}

.hero-text .btn {
    background-color: var(--blue);
    color: var(--white);
    padding: 0.8rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2);
}

@media (max-width: 1024px) {
    .hero-text .btn {
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
    }
}

.hero-text .btn:hover {
    background-color: var(--light-blue);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(59, 130, 246, 0.3);
}

.hero-image,
.ceo-image {
    flex: 1;
    text-align: right;
    z-index: 1;
}

.hero-image img,
.ceo-image img {
    width: 90%;
    max-width: 500px;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

@media (max-width:767px) {

    .hero-image img,
    .ceo-image img {
        width: 100%;
        max-width: 1000px;

    }

}

.hero-image img:hover {
    transform: scale(1.03);
}

.rizzub-testimonial-section {
    width: 90%;
    text-align: center;
    position: relative;
    margin: auto;
}

.rizzub-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--blue);
}

@media (max-width: 1024px) {
    .rizzub-title {
        font-size: 1.8rem;
    }
}

@media (max-width:767px) {
    .rizzub-title {
        font-size: 1.5rem
    }
}

/* Slider container */
.rizzub-slider {
    position: relative;
    width: 93%;
    overflow-x: hidden;
    overflow-y: visible;
    padding: 10px 0;
    margin: auto;
}

/* Track */
.rizzub-track {
    display: flex;
    transition: transform 0.5s ease;
}

/* Individual Card */
.rizzub-card {
    flex: 0 0 calc(33.333% - 20px);
    margin: 0 10px;
    background: #ffffff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: -5px 5px 10px rgba(0, 0, 0, 0.1);
    text-align: left;
}

/* Responsive: 1 card per slide on mobile */
@media (max-width: 1024px) {
    .rizzub-card {
        flex: 0 0 calc(50% - 20px);
        margin: 0 10px;
    }
}


.rizzub-card123 {
    padding: 0 !important;
    flex: 0 0 calc(97%) !important;
    border-radius: 14px;
    border: 4px solid var(--blue);
    overflow: hidden;
}

.rizzub-card-product {
    background-color: transparent;
    padding: 0px;
}

.rizzub-card-product .about-dept-card img,
.director-img img {
    height: 250px;
}

.rizzub-card-product .about-dept-card h3 {
    font-size: 1.2rem;
    text-align: center;
}


@media (max-width: 767px) {
    .rizzub-card {
        flex: 0 0 calc(92%);
        margin: 0 10px;
    }

    .rizzub-card123 {
        flex: 0 0 calc(95%) !important;
    }
}

.rizzub-testimonial-section123 {
    width: 100% !important;
}

@media(max-width:767px) {
    .rizzub-testimonial-section123123 {
        padding-left: 20px;
        padding-right: 20px;
    }
}

.rizzub-card p {
    color: var(--text);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 10px;
    font-family: var(--font-body);
    font-weight: var(--font-body-weight);
}

@media (max-width: 1024px) {
    .rizzub-card p {
        font-size: 0.9rem;
    }
}

.rizzub-card h4 {
    color: var(--light-blue);
    font-size: 0.9rem;
    font-weight: var(--font-heading-weight);
    font-family: var(--font-heading);
}

@media (max-width: 1024px) {
    .rizzub-card h4 {
        font-size: 0.85rem;
    }
}

/* Navigation buttons */
.rizzub-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.1);
    border: none;
    font-size: 24px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    color: var(--blue);
    transition: 0.3s;
    z-index: 5;
}

.rizzub-nav:hover {
    background: var(--light-blue);
    color: var(--white);
}

.rizzub-prev {
    left: 0px;
}

.rizzub-next {
    right: 0px;
}

@media(max-width:1024px) {

    .rizzub-prev {
        left: -10px;
    }

    .rizzub-next {
        right: -10px;
    }
}


@media(max-width:767px) {

    .rizzub-prev {
        left: -20px;
    }

    .rizzub-next {
        right: -25px;
    }
}

.association-logos {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    margin-top: 2rem;
    padding-bottom: 2rem;
}

.rizzub-slider123 {
    width: 88% !important;
}

@media (max-width:1024px) {
    .association-logos {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        justify-items: center;
        max-width: 600px;
        margin: 1.5rem auto 0 auto;
    }
}

@media (max-width:767px) {
    .association-logos {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        justify-items: center;
        max-width: 600px;
        margin: 1.5rem auto 0 auto;
        width: 100%;
    }
}

.association-container h3 {
    text-align: center;
}

@media (max-width:1024px) {
    .association-container h3 {
        font-size: 1.8rem;
    }
}

@media (max-width:767px) {
    .association-container h3 {
        font-size: 1.5rem;
    }
}


.association-logos img {
    height: 120px;
    aspect-ratio: 1/1;
    object-fit: contain;
}

@media(max-width:767px) {

    .association-logos img {
        height: 80px;
    }
}


.footer {
    padding: 30px 0 20px;
    text-align: left;
    border-top: 4px solid var(--blue);
    border-radius: 14px;
}


/* Footer Container */
.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 0 20px;
}

.footer-social {
    margin-top: 10px;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Columns */
.footer-col {
    flex: 1;
    margin-bottom: 10px;
}

@media (max-width: 1024px) {
    .footer-col:first-child {
        flex: 1.1;
    }

    .footer-col:last-child {
        flex: 1.3;
    }
}

.footer-logo-container {
    display: flex;
    align-items: center;
}

/* Logo */
.footer-logo {
    width: 70px;
    margin-bottom: 15px;
}

@media (max-width: 1024px) {
    .footer-logo {
        width: 60px;
    }
}

@media (max-width: 767px) {
    .footer-logo {
        width: 40px;
    }
}

.footer-logo-text {
    width: 150px;
    margin-left: 10px;
    margin-bottom: 15px;
}

@media (max-width: 1024px) {
    .footer-logo-text {
        width: 130px;
    }
}

@media(max-width:767px) {
    .footer-logo-text {
        width: 100px;
    }
}

/* Social icons */
.footer-social a {
    color: var(--blue);
    font-size: 16px;
    transition: color 0.3s;
}

.footer-social a:hover {
    color: #00ff66;
}

/* Headings */
.footer-col h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--text);
    font-family: var(--font-heading);
}

@media (max-width: 1024px) {
    .footer-col h4 {
        font-size: 1.1rem;
    }
}

@media (max-width: 767px) {
    .footer-col:nth-child(2) {
        padding-left: 15px;
    }
}

/* Links */
.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 8px;
}

@media (max-width: 1024px) {
    .footer-col ul li {
        margin-bottom: 6px;
    }
}

.footer-col ul li a {
    color: var(--text);
    text-decoration: none;
    transition: color 0.3s;
    font-family: var(--font-body);
    font-size: 1.1rem;
}

@media (max-width: 1024px) {
    .footer-col ul li a {
        font-size: 1rem;
    }
}

.footer-col ul li a:hover {
    color: var(--light-blue);
}

/* Contact */
.footer-col p {
    margin: 6px 0;
    font-size: 1.1rem;
    color: var(--text);
    font-family: var(--font-body);
}

@media (max-width: 1024px) {
    .footer-col p {
        font-size: 1rem;
    }
}

.footer-col i {
    margin-right: 8px;
    margin-left: 4px;
    color: var(--blue);
}

/* Bottom Bar */
.footer-bottom {
    border-top: 1px solid var(--blue);
    text-align: center;
    padding-top: 15px;
    margin-top: 10px;
    color: var(--text);
    font-size: 13px;
}

.footer-bottom p {
    color: gray;
    font-size: 16px;
}



/* Contact Page */

.contact-section {
    text-align: center;
}

.contact-section h1 {
    margin-bottom: 10px;
}

.product-heading h1 {
    margin-bottom: 30px;
    text-align: center;
}

@media (max-width: 1024px) {

    .contact-section h1,
    .product-heading h1 {
        font-size: 1.8rem;
    }
}

@media (max-width: 767px) {

    .contact-section h1,
    .product-heading h1 {
        font-size: 1.5rem !important;
    }
}


.contact-section .intro {
    max-width: 700px;
    margin: auto;
    font-family: var(--font-body);
    font-weight: var(--font-body-weight);
    line-height: 1.6;
}

@media (max-width: 1024px) {
    .contact-section .intro {
        font-size: 0.9rem;
    }
}

@media (max-width: 767px) {
    .contact-section .intro {
        font-size: 0.85rem !important;
        line-height: 1.4 !important;
    }
}

.contact-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 50px;
    margin: 30px auto;
}

@media (max-width: 1024px) {
    .contact-container {
        /* flex-direction: column; */
        gap: 30px;
    }
}

.contact-left {
    text-align: left;
    flex: 1;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

@media (max-width: 1024px) {
    .contact-info {
        gap: 10px;
    }
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background-color: #ffffff;
    box-shadow: -3px 5px 5px rgba(0, 0, 0, 0.1);
    padding: 15px 20px;
    border-radius: 10px;
}

.info-item i {
    font-size: 26px;
    color: var(--blue);
    margin-top: 3px;
}

@media (max-width: 1024px) {
    .info-item i {
        font-size: 20px;
    }
}

.info-item p {
    color: var(--text);
    line-height: 1.6;
    font-family: var(--font-body);
    font-weight: var(--font-body-weight);
    font-size: 1.1rem;
}

@media (max-width: 1024px) {
    .info-item p {
        font-size: 0.9rem;
    }
}

.info-item p strong {
    color: var(--blue);
    font-weight: var(--font-heading-weight);
}

.social-icon {
    width: 28px;
    fill: var(--blue);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: fill 0.3s ease;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-icons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 10px;
}

.social-icon-container {
    padding: 8px;
    background-color: var(--white);
    box-shadow: 0px 0px 6px 5px rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

@media (max-width: 1024px) {
    .social-icon {
        width: 24px;
    }

    .social-icon-container {
        padding: 6px;
    }
}

.social-icon-container:hover {
    background-color: var(--blue);
    color: var(--white);
    transform: translateY(-3px);
}

.social-icon-container:hover .social-icon {
    fill: var(--white);
}

.contact-social h4 {
    margin-top: 50px;
    text-align: center;
    font-size: 1.3rem;
    margin-bottom: 0px;
    color: var(--blue);
}

@media (max-width: 1024px) {
    .contact-social h4 {
        font-size: 1.1rem;
        margin-top: 20px;
    }
}

@media (max-width: 1024px) {
    .contact-social h4 {
        font-size: 1rem;
        margin-top: 20px;
    }
}

.contact-right {
    flex: 1;
}

.map-container {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.map-container iframe {
    width: 100%;
    height: 350px;
    border: none;
}

@media (max-width: 1024px) {
    .map-container iframe {
        height: 280px;
    }
}

/* ----- CONTACT LAYOUT FIX: INFO + FORM + MAP ----- */

/* Make three blocks flexible */
.contact-left,
.contact-right,
.contact-map-block {
    flex: 1 1 100%;
}

/* 📱 MOBILE: FORM → INFO → MAP */
@media (max-width: 767px) {
    .contact-container {
        flex-direction: column;
        gap: 30px;
        width:100%
    }

    .contact-right {      /* form first */
        order: 1;
        width:100%
    }

    .contact-right  .form-heading{
        font-size:1.5rem
    }

    .contact-left {       /* info + socials */
        order: 2;
        width:100%
    }

    .contact-map-block {  /* map */
        order: 3;
        width:100%
    }
}

/* 💻 DESKTOP: 50% INFO | 50% FORM | MAP FULL WIDTH */
@media (min-width: 768px) {
    .contact-container {
        flex-wrap: wrap;
        align-items: center;
    }

    .contact-left,
    .contact-right {
        flex: 0 0 calc(50% - 25px);
        max-width: calc(50% - 25px);
    }

    .contact-map-block {
        flex: 0 0 100%;
        max-width: 100%;
        margin-top: 20px;
    }

    .contact-left {
        order: 1;
    }

    .contact-right {
        order: 2;
    }

    .contact-map-block {
        order: 3;
    }
}



/* About Page */

/* Intro section */
.about-intro {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1.2fr);
    gap: 40px;
    align-items: center;
}

@media (max-width: 1024px) {
    .about-intro {
        grid-template-columns: minmax(0, 2fr) minmax(0, 1.4fr);
        gap: 20px;
    }
}

@media (max-width: 767px) {
    .about-intro {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

.about-text p {
    margin: 10px 0 14px;
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text);
    font-family: var(--font-body);
    font-weight: var(--font-body-weight);
    text-align: justify !important;
    word-spacing: -1.8px;
    letter-spacing: 0.1px;
}

@media (max-width: 1024px) {
    .about-text h1 {
        font-size: 1.8rem;
    }

    .about-text p {
        font-size: 1rem;
        margin: 8px 0 12px;
    }
}

@media (max-width: 767px) {
    .about-text h1 {
        font-size: 1.5rem;
    }

    .about-text p {
        font-size: 0.9rem;
        margin: 8px 0 12px;
        line-height: 1.4;
    }
}

/* Highlight box */
.about-highlight {
    height: fit-content;
    background: var(--blue);
    color: #fff;
    border-radius: 16px;
    padding: 30px 26px;
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.1);
}

.about-highlight h4 {
    font-size: 1.1rem;
    margin: 0 0 16px;
    color: var(--white);
    font-weight: 600;
}

@media (max-width: 1024px) {
    .about-highlight h4 {
        font-size: 1rem;
    }
}

@media (max-width: 767px) {
    .about-highlight h4 {
        font-size: 0.9rem;
    }
}

.about-highlight li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
    font-size: 1rem;
    line-height: 1.4;
    font-family: var(--font-body);
    font-weight: var(--font-body-weight);

}

@media (max-width: 1024px) {
    .about-highlight li {
        font-size: 0.85rem;
    }
}


@media (max-width: 767px) {
    .about-highlight li {
        font-size: 0.8rem;
    }
}


.about-highlight li::before {
    content: "•";
    position: absolute;
    left: 5px;
    top: 0;
    color: #cda569;
    /* gold accent */
}

/* Departments section */
.section-heading {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 30px;
}

@media (max-width: 1024px) {
    .section-heading {
        font-size: 1.8rem;
    }
}

@media (max-width: 767px) {
    .section-heading {
        font-size: 1.5rem;
    }
}

.about-dept-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

@media (max-width: 1024px) {
    .about-dept-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .about-dept-grid {
        grid-template-columns: 1fr;
    }
}

.about-dept-card{
    background: var(--white);
    border-radius: 18px;
    padding: 22px 20px;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.05);
    border-top: 4px solid var(--blue);
}

@media(max-width:767px) {

    .about-dept-card,
    .director-img {
        background: var(--white);
        border-radius: 18px;
        padding: 16px 15px;
        box-shadow: 0 8px 22px rgba(0, 0, 0, 0.05);
        border-top: 4px solid var(--blue);
    }
}

.about-dept-card img,
.director-img img {
    width: 100%;
    border-radius: 12px;
    margin-bottom: 15px;
    object-fit: cover;
    height: 300px;
}

@media (max-width: 1024px) {

    .about-dept-card img,
    .director-img img {
        height: 250px;
    }
}

@media (max-width: 767px) {

    .about-dept-card img,
    .director-img img {
        height: 150px;
    }
}

.about-dept-card h3 {
    font-size: 1.5rem;
    color: var(--blue);
}

@media (max-width: 1024px) {
    .about-dept-card h3 {
        font-size: 1.2rem;
    }
}

@media (max-width: 767px) {
    .about-dept-card h3 {
        font-size: 1rem;
    }
}

.about-dept-card p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text);
    font-family: var(--font-body);
    font-weight: var(--font-body-weight);
    text-align: justify !important;
    word-spacing: -1.8px;
    letter-spacing: 0.1px;
}

@media (max-width: 1024px) {
    .about-dept-card p {
        font-size: 0.9rem;
    }
}


@media (max-width: 767px) {
    .about-dept-card p {
        font-size: 0.8rem;
        line-height: 1.4;
    }
}

section.about-section {
    padding: 3rem 40px;
}

section.products-section{
    padding:3rem 40px;
}

section.form-section {
    padding: 3rem 40px;
}

@media (max-width: 1024px) {
    section.form-section:first-child {
        padding: 3rem 40px 1rem 40px;
    }

    section.about-section:last-child {
        padding: 1rem 40px 3rem 40px;
    }
}

/* Products */
/* ====== ALTERNATING PRODUCT SECTIONS ====== */

/* Base mobile layout: text first, image second */
.aa-product-layout {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Desktop alternating layout */
@media (min-width: 768px) {
  .aa-product-layout {
    flex-direction: row;
    align-items: flex-start;
  }

  /* Even-numbered products reverse the layout */
  .product-item:nth-child(even) .aa-product-layout {
    flex-direction: row-reverse;
  }

  .aa-product-layout .product-media,
  .aa-product-layout .product-content {
    width: 50%;
  }

  .product-item:nth-child(even) .aa-product-layout .product-content {
    padding-left: 0;
    padding-right: 2rem;
    align-self: anchor-center;
  }

  .product-item:nth-child(odd) .aa-product-layout .product-content {
    padding-left: 2rem;
    padding-right: 0;
    align-self: anchor-center;
  }
}


/* ====== PRODUCT GALLERY ====== */

.aa-gallery {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.aa-gallery-main {
  border-radius: 12px;
  overflow: hidden;
  background: #f5f5f5;
  position: relative;
}

.aa-gallery-main-img {
  width: 100%;
  display: block;
  object-fit: cover;
  cursor: zoom-in;
}

/* Thumbnails row */
.aa-gallery-thumbs {
  display: flex;
  gap: 0.5rem;
  flex-wrap: nowrap;
  overflow-x: auto;
}

.aa-gallery-thumb {
  border: 2px solid transparent;
  border-radius: 8px;
  padding: 0;
  margin: 0;
  background: none;
  cursor: pointer;
  flex: 0 0 64px;
  height: 64px;
  overflow: hidden;
}

.aa-gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.aa-gallery-thumb.is-active {
  border-color: #2563eb; /* highlight active thumbnail */
}

/* ====== LIGHTBOX ====== */

.aa-gallery-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 1rem;
}

.aa-gallery-lightbox.is-open {
  display: flex;
}

.aa-lightbox-inner {
  max-width: 900px;
  width: 100%;
}

.aa-lightbox-img {
  width: auto;
  height: 99dvh;
  margin:auto;
  display: block;
  border-radius: 12px;
  background: #ffffff;
}

.aa-lightbox-close {
  position: absolute;
  top: 12px;
  right: 16px;
  border: none;
  background: transparent;
  color: #ffffff;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

body.aa-no-scroll {
  overflow: hidden;
}


/* Product Layout */


.product-item {
   /* display: flex;*/
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    margin-bottom: 100px;
}

.product-item:nth-child(even) {
    flex-direction: row-reverse;
}

/* Image */
.product-media {
    flex: 1.1;
    
}

.product-media .aa-gallery-main {
    border: 3px solid var(--light-blue);
}

.product-media .aa-gallery-main img{
    object-fit: contain;
    height: 350px;
}

.product-media img {
    width: 100%;
    display: block;
    transition: transform 0.3s ease;
    background: var(--cream);
    object-fit: cover;
    object-position: center center;
}

@media (max-width:1024px) {
    .product-media img {
        height: 300px;
    }
}


@media (max-width:767px) {
    .product-media img {
        height: 200px;
    }
}

.product-media img:hover {
    transform: scale(1.5);
    transition: transform 0.3s ease;
}


/* Content */
.product-content {
    flex: 1;
}

.product-title {
    font-size: 26px;
    color: var(--blue);
    text-transform: uppercase;
    margin-bottom: 18px;
    font-weight: 600;
}

.product-content ul li {
    margin-bottom: 14px;
    line-height: 1.7;
    color: var(--text);
    font-size: 1.1rem;
    font-family: var(--font-body);
    font-weight: var(--font-body-weight);
}

.product-content ul li strong {
    color: var(--blue);
}

@media(max-width:767px) {


    .product-content ul {
        display: flex;
        flex-direction: column;
        gap: 0px;
    }

    .product-content ul li {
        font-size: 0.95rem !important;
        line-height: 1.4 !important;
        margin-bottom: 0;
    }

}

/* Animation */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.head-fade-in {
    opacity: 0;
    transition: opacity 0.7s ease;
}

.head-fade-in.is-visible {
    opacity: 1;
}

.fade-in.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Whatsapp Icon */

.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #49E670;
    color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 40px;
    box-shadow: 0px 2px 5px 3px rgba(0, 0, 0, 0.3);
    text-decoration: none;
    z-index: 100;
    transition: transform 0.2s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    transition: transform 0.2s ease;
    background-color: #16da65;
}

/* ==================== Responsive ==================== */

@media (max-width: 1024px) {
    .product-item {
        flex-direction: row;
        gap: 20px;
        margin-bottom: 40px;
    }

    .product-item:nth-child(even) {
        flex-direction: row-reverse;
    }

    .product-media {
        width: 100%;
    }

    .product-content {
        text-align: left;
    }

    .product-title {
        font-size: 1.3rem;
        margin-bottom: 5px;
    }
}

@media (max-width: 767px) {
    .product-item {
        flex-direction: column;
        gap: 20px;
        margin-bottom: 40px;
    }

    .product-item:nth-child(even) {
        flex-direction: column;
    }

    .product-title {
        font-size: 1.2rem;
        margin-bottom: 5px;
        text-align: center;
    }

}

/* Contact Form */

.form-box {
    max-width: 1000px;
    margin: auto;
}

.form-heading {
    text-align: center;
    font-size: 36px;
    color: var(--blue);
    /* navy */
    margin-bottom: 10px;
    font-weight: 700;
}

@media (max-width: 1024px) {
    .form-heading {
        font-size: 1.8rem;
        margin-bottom: 10px;
    }
}


/* ===== FORM BOX ===== */
.contact-form {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 14px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-top: 4px solid var(--blue);
    text-align:left;
}

@media (max-width: 1024px) {
    .contact-form {
        padding: 30px 20px;
    }
}

.form-group {
    margin-bottom: 20px;
}

@media (max-width: 1024px) {
    .form-group {
        margin-bottom: 10px;
    }
}

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--text);
    font-family: var(--font-body);
    margin-bottom: 8px;
    font-size: 14px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 15px;
    font-family: inherit;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background-color: #fdfaf4;
    font-family: var(--font-body);
}

@media (max-width: 1024px) {

    .form-group input,
    .form-group textarea {
        font-size: 13px;
        padding: 10px 12px;
    }
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #cda569;
    /* gold accent */
    outline: none;
    box-shadow: 0 0 0 2px rgba(205, 165, 105, 0.25);
}

/* ===== BUTTON ===== */
.btn-submit {
    display: block;
    width: 100%;
    padding: 12px;
    background-color: var(--blue);
    color: var(--white);
    border: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    transition: background-color 0.3s ease, transform 0.1s ease, box-shadow 0.1s ease;
}

@media (max-width: 1024px) {
    .btn-submit {
        font-size: 13px;
        padding: 10px;
    }
}

.btn-submit:hover {
    background-color: #cda569;
    color: #0b2746;
    box-shadow: 0 10px 18px rgba(0, 0, 0, 0.15);
    transform: translateY(-1px);
}

.btn-submit:active {
    transform: translateY(0);
    box-shadow: none;
}

/* Optional little message (client-side only) */
.form-note {
    margin-top: 10px;
    font-size: 13px;
    color: var(--text);
    text-align: center;
    font-family: var(--font-body);

}

@media (max-width: 1024px) {
    .form-note {
        font-size: 12px;
    }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 600px) {
    .contact-form-section {
        padding: 60px 0;
    }

    .contact-form {
        padding: 30px 20px;
    }

    .form-heading {
        font-size: 24px;
    }
}