/* ---------------- GLOBAL RESET ---------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
    scroll-padding-top: 220px; /* height of your sticky header + margin */
}


body {
    font-family: Arial, sans-serif;
    background-color: #fff;
    color: #444;
}

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
}


/* ---------------- PRELOADER ---------------- */
#preloader {
    position: fixed;
    inset: 0;
    background: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity .5s ease, visibility .5s ease;
}

#preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.loader-logo {
    width: 130px;
    animation: zoom 1.5s infinite ease-in-out;
}

@keyframes zoom {
    0% { transform: scale(0.9); opacity: 0.7; }
    50% { transform: scale(1.1); opacity: 1; }
    100% { transform: scale(0.9); opacity: 0.7; }
}

/* ---------------- HEADER ---------------- */
.header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    background-color:#f2f2f2;
    border-radius: 100px;
    flex-wrap: wrap;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 10;

    opacity: 0;
    transform: translateY(-20px);
    transition: all 1s ease-out;
}

.header-wrapper.visible {
    opacity: 1;
    transform: translateY(0);
}

.header-wrapper img {
    width: 170px;
    height: auto;
}

/* ---------------- NAVIGATION ---------------- */
.nav-bar ul {
    display: flex;
    align-items: center;
    gap: 100px;
    list-style: none;
    flex-wrap: wrap;
    justify-content: center;
}

.nav-bar ul li a {
    font-size: 16px;
    font-weight: bold;
    color: green;
    text-decoration: none;
    transition: color 0.3s;
}

.nav-bar ul li a:hover {
    color: #005500;
}

/* Call Box */
.call-box {
    background-color: green;
    color: white;
    padding: 8px 18px;
    border-radius: 40px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: bold;
    font-size: 22px;
    cursor: pointer;
    transition: 0.3s ease;
}

.call-box:hover {
    background-color: #005500;
    transform: scale(1.05);
}

.call-box .material-symbols-outlined {
    font-size: 20px;
}

/* ---------------- HAMBURGER ---------------- */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: green;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
}
.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ---------------- HEADING / ABOUT ---------------- */
.heading {
    width: 90%;
    margin: 40px auto;
    text-align: center;

    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease-out;
}

.heading.visible {
    opacity: 1;
    transform: translateY(0);
}

.heading h2 {
    font-size: 26px;
    color: green;
    margin-bottom: 15px;
}

.heading p {
    font-size: 16px;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
    text-align: justify;
}

/* ---------------- ABOUT SECTION ---------------- */
.about-section {
    width: 80%;
    max-width: 900px;
    margin: 60px auto;
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
    background: #f2f2f2;
    padding: 40px 30px;
    border-radius: 50px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.about-section:hover {
    transform: translateY(-5px);
}

.about-image {
    flex: 1;
    min-width: 250px;
    display: flex;
    justify-content: center;
}

.about-image img {
    width: 70%;
    max-width: 350px;
    border-radius: 15px;
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.about-image img:hover {
	 background: white;
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.about-content {
    flex: 1;
    min-width: 250px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
    text-align: left;
}

.about-content h2 {
    font-size: 28px;
    color: green;
}

.about-content p {
    font-size: 16px;
    line-height: 1.7;
    color: #555;
}

/* Highlights */
.about-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 20px;
}

.highlight-box {
    flex: 1 1 180px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 6px 18px rgba(0,0,0,0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    font-weight: 500;
}

.highlight-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}

.highlight-box span.material-symbols-outlined {
    font-size: 1.5rem;
    color: #4CAF50;
}

/* Animation states */
.about-section.animate,
.about-image.animate,
.about-content.animate,
.highlight-box {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.about-section.animate.visible,
.about-image.animate.visible,
.about-content.animate.visible,
.highlight-box.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---------------- PRODUCTS ---------------- */
.products {
    width: 90%;
    margin: 40px auto;
    text-align: center;
}

.products h2 {
    font-size: 24px;
    color: green;
    margin-bottom: 20px;
}

.hairoil {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.product-card {
    width: 160px;
    background: #fff;
    text-align: center;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    transition: .3s ease;
    padding-bottom: 12px;
    opacity: 0;
    transform: translateY(15px);
}

.product-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.product-card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
}

.product-card h3 {
    margin: 8px 0;
    font-size: 16px;
    color: green;
}

.product-card:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0,0,0,0.3);
}

.product-description {
    font-size: 14px;
    color: #333;
    margin: 10px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.65);
    border-radius: 10px;
    backdrop-filter: blur(6px);
    box-shadow: inset 0 0 10px rgba(0,0,0,0.05);
    opacity: 0;
    transform: translateY(10px);
    transition: .3s ease;
}

.product-card.visible .product-description {
    opacity: 1;
    transform: translateY(0);
}

.product-card.animate {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.product-card.animate.visible {
    opacity: 1;
    transform: translateY(0);
}

.contact-number {
    font-weight: bold;
    font-size: 24px;
    color: green;
    cursor: pointer;
    transition: .2s ease;
}

.contact-number:hover {
    transform: scale(1.1);
    color: #005500;
}

/* ---------------- REVIEWS SECTION ---------------- */
.reviews-section {
    width: 90%;
    margin: 40px auto;  /* <-- 60px top & bottom margin */
    text-align: center;
}


.reviews-section h2 {
    font-size: 26px;
    color: green;
    margin-bottom: 25px;
}

.review-container {
    max-width: 1000px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 15px;
}

.review-card {
    background: #fff;
    padding: 15px;
    border-radius: 15px;
    border-left: 6px solid #4CAF50;
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
    transition: all 0.3s ease;
    opacity: 0;
	margin-bottom: 0;
	cursor: pointer;
    transform: translateY(20px);
}

.review-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.18);
}

.review-stars {
    font-size: 20px;
    color: #FFD700;
    margin-bottom: 10px;
}

.review-text {
    font-size: 15px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 10px;
}

.review-name {
    font-size: 14px;
    color: #333;
    font-style: italic;
}

.view-all-btn {
    display: inline-block;
    padding: 10px 25px;
    background-color: green;
    color: white;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s ease;
}
.view-all-btn:hover {
    background-color: #005500;
    transform: scale(1.05);
}


/* ---------------- FOOTER ---------------- */
.footer-modern {
    background: url('images/footer.jpeg') center center / cover no-repeat;
    color: white;
    padding: 120px 20px 30px;
    background-position:center 90%;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 40px;
    max-width: 1200px;
    margin: auto;
}

/* Fixed footer-contact alignment */
.footer-contact p {
    display: flex;
    align-items: flex-start;  /* top align icons with multi-line text */
    gap: 8px;
    color: white;
    margin: 6px 0;
    text-decoration: none;
    font-size: 16px;
}

.footer-contact p .material-symbols-outlined {
    font-size: 20px;
    color: #ffdb58;
    flex-shrink: 0;
    margin-top: 2px; /* optional: adjust vertical alignment */
}

.footer-section {
    flex: 1 1 250px;
    min-width: 250px;
}

.footer-logo h2,
.footer-section h3 {
    font-size: 28px;
    color: #ffdb58;
    margin-bottom:15px;
}

.footer-links a,
.footer-contact p {
    transition: .3s ease;
}

.footer-links a:hover,
.footer-contact p:hover {
    color: #ffdb58;
    transform: translateX(5px);
}

.footer-social .social-icons {
    display: flex;
    gap: 10px;
    justify-content: flex-start;
}

.footer-social .social-icons a {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    color: white;
    font-size: 22px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.footer-social .social-icons a:hover {
    background: #4CAF50;
    transform: scale(1.2);
}

/* Map Section */
.footer-map {
    flex: 1 1 250px;
    min-width: 250px;
    text-align: center;
}

.footer-map .map-container {
    width: 100%;
    height: 150px;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.footer-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.footer-bottom {
    text-align: center;
    margin-top: 40px;
    opacity: 0.8;
    font-size: 13px;
}

/* ---------------- RESPONSIVENESS ---------------- */
@media (max-width: 768px) {
    .header-wrapper {
        flex-direction: column;
        text-align: center;
        padding: 20px;
        border-radius: 0;
    }

    .header-wrapper img {
        width: 140px;
        margin-bottom: 10px;
    }

    .hamburger { display: flex; }

    .nav-bar {
        display: none;
        width: 100%;
        text-align: center;
    }

    .nav-bar.active { display: block; }

    .nav-bar ul { flex-direction: column; gap: 15px; }

    .about-section { flex-direction: column; text-align: center; padding: 30px 20px; gap: 30px; }
    .about-content { text-align: center; }
    .highlight-box { flex: 1 1 100%; justify-content: center; }

    .product-card { width: 140px; }
    .product-card img { height: 140px; }
    .product-description { font-size: 13px; padding: 8px; background: rgba(255,255,255,0.85); }

    .footer-content {
        flex-direction: column;
        text-align: center;
        justify-content: center;
        gap: 20px;
    }
    .footer-modern {
		height:1000px;
	}
	.footer-section  h2 {
		margin-top:100px;
	}
    .footer-section { flex: 1 1 100%; margin-bottom: 20px; }
    .footer-social .social-icons { justify-content: center; }
    .footer-map .map-container { height: 180px; }
    .footer-bottom { font-size: 12px; margin: 15px 0 75px; }
}

@media (min-width: 769px) {
    .product-card:hover .product-description {
        background: rgba(255,255,255,0.9);
        transform: scale(1.02);
    }
}
/* Mobile Responsive */
@media (max-width: 768px) {
    .review-container {
        grid-template-columns: 1fr;
    }
    .review-card {
        padding: 18px;
    }
}
