/* ===== GLOBAL STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background: #F4F7FF;
    color: #222;
}

/* ===== HEADER ===== */
.header {
    position: sticky;
    top: 0;
    width: 100%;
    background: linear-gradient(90deg, #0057FF, #7F5BFF);
    z-index: 999;
    box-shadow: 0 4px 18px rgba(0,0,0,0.15);
}

.container {
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

/* ===== LOGO ===== */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    height: 50px;
}

.logo span {
    color: #ffffff;
    font-size: 20px;
    font-weight: 600;
}

/* ===== NAVIGATION ===== */
.nav-list {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-list li {
    position: relative;
}

.nav-list li a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    padding: 8px 0;
}

.nav-list li a:hover,
.nav-list li a.active {
    color: #FF8A00;
}

/* ===== DROPDOWN ===== */
.dropdown-menu,
.dropdown-submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.dropdown-menu li a,
.dropdown-submenu li a {
    color: #0A2540;
    padding: 10px 18px;
    display: block;
}

.dropdown-menu li a:hover {
    background: #F4F7FF;
    color: #0057FF;
}

/* Desktop hover */
.dropdown:hover > .dropdown-menu {
    display: block;
}

.dropdown-sub:hover > .dropdown-submenu {
    display: block;
    left: 100%;
    top: 0;
}

/* ===== MOBILE MENU ===== */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.menu-toggle span {
    width: 26px;
    height: 3px;
    background: #ffffff;
    margin: 4px 0;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {

    .menu-toggle {
        display: flex;
    }

    .nav-list {
        position: absolute;
        top: 72px;
        left: 0;
        width: 100%;
        background: linear-gradient(180deg, #0057FF, #7F5BFF);
        flex-direction: column;
        display: none;
    }

    .nav-list.active {
        display: flex;
    }

    .nav-list li a {
        padding: 14px 20px;
        font-size: 16px;
    }

    /* Mobile dropdown */
    .dropdown-menu,
    .dropdown-submenu {
        position: static;
        background: transparent;
        box-shadow: none;
        padding-left: 20px;
        flex-direction: column;
    }

    .dropdown.open > .dropdown-menu {
        display: flex;
    }

    .dropdown-sub.open > .dropdown-submenu {
        display: flex;
    }
}


/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    width: 100%;
    height: 60vh; /* smaller height */
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: all 1s ease;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(60%);
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    max-width: 700px; /* slightly smaller */
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 36px; /* smaller for better balance */
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
}

.hero-content p {
    font-size: 16px;
    margin-bottom: 20px;
}

.hero-content .btn {
    display: inline-block;
    background: #FF8A00;
    color: #fff;
    padding: 10px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

.hero-content .btn:hover {
    background: #FFD100;
}

/* HERO CONTROLS */
.hero-controls {
    position: absolute;
    width: 100%;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 30px;
    z-index: 10;
}

.hero-controls span {
    font-size: 28px; /* smaller arrows */
    color: #fff;
    cursor: pointer;
    transition: color 0.3s;
}

.hero-controls span:hover {
    color: #FF8A00;
}

/* MOBILE HERO */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 28px;
    }
    .hero-content p {
        font-size: 14px;
    }
    .hero-content .btn {
        padding: 8px 20px;
    }
    .hero-controls span {
        font-size: 24px;
    }
}

/* ===== WE DEAL WITH SECTION ===== */
.we-deal {
    padding: 80px 0;
    background: #F4F7FF;
}

.section-title {
    text-align: center;
    font-size: 36px;
    color: #0A2540;
    font-weight: 700;
    margin-bottom: 50px;
    position: relative;
}

.section-title::after {
    content: '';
    width: 60px;
    height: 4px;
    background: #0057FF;
    display: block;
    margin: 15px auto 0 auto;
    border-radius: 2px;
}

.deal-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.deal-card {
    background: #ffffff;
    border-radius: 20px; /* bigger radius */
    overflow: hidden;
    width: 360px; /* bigger card */
    text-align: center;
    box-shadow: 0 12px 30px rgba(0,0,0,0.15); /* stronger shadow */
    transition: transform 0.3s, box-shadow 0.3s;
}

.deal-card:hover {
    transform: translateY(-15px); /* bigger hover lift */
    box-shadow: 0 18px 35px rgba(0,0,0,0.25);
}

.deal-card img {
    width: 100%;
    height: 260px; /* bigger image */
    object-fit: contain;
    background: #F4F7FF;
}

.deal-card h3 {
    font-size: 24px; /* bigger title */
    font-weight: 600;
    color: #0A2540;
    margin: 18px 0 12px 0;
}

.deal-card p {
    font-size: 17px; /* bigger description */
    color: #555;
    margin-bottom: 18px;
}

.deal-card a {
    text-decoration: none;
    display: block;
}

/* MOBILE RESPONSIVE */
@media (max-width: 768px) {
    .deal-cards {
        flex-direction: column;
        align-items: center;
        gap: 25px;
    }

    .deal-card {
        width: 95%; /* bigger on mobile */
    }

    .section-title {
        font-size: 28px;
    }
}

/* Sub-title for Mattress / Other Products */
.sub-title {
    font-size: 28px;
    color: #0057FF;
    font-weight: 700;
    margin: 40px 0 20px 0;
    text-align: center;
}

/* Deal cards already styled (keep previous bigger card CSS) */
/* Just maintain spacing between two card groups */
.we-deal .deal-cards + .sub-title {
    margin-top: 60px;
}

/* ===== CERTIFIED BY SECTION ===== */
.certified {
    padding: 80px 0;
    background: #ffffff;
}

.certified-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px; /* increased spacing for bigger cards */
    margin-top: 40px;
}

.cert-card {
    background: #F4F7FF;
    border-radius: 18px;
    width: 350px; /* bigger width */
    height: 500px; /* A4-like height */
    text-align: center;
    padding: 40px 20px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.cert-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 18px 35px rgba(0,0,0,0.25);
}

.cert-card img {
    width: 150px; /* bigger image */
    height: 150px; /* bigger image */
    object-fit: contain;
    margin-bottom: 25px;
}

.cert-card h3 {
    font-size: 22px; /* bigger title */
    font-weight: 600;
    color: #0A2540;
}

/* MOBILE RESPONSIVE */
@media (max-width: 1024px) {
    .certified-cards {
        gap: 30px;
    }

    .cert-card {
        width: 300px;
        height: 450px;
        padding: 35px 15px;
    }

    .cert-card img {
        width: 120px;
        height: 120px;
    }

    .cert-card h3 {
        font-size: 20px;
    }
}

@media (max-width: 768px) {
    .certified-cards {
        flex-direction: column;
        align-items: center;
        gap: 25px;
    }

    .cert-card {
        width: 90%;
        height: auto; /* allow flexible height on small screens */
        padding: 25px 15px;
    }

    .cert-card img {
        width: 100px;
        height: 100px;
    }

    .cert-card h3 {
        font-size: 18px;
    }

    .section-title {
        font-size: 28px;
    }
}


/* ===== TESTIMONIAL SECTION ===== */
.testimonial {
    padding: 80px 0;
    background: #F4F7FF;
}

.testimonial-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
}

.testimonial-card {
    position: relative;
    width: 320px;
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.testimonial-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 18px 35px rgba(0,0,0,0.25);
}

.testimonial-card .letterhead {
    width: 100%;
    height: 450px;
    object-fit: cover;
}

.testimonial-content {
    padding: 20px;
    text-align: center;
}

.testimonial-content p {
    font-size: 16px;
    color: #0A2540;
    margin-bottom: 15px;
    font-style: italic;
}

.testimonial-content h3 {
    font-size: 18px;
    font-weight: 600;
    color: #0057FF;
}

/* MOBILE RESPONSIVE */
@media (max-width: 768px) {
    .testimonial-cards {
        flex-direction: column;
        align-items: center;
        gap: 25px;
    }

    .testimonial-card {
        width: 90%;
    }

    .testimonial-content p {
        font-size: 15px;
    }

    .testimonial-content h3 {
        font-size: 16px;
    }
}

/* ===== ABOUT US SECTION ===== */
.about-us {
    padding: 80px 0;
    background: #F4F7FF;
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    margin-top: 40px;
}

.about-image {
    flex: 1 1 45%;
    text-align: center;
}

.about-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
    transition: transform 0.3s;
}

.about-image img:hover {
    transform: scale(1.05);
}

.about-text {
    flex: 1 1 50%;
}

.about-text h3 {
    font-size: 28px;
    font-weight: 700;
    color: #0057FF;
    margin-bottom: 20px;
}

.about-text p {
    font-size: 16px;
    color: #0A2540;
    line-height: 1.7;
    margin-bottom: 15px;
}

/* MOBILE RESPONSIVE */
@media (max-width: 768px) {
    .about-content {
        flex-direction: column;
        gap: 25px;
    }

    .about-text h3 {
        font-size: 24px;
    }

    .about-text p {
        font-size: 15px;
    }
}

/* ===== CLIENT REVIEWS SECTION ===== */
.client-reviews {
    padding: 80px 0;
    background: #ffffff;
}

.reviews-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
}

.review-card {
    background: #F4F7FF;
    border-radius: 20px;
    width: 320px;
    padding: 25px 20px;
    text-align: center;
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
    transition: transform 0.3s, box-shadow 0.3s;
}

.review-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 18px 35px rgba(0,0,0,0.25);
}

.review-card .client-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    border: 3px solid #0057FF;
}

.review-card p {
    font-size: 16px;
    color: #0A2540;
    font-style: italic;
    margin-bottom: 15px;
}

.review-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: #0057FF;
    margin-bottom: 10px;
}

.review-card .stars {
    color: #FFD700;
    font-size: 18px;
}

/* MOBILE RESPONSIVE */
@media (max-width: 768px) {
    .reviews-cards {
        flex-direction: column;
        align-items: center;
        gap: 25px;
    }

    .review-card {
        width: 90%;
    }

    .review-card p {
        font-size: 15px;
    }

    .review-card h3 {
        font-size: 16px;
    }

    .review-card .stars {
        font-size: 16px;
    }
}

/* Contact Section */
.contact-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 40px;
}

.contact-form, .contact-info {
    flex: 1 1 45%;
    background: #F4F7FF;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

.contact-form input, 
.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 15px;
    border-radius: 10px;
    border: 1px solid #ccc;
    font-size: 16px;
}

.contact-form .btn {
    background: #FF8A00;
    color: #fff;
    padding: 12px 25px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: 0.3s;
}

.contact-form .btn:hover {
    background: #FFD100;
}

.contact-info h3 {
    color: #0057FF;
    margin-bottom: 8px;
    font-size: 18px;
}

.contact-info h3 i {
    margin-right: 8px;
    color: #FF8A00;
}

.contact-info p, .contact-info a {
    color: #0A2540;
    margin-bottom: 15px;
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

.social-icons a {
    display: inline-block;
    margin-right: 15px;
    font-size: 20px;
    color: #0057FF;
    transition: transform 0.3s, color 0.3s;
}

.social-icons a:hover {
    transform: scale(1.2);
    color: #FF8A00;
}

.map {
    margin-top: 20px;
    border-radius: 15px;
    overflow: hidden;
}

/* MOBILE RESPONSIVE */
@media (max-width: 768px) {
    .contact-wrapper {
        flex-direction: column;
        gap: 30px;
    }

    .contact-form, .contact-info {
        flex: 1 1 100%;
    }
}

/* ===== FOOTER ===== */
.footer {
    background: #0A2540; /* Dark premium background */
    color: #fff;
    padding: 60px 0 30px 0;
    font-family: 'Poppins', sans-serif;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
}

/* Footer Logo & About */
.footer-logo img {
    width: 120px;
    margin-bottom: 15px;
}

.footer-logo p {
    color: #c1c1c1;
    line-height: 1.6;
    max-width: 300px;
}

/* Quick Links */
.footer-links h3 {
    color: #FF8A00;
    margin-bottom: 15px;
    font-size: 18px;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: #c1c1c1;
    text-decoration: none;
    transition: 0.3s;
}

.footer-links ul li a:hover {
    color: #FF8A00;
}

/* Contact Info */
.footer-contact h3 {
    color: #FF8A00;
    margin-bottom: 15px;
    font-size: 18px;
}

.footer-contact p {
    margin-bottom: 10px;
    color: #c1c1c1;
}

.footer-contact a {
    color: #c1c1c1;
    text-decoration: none;
    transition: 0.3s;
}

.footer-contact a:hover {
    color: #FF8A00;
}

/* Social Icons */
.footer-social {
    margin-top: 15px;
}

.footer-social a {
    display: inline-block;
    margin-right: 15px;
    font-size: 20px;
    color: #fff;
    transition: transform 0.3s, color 0.3s;
}

.footer-social a:hover {
    color: #FF8A00;
    transform: scale(1.2);
}

/* Certifications */
.footer-cert {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    align-items: center;
}

.footer-cert img {
    width: 60px;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    transition: transform 0.3s;
}

.footer-cert img:hover {
    transform: scale(1.1);
}

/* Footer Bottom */
.footer-bottom {
    text-align: center;
    margin-top: 30px;
    color: #c1c1c1;
    font-size: 14px;
    border-top: 1px solid #1e2e4c;
    padding-top: 15px;
}

/* MOBILE RESPONSIVE */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-logo p, 
    .footer-links ul, 
    .footer-contact p {
        max-width: 100%;
    }

    .footer-cert img {
        margin-bottom: 10px;
    }

    .footer-social a {
        margin-right: 10px;
        margin-bottom: 10px;
    }
}
.footer-cert {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    align-items: center;
}

.footer-cert i {
    font-size: 28px;
    color: #FFD100;
    transition: transform 0.3s, color 0.3s;
}

.footer-cert i:hover {
    transform: scale(1.2);
    color: #FF8A00;
}

/* Common style for all floating buttons */
.floating-btn {
    position: fixed;
    right: 20px; /* fixed to right */
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    z-index: 1000;
    transition: transform 0.3s, box-shadow 0.3s;
}

.floating-btn img {
    width: 35px;
    height: 35px;
}

/* WhatsApp button position */
.floating-btn.whatsapp {
    bottom: 100px; /* position from bottom */
    background-color: #25D366;
}

/* Contact button position */
.floating-btn.contact {
    bottom: 20px; /* below WhatsApp button */
    background-color: #007BFF;
}

/* Hover effect */
.floating-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 12px rgba(0,0,0,0.4);
}

.achievements-section {
    padding: 60px 20px;
    background-color: #f9f9f9;
    text-align: center;
}

.section-title {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 40px;
    color: #333;
    font-family: 'Poppins', sans-serif;
}

.achievement-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.logo-card {
    width: 120px;
    height: 120px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.logo-card img {
    max-width: 80%;
    max-height: 80%;
}

.logo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

/* Responsive */
@media (max-width: 768px) {
    .logo-card {
        width: 100px;
        height: 100px;
    }
}
@media (max-width: 480px) {
    .logo-card {
        width: 80px;
        height: 80px;
    }
}


/* Button Styles */
/* ===== GLOBAL BUTTON STYLE ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background: linear-gradient(135deg, #ff6a00, #ff9800);
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.35s ease;
    box-shadow: 0 12px 25px rgba(255, 106, 0, 0.35);
}

/* Icon inside button */
.btn i {
    font-size: 18px;
}

/* Hover Effect */
.btn:hover {
    transform: translateY(-4px);
    background: linear-gradient(135deg, #0057ff, #00c6ff);
    box-shadow: 0 18px 40px rgba(0, 87, 255, 0.4);
}

/* Active Click */
.btn:active {
    transform: scale(0.97);
}

/* ===== OUTLINE BUTTON (OPTIONAL) ===== */
.btn-outline {
    background: transparent;
    color: #0057ff;
    border: 2px solid #0057ff;
    box-shadow: none;
}

.btn-outline:hover {
    background: #0057ff;
    color: #fff;
}

/* ===== MOBILE RESPONSIVE ===== */
@media (max-width: 768px) {
    .btn {
        padding: 12px 26px;
        font-size: 15px;
    }
}

/*Table Styles*/
.client-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 700px;
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

.client-table thead {
    background: linear-gradient(135deg, #0057FF, #003bb3);
    color: #fff;
}

.client-table th,
.client-table td {
    padding: 18px 20px;
    text-align: left;
    font-size: 15px;
}

.client-table tbody tr {
    border-bottom: 1px solid #eee;
    transition: 0.3s;
}

.client-table tbody tr:hover {
    background: #f5f8ff;
}

.client-table th {
    font-weight: 600;
}

@media (max-width:768px) {
    .client-table {
        min-width: 600px;
    }
}

.gives-asks-wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: auto;
}

.gives-box, .asks-box {
    background: #ffffff;
    border-radius: 14px;
    padding: 25px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

.gives-box h3, .asks-box h3 {
    text-align: center;
    margin-bottom: 20px;
    color: #0057FF;
    font-weight: 600;
}

.ga-table {
    width: 100%;
    border-collapse: collapse;
}

.ga-table th {
    background: #0057FF;
    color: #fff;
    padding: 14px;
    font-size: 14px;
    text-align: left;
}

.ga-table td {
    padding: 14px;
    font-size: 14px;
    border-bottom: 1px solid #eee;
}

.ga-table tr:hover td {
    background: #f4f7ff;
}

@media (max-width: 768px) {
    .gives-asks-wrapper {
        grid-template-columns: 1fr;
    }
}
