/* Global Styles */
:root {
    --primary-color: #1b5e20;
    /* Deep Green - Professional & Halal associated */
    --secondary-color: #f9a825;
    /* Gold - Excellence & Premium */
    --text-color: #333333;
    --light-text: #666666;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --nav-height: 80px;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.2;
}

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.section {
    padding: 100px 0;
}

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

.text-white {
    color: var(--white);
}

.mb-4 {
    margin-bottom: 1.5rem;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #144a17;
}

.btn-secondary {
    background-color: transparent;
    border-color: var(--secondary-color);
    color: var(--white);
}

.btn-secondary:hover {
    background-color: var(--secondary-color);
    color: var(--text-color);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    display: flex;
    align-items: center;
    z-index: 1000;
    background-color: transparent;
    /* Transparent initially */
    transition: var(--transition);
}

.navbar.sticky {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.logo img {
    height: 50px;
    filter: brightness(0) invert(1);
    /* White logo for dark bg initially */
    transition: var(--transition);
}

.navbar.sticky .logo img {
    filter: none;
    /* Original color on white bg */
}

.nav-menu ul {
    display: flex;
    gap: 30px;
}

.nav-link {
    color: var(--white);
    /* White text initially */
    font-weight: 500;
    font-size: 0.95rem;
}

.navbar.sticky .nav-link {
    color: var(--text-color);
}

.nav-link:hover,
.nav-link.active {
    color: var(--secondary-color);
}

.btn-contact {
    border: 1px solid var(--secondary-color);
    padding: 8px 20px;
    border-radius: 4px;
    color: var(--secondary-color) !important;
}

.btn-contact:hover {
    background-color: var(--secondary-color);
    color: var(--white) !important;
}

/* Hero Section */
.hero {
    height: 100vh;
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    margin-top: 0;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    /* Overlay to make text readable */
    z-index: -1;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.hero-content h1 span {
    color: var(--secondary-color);
}

.hero-content p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 30px;
    opacity: 0.9;
}

.hero-btns {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* About Section */
.row {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
}

.col-half {
    flex: 1;
    min-width: 300px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--secondary-color);
    margin: 10px auto 0;
}

.content-center .section-title::after {
    margin: 10px 0 0 0;
    /* Align left for side content */
}

.lead {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-color);
    margin-bottom: 20px;
}

.rounded {
    border-radius: 10px;
}

.shadow-lg {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.stats-grid {
    display: flex;
    gap: 30px;
    margin-top: 30px;
}

.stat-item h3 {
    font-size: 2rem;
    color: var(--secondary-color);
}

.stat-item p {
    color: var(--light-text);
    font-size: 0.9rem;
}

/* Feature Cards (Services) */
.bg-light {
    background-color: var(--bg-light);
}

.section-subtitle {
    color: var(--light-text);
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding-bottom: 20px;
}

.card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    border-top: 4px solid var(--primary-color);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.card-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-color);
}

.card p {
    color: var(--light-text);
    margin-bottom: 25px;
}

.card-link {
    color: var(--primary-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.card-link:hover {
    gap: 12px;
}

/* Market Section */
.market {
    background-color: var(--primary-color);
    color: var(--white);
}

.market .section-title::after {
    background-color: var(--white);
}

/* Contact Section */
.contact-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    background: var(--white);
    padding: 50px;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.contact-info,
.contact-form {
    flex: 1;
    min-width: 300px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
    justify-content: center;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 20px;
}

.info-item i {
    width: 50px;
    height: 50px;
    background-color: rgba(46, 125, 50, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.info-item h4 {
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.info-item p {
    color: var(--light-text);
}

.form-group {
    margin-bottom: 20px;
}

input,
textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    font-family: inherit;
    transition: var(--transition);
}

input:focus,
textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.full-width {
    width: 100%;
}

/* Footer */
.footer {
    background-color: #1a1a1a;
    color: #cccccc;
    padding: 50px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 40px;
    border-bottom: 1px solid #333;
    padding-bottom: 40px;
}

.footer-links a {
    margin: 0 15px;
    color: #cccccc;
}

.footer-links a:hover {
    color: var(--white);
}

.social-links a {
    margin-left: 15px;
    font-size: 1.2rem;
    color: #cccccc;
}

.social-links a:hover {
    color: var(--secondary-color);
}

.footer-bottom {
    text-align: center;
    font-size: 0.9rem;
}

/* Scroll Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.visible {
    opacity: 1;
    transform: translateY(0) translateX(0);
}

.delay-100 {
    transition-delay: 0.1s;
}

.delay-200 {
    transition-delay: 0.2s;
}

.delay-300 {
    transition-delay: 0.3s;
}

/* Responsive Mobile */
.hamburger {
    display: none;
    font-size: 1.5rem;
    color: var(--white);
    cursor: pointer;
}

.navbar.sticky .hamburger {
    color: var(--text-color);
}

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

    .hamburger {
        display: block;
    }

    .nav-menu {
        position: absolute;
        top: var(--nav-height);
        left: 0;
        width: 100%;
        background-color: var(--white);
        padding: 20px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        transform: translateY(-150%);
        transition: transform 0.3s ease;
    }

    .nav-menu.active {
        transform: translateY(0);
    }

    .nav-menu ul {
        flex-direction: column;
        gap: 15px;
    }

    .nav-link {
        color: var(--text-color);
    }

    .row {
        flex-direction: column;
    }

    .col-half {
        width: 100%;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}

/* Maintenance Page Specific Styles */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.maintenance-body {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(135deg, var(--primary-color) 0%, #0d2b10 100%);
    color: var(--text-color);
}

/* Optional: Subtle pattern overlay */
.maintenance-body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.maintenance-bg, .maintenance-overlay {
    display: none; /* Removing the old blurred image approach for a cleaner look */
}

.maintenance-container {
    text-align: center;
    background: var(--white);
    max-width: 700px;
    width: 90%;
    padding: 60px 40px;
    border-radius: 8px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    border-top: 6px solid var(--secondary-color);
    position: relative;
    z-index: 10;
    animation: fadeInUp 1s ease-out forwards; /* CSS-only animation */
}

.maintenance-logo img {
    height: 70px;
    margin: 0 auto 30px;
    filter: none; /* Keep original logo colors */
}

.maintenance-container h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--primary-color);
    font-weight: 700;
}

.maintenance-container p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: var(--light-text);
    line-height: 1.8;
}

.maintenance-contact {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #eee;
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}

.maintenance-contact h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--text-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.maintenance-contact p {
    font-size: 1rem;
    margin-bottom: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    color: var(--text-color);
}

.maintenance-contact i {
    color: var(--secondary-color);
    font-size: 1.1rem;
}

.mt-4 {
    margin-top: 1.5rem;
}

.maintenance-container .social-links {
    margin-top: 30px;
}

.maintenance-container .social-links a {
    color: var(--light-text);
    font-size: 1.2rem;
    margin: 0 12px;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #f5f5f5;
}

.maintenance-container .social-links a:hover {
    color: var(--white);
    background-color: var(--primary-color);
    transform: translateY(-3px);
}