@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&family=Playfair+Display:wght@700;800;900&display=swap');

:root {
    --primary: #0a4d3c;
    --primary-light: #156d58;
    --secondary: #c9935e;
    --accent: #f36c3f;
    --background: #fdfbf8;
    --text: #1a1a1a;
    --text-muted: #666666;
    --glass: rgba(255, 255, 255, 0.8);
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 10px 30px rgba(0,0,0,0.08);
    --shadow-lg: 0 20px 50px rgba(0,0,0,0.12);
    --radius-sm: 8px;
    --radius-md: 15px;
    --radius-lg: 25px;
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* Utility Grids */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
@media (max-width: 991px) {
    .grid-2 { grid-template-columns: 1fr; gap: 3rem; text-align: center; }
}
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3rem; }
@media (max-width: 1024px) {
    .grid-3 { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
}
@media (max-width: 768px) {
    .grid-3 { grid-template-columns: 1fr; gap: 2rem; }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    width: 100% !important;
    min-width: 100% !important;
    overflow-x: hidden !important;
    position: relative;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--background);
    color: var(--text);
    line-height: 1.6;
}

h1, h2, h3, .logo {
    font-family: 'Playfair Display', serif;
    font-weight: 800;
}

a {
    transition: var(--transition);
    text-decoration: none;
    color: inherit;
}

/* Global Containers */
.container {
    width: 94%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

@media (max-width: 768px) {
    .container {
        width: 100%;
        padding: 0 20px;
    }
}

.img-premium {
    width: 100%;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    object-fit: cover;
    transition: var(--transition);
}

.img-premium:hover {
    transform: scale(1.02);
}

/* Premium Header/Navbar */
.navbar {
    background: #ffffff;
    padding: 0.8rem 0;
    position: sticky;
    top: 0;
    z-index: 2000010; /* Ensure it's above overlay */
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid #f0f0f0;
}

.navbar-logo { height: 50px; width: auto; vertical-align: middle; }
@media (max-width: 480px) { .navbar-logo { height: 35px; } }

.mobile-menu-btn {
    display: none;
    background: transparent;
    border: none;
    font-size: 1.8rem;
    color: var(--primary);
    cursor: pointer;
    padding: 8px;
    z-index: 2000011;
    transition: var(--transition);
    outline: none;
    line-height: 1;
}

.mobile-menu-btn:hover {
    color: var(--accent);
    transform: scale(1.1);
}


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

.logo {
    font-size: 1.6rem;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 900;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
    list-style: none; /* Removed dots */
    margin: 0;
    padding: 0;
}

.nav-links li {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-links a {
    font-weight: 600;
    font-size: 0.9rem;
    color: #444;
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

/* Premium Buttons */
/* Navbar & Button Global */
.btn {
    padding: 0.8rem 1.8rem;
    border-radius: var(--radius-sm);
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    border: none;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-sm {
    padding: 0.5rem 1rem !important;
    font-size: 0.7rem !important;
    border-radius: 6px !important;
    height: auto !important;
    line-height: 1 !important;
}


.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: #ffffff !important;
    box-shadow: 0 4px 15px rgba(15, 61, 46, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(15, 61, 46, 0.4);
}

.btn-accent {
    background: var(--accent);
    color: #ffffff !important;
    box-shadow: 0 4px 15px rgba(255, 112, 67, 0.3);
}

.btn-accent:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 112, 67, 0.4);
}

/* Hero Section */
.hero {
    height: 90vh; /* Reduced height to 90% of viewport */
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    color: white;
    text-align: left;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    object-fit: cover;
    pointer-events: none;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.7));
    z-index: 1;
}

.hero-content {
    max-width: 800px;
    margin-top: -40px; /* Shifted everything up by 40px */
}

.hero-content h1 {
    font-size: 5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    font-weight: 400;
}

/* Cards & Grid */
.section-padding {
    padding: 3.5rem 0;
}

.section-title {
    margin-bottom: 2.5rem;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-title h2, .main-title {
    font-size: 3rem;
    color: var(--primary);
    margin-top: 0.8rem;
    line-height: 1.1;
}

.batch-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

@media (max-width: 1024px) {
    .batch-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
}

@media (max-width: 768px) {
    .batch-grid { grid-template-columns: 1fr; gap: 2rem; }
}

.batch-card {
    background: white;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.03);
}

.batch-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-lg);
}

.batch-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    background-color: #f0f0f0;
}

.batch-card img, .batch-card .batch-image {
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.batch-card:hover .batch-image {
    transform: scale(1.05);
}

.batch-card-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--accent);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    z-index: 10;
}

.batch-info {
    padding: 2rem;
}

.batch-info h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.batch-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.batch-meta i {
    color: var(--secondary);
    margin-right: 5px;
}

.price-tag {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
}

/* Admin Dashboard Skin */
.admin-layout {
    display: grid;
    grid-template-columns: 320px 1fr;
    min-height: 100vh;
}

@media (min-width: 1025px) {
    .admin-layout {
        height: 100vh;
        overflow: hidden;
    }
    .sidebar {
        height: 100vh !important;
        overflow-y: auto;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    .sidebar::-webkit-scrollbar {
        display: none;
    }
    .admin-main {
        height: 100vh;
        overflow-y: auto;
        padding: 4rem 5rem !important;
    }
    
    /* Premium Scrollbar for Admin Main */
    .admin-main::-webkit-scrollbar {
        width: 8px;
    }
    .admin-main::-webkit-scrollbar-track {
        background: #f1f1f1;
    }
    .admin-main::-webkit-scrollbar-thumb {
        background: #ccc;
        border-radius: 10px;
    }
    .admin-main::-webkit-scrollbar-thumb:hover {
        background: var(--primary);
    }
}

@media (max-width: 1200px) and (min-width: 1025px) {
    .admin-layout { grid-template-columns: 280px 1fr; }
    .admin-main { padding: 3rem 2.5rem !important; }
}

.sidebar {
    background: var(--primary);
    color: white;
    padding: 3.5rem 2rem;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
    z-index: 100;
}

.sidebar .logo {
    color: white;
    margin-bottom: 4rem;
    display: block;
    font-size: 1.4rem;
    font-weight: 900;
    letter-spacing: 1px;
}

.sidebar-menu {
    list-style: none;
}

.sidebar-menu li {
    margin-bottom: 0.8rem;
}

.sidebar-menu a {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    border-radius: var(--radius-sm);
    color: rgba(255,255,255,0.7);
    font-weight: 500;
}

.sidebar-menu a:hover, .sidebar-menu a.active {
    background: rgba(255,255,255,0.1);
    color: white;
}

.sidebar-close {
    display: none;
    position: absolute;
    top: 2rem;
    right: 1.5rem;
    font-size: 1.5rem;
    color: white;
    cursor: pointer;
}

/* Admin Mobile Toggle */
.admin-mobile-nav {
    display: none;
    background: white;
    padding: 1rem 1.5rem;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    box-shadow: var(--shadow-sm);
    justify-content: space-between;
    align-items: center;
}

.admin-toggle-btn {
    font-size: 1.5rem;
    color: var(--primary);
    cursor: pointer;
}

@media (max-width: 1024px) {
    .admin-layout {
        display: block;
    }
    
    .sidebar {
        position: fixed;
        left: -320px;
        top: 0;
        width: 320px;
        z-index: 10000;
        transition: 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
        display: block !important;
        box-shadow: 15px 0 50px rgba(0,0,0,0.1);
    }

    .sidebar.active {
        left: 0;
    }

    .sidebar-close {
        display: block;
    }

    .admin-main {
        padding: 6rem 1.5rem 3rem !important;
    }

    .admin-mobile-nav {
        display: flex;
    }
}

.admin-main {
    padding: 3rem 4rem;
    background: #f4f7f6;
}

/* Tables */
.data-table-container {
    background: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    overflow-x: auto;
    margin-top: 2rem;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th {
    background: #ffffff;
    padding: 1.5rem;
    text-align: left;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--secondary);
    border-bottom: 2px solid #f0f0f0;
    font-weight: 800;
}

td {
    padding: 1.2rem 1.5rem;
    border-bottom: 1px solid #f5f5f5;
    font-size: 0.95rem;
}

tr:last-child td {
    border-bottom: none;
}

/* Responsive Tables */
@media (max-width: 768px) {
    .data-table-container {
        border-radius: 15px;
        margin-top: 1rem;
    }
    
    table {
        display: block;
        width: 100%;
    }
    
    thead {
        display: none; /* Hide headers on mobile */
    }
    
    tbody, tr, td {
        display: block;
        width: 100%;
    }
    
    tr {
        margin-bottom: 1.5rem;
        background: white;
        border: 1px solid #eee;
        border-radius: 15px;
        position: relative;
        padding: 1rem;
    }
    
    td {
        text-align: right;
        padding: 0.8rem 1rem;
        border-bottom: 1px solid #f9f9f9;
        position: relative;
        font-size: 0.9rem;
    }
    
    td:last-child {
        border-bottom: none;
    }
    
    td::before {
        content: attr(data-label);
        position: absolute;
        left: 1rem;
        width: 45%;
        text-align: left;
        font-weight: 700;
        color: var(--text-muted);
        font-size: 0.75rem;
        text-transform: uppercase;
    }
    
    /* Special handling for columns without data-label */
    td[data-label=""]::before, td:not([data-label])::before {
        display: none;
    }
    
    td:not([data-label]) {
        text-align: center;
    }
}

/* Inputs & Forms */
.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
}

input, select, textarea {
    width: 100%;
    padding: 1rem 1.2rem;
    border: 2px solid #eee;
    border-radius: var(--radius-sm);
    font-family: inherit;
    transition: var(--transition);
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--primary-light);
    box-shadow: 0 0 0 4px rgba(27, 94, 32, 0.1);
}

/* Footer Styles */
footer {
    background: #051612;
    color: #ffffff;
    padding-top: 5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 4rem;
}

.footer-about .logo {
    color: #ffffff !important;
    margin-bottom: 2rem;
}

.footer-links h4 {
    color: var(--secondary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 2.5rem;
    font-weight: 800;
}

.footer-links ul {
    list-style: none; /* No dots */
    padding: 0;
    margin: 0;
}

.footer-links ul li {
    margin-bottom: 1.2rem;
    list-style: none;
}

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    transition: var(--transition);
}

.footer-links ul li a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 5rem;
    padding: 2.5rem 0;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Animations */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

.float-icon {
    animation: float 4s ease-in-out infinite;
    color: var(--primary);
    filter: drop-shadow(0 10px 15px rgba(10, 77, 60, 0.2));
}

.text-center {
    text-align: center;
}

.section-subtitle {
    display: block;
    color: var(--secondary);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 1rem;
    font-size: 0.85rem;
}

/* WhatsApp Floating */
.whatsapp-float {
    position: fixed;
    bottom: 40px;
    right: 40px;
    background: #25d366;
    color: white;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

@media (max-width: 1024px) {
    .hero-content h1 { font-size: 3.5rem; }
}

/* Footer Responsiveness */
@media (max-width: 991px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 3rem !important;
    }
}

@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 2.5rem !important;
    }
    .footer-links {
        padding-left: 0 !important;
        border-left: none !important;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
    .footer-bottom div {
        text-align: center !important;
    }
}

/* Right Side Mobile Drawer Menu */
@media screen and (max-width: 1200px) {
    nav.navbar .mobile-menu-btn {
        display: block !important;
        z-index: 2000000;
    }

    nav.navbar ul.nav-links {
        display: flex !important;
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 340px;
        height: 100vh;
        background-color: #ffffff !important;
        background-image: none !important;
        flex-direction: column;
        padding: 7rem 2.5rem 4rem;
        gap: 1.5rem;
        box-shadow: -15px 0 50px rgba(0,0,0,0.15) !important;
        transition: 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
        z-index: 2000012; 
        text-align: left; /* Better for reading */
        opacity: 1 !important;
        visibility: visible !important;
        border-left: 1px solid #f5f5f5;
        overflow-y: auto;
    }

    nav.navbar ul.nav-links.active {
        right: 0 !important;
    }

    nav.navbar ul.nav-links li {
        width: 100%;
        border-bottom: 1px solid #f9f9f9;
    }

    nav.navbar ul.nav-links li:last-child {
        border-bottom: none;
    }

    nav.navbar ul.nav-links li a {
        color: #1a1a1a !important; 
        font-size: 1.1rem !important;
        font-weight: 700 !important;
        text-transform: uppercase;
        letter-spacing: 1px !important;
        display: block;
        width: 100%;
        padding: 1rem 0;
        transition: color 0.3s;
    }

    nav.navbar ul.nav-links li a:hover {
        color: var(--primary) !important;
        padding-left: 10px;
    }

    nav.navbar .nav-auth {
        margin-top: 2rem;
        border-top: 2px solid #f0f0f0;
        padding-top: 2rem;
        width: 100%;
    }

    nav.navbar .nav-auth div {
        display: flex !important;
        flex-direction: column !important;
        gap: 1rem !important;
    }

    nav.navbar .nav-auth a.btn-primary,
    nav.navbar .nav-auth a.btn-accent {
        padding: 1.1rem !important; 
        border-radius: 12px !important;
        font-weight: 800 !important;
        display: block;
        width: 100%;
        margin-bottom: 0;
        text-align: center;
        letter-spacing: 1px;
    }

    .menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(0,0,0,0.6) !important;
        display: none;
        z-index: 2000011;
        backdrop-filter: blur(8px);
    }
    
    .menu-overlay.active {
        display: block !important;
    }
}

/* Global Container Padding for Mobile */
@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem !important;
    }
}

/* Hero Section Responsiveness */
@media (max-width: 991px) {
    .hero {
        height: auto !important;
        padding: 12rem 0 8rem !important;
        text-align: center;
    }
    .hero-content h1 {
        font-size: 3rem !important;
        line-height: 1.1 !important;
    }
    .hero-content p {
        font-size: 1.1rem !important;
        margin: 2rem auto !important;
    }
    .hero-content div {
        justify-content: center !important;
        flex-wrap: wrap !important;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2.2rem !important;
    }
}

/* Contact Page Specifics */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: stretch;
}

@media (max-width: 991px) {
    .contact-wrapper { grid-template-columns: 1fr; gap: 3rem; }
    .contact-info-card { padding: 3rem !important; }
}

.contact-info-card {
    background: var(--primary);
    color: white;
    padding: 4rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.contact-info-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    align-items: center;
}

.contact-info-icon {
    width: 60px;
    height: 60px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(5px);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--secondary);
    transition: var(--transition);
}

.contact-form-container {
    background: white;
    padding: 4rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid #f0f0f0;
}

@media (max-width: 991px) {
    .contact-wrapper {
        grid-template-columns: 1fr !important;
    }
    .contact-info-card, .contact-form-container {
        padding: 2.5rem 1.5rem !important;
    }
}
@media (max-width: 991px) {
    .batch-grid, .intro-grid, .specifications-grid {
        grid-template-columns: 1fr !important;
        gap: 2.5rem !important;
    }
    .section-padding {
        padding: 5rem 0 !important;
    }
}
/* Batches Filter Bar Responsive */
@media (max-width: 1200px) {
    div[style*="grid-template-columns: 1fr 1fr 1fr 180px 180px"] form {
        grid-template-columns: 1fr 1fr !important;
    }
}

@media (max-width: 768px) {
    div[style*="margin-top: -60px"] {
        padding: 2rem !important;
        margin-top: -30px !important;
        margin-bottom: 2rem !important;
    }
    div[style*="grid-template-columns: 1fr 1fr 1fr 180px 180px"] form {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }
}

/* Index Page Specifics */
@media (max-width: 768px) {
    .testimonial-card-compact {
        padding: 3rem 1.5rem !important;
        border-radius: 25px !important;
    }
    .testimonial-card-compact p {
        font-size: 1.1rem !important;
        margin-bottom: 2rem !important;
    }
    .review-form-container {
        padding: 2rem 1.5rem !important;
        margin-top: 2rem !important;
    }
    .review-form-container h3 {
        font-size: 1.5rem !important;
    }
}

/* Profile Page Header Fixes */
@media (max-width: 768px) {
    .profile-header {
        text-align: center !important;
        flex-direction: column !important;
    }
    .profile-meta {
        justify-content: center !important;
    }
    .profile-tabs {
        overflow-x: auto;
        white-space: nowrap;
        padding-bottom: 1rem;
        justify-content: flex-start !important;
    }
}

/* Utility: Hide on mobile */
@media (max-width: 768px) {
    .hide-mobile { display: none !important; }
}
