/* =========================================
   GLOBAL VARIABLES & RESET
   ========================================= */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

:root {
    --primary-dark: #064e3b; 
    --accent: #2ecc71;       
    --gold: #D4AF37;         
    --text-color: #374151;
    --bg-light: #f3f4f6;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

/* =========================================
   HEADER & NAVIGATION
   ========================================= */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    background-color: var(--white);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-area img {
    height: 50px; 
    width: auto;
}

.logo-area h1 {
    font-size: 1.4rem;
    color: var(--primary-dark);
    font-weight: 700;
}

nav {
    display: flex;
    gap: 25px;
}

nav a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s ease;
}

/* Dancing Gold Icons Animation */
@keyframes dance {
    0% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-3px) rotate(-10deg); }
    50% { transform: translateY(0) rotate(0deg); }
    75% { transform: translateY(-3px) rotate(10deg); }
    100% { transform: translateY(0) rotate(0deg); }
}

nav a i {
    color: var(--gold);
    display: inline-block;
    animation: dance 2s infinite ease-in-out;
}

nav a:hover {
    color: var(--accent);
}

nav a:hover i {
    color: #F59E0B; /* Darker gold on hover */
}

.menu-toggle {
    display: none;
    font-size: 1.8rem;
    color: var(--primary-dark);
    cursor: pointer;
}

/* =========================================
   HERO SECTION (Image Background Restored)
   ========================================= */
.hero {
    text-align: center;
    padding: 140px 20px;
    /* Uses 'website 3.jpg' from your folder with a transparent white overlay so text is readable */
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.95)), url('website 3.jpg') no-repeat center center;
    background-size: cover;
}

.hero h2 {
    font-size: 3.5rem;
    color: var(--primary-dark);
    line-height: 1.2;
    margin-bottom: 25px;
}

.hero p {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto 40px auto;
    color: #4b5563;
    font-weight: 600;
}

.btn {
    display: inline-block;
    background-color: var(--accent);
    color: var(--white);
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 6px rgba(46, 204, 113, 0.3);
}

.btn:hover {
    background-color: #27ae60;
    transform: translateY(-2px);
}

/* =========================================
   VISION BANNER
   ========================================= */
.vision-banner {
    background-color: var(--primary-dark);
    color: var(--white);
    text-align: center;
    padding: 50px 20px;
}

.vision-banner h3 {
    font-size: 1.8rem;
    font-weight: 400;
    margin-bottom: 10px;
}

.vision-banner span {
    color: var(--accent);
    font-weight: 700;
}

.vision-banner p {
    color: #d1d5db;
    max-width: 700px;
    margin: 0 auto;
}

/* =========================================
   SERVICES GRID
   ========================================= */
.summary-services {
    padding: 80px 5%;
    text-align: center;
    background-color: var(--bg-light);
}

.summary-services h2 {
    font-size: 2.5rem;
    color: var(--primary-dark);
    margin-bottom: 50px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-mini-card {
    background-color: var(--white);
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-mini-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.service-mini-card i {
    font-size: 3rem;
    color: var(--accent);
    margin-bottom: 20px;
}

.service-mini-card h3 {
    font-size: 1.3rem;
    color: var(--primary-dark);
    margin-bottom: 15px;
}

/* =========================================
   OFFTAKE NETWORK SECTION
   ========================================= */
.offtake-box {
    display: flex;
    align-items: center;
    gap: 60px;
    padding: 100px 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.offtake-text {
    flex: 1;
}

.offtake-text h2 {
    font-size: 2.5rem;
    color: var(--primary-dark);
    line-height: 1.3;
    margin-bottom: 25px;
}

.offtake-text p {
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.offtake-image {
    flex: 1;
}

/* =========================================
   PARTNERS SLIDER
   ========================================= */
.partners {
    padding: 60px 5%;
    text-align: center;
    background-color: var(--bg-light);
}

.partners-h3 {
    font-size: 0.9rem;
    color: #6b7280;
    letter-spacing: 2px;
    margin-bottom: 40px;
}

.slider {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.slider img {
    height: 40px;
    filter: grayscale(100%) opacity(0.6);
    transition: filter 0.3s ease, transform 0.3s ease;
}

.slider img:hover {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.05);
}

/* =========================================
   FANCY FOOTER STYLES 
   ========================================= */
.fancy-footer {
    background-color: #111827;
    color: #e5e7eb;
    padding: 80px 0 30px;
    font-family: 'Poppins', sans-serif;
    border-top: 5px solid var(--accent);
}

.fancy-footer .footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

.fancy-footer .footer-top {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
    margin-bottom: 60px;
}

.fancy-footer .footer-col h4 {
    color: var(--white);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 12px;
}

.fancy-footer .footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    height: 3px;
    width: 40px;
    background-color: var(--accent);
    border-radius: 2px;
}

.fancy-footer .brand-col .footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.fancy-footer .brand-col .footer-logo i {
    font-size: 2rem;
    color: var(--accent);
}

.fancy-footer .brand-col .footer-logo h2 {
    color: var(--white);
    font-size: 1.4rem;
    font-weight: 700;
}

.fancy-footer .brand-col p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #9ca3af;
    margin-bottom: 25px;
}

.fancy-footer .social-links {
    display: flex;
    gap: 15px;
}

.fancy-footer .social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--white);
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.fancy-footer .social-links a:hover {
    background-color: var(--accent);
    transform: translateY(-5px);
}

.fancy-footer .footer-links {
    list-style: none;
}

.fancy-footer .footer-links li {
    margin-bottom: 15px;
}

.fancy-footer .footer-links a {
    color: #9ca3af;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.fancy-footer .footer-links a i {
    font-size: 0.7rem;
    color: var(--accent);
    transition: transform 0.3s ease;
}

.fancy-footer .footer-links a:hover {
    color: var(--white);
    padding-left: 8px;
}

.fancy-footer .footer-links a:hover i {
    transform: translateX(4px);
}

.fancy-footer .footer-contact {
    list-style: none;
}

.fancy-footer .footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 0.95rem;
    color: #9ca3af;
}

.fancy-footer .footer-contact i {
    color: var(--accent);
    margin-top: 5px;
}

.fancy-footer .footer-contact a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s ease;
}

.fancy-footer .footer-contact a:hover {
    color: var(--white);
}

.fancy-footer .newsletter-col p {
    font-size: 0.95rem;
    color: #9ca3af;
    margin-bottom: 20px;
}

.fancy-footer .newsletter-form {
    display: flex;
    border-radius: 5px;
    overflow: hidden;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.fancy-footer .newsletter-form input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 15px;
    color: var(--white);
    outline: none;
    font-family: 'Poppins', sans-serif;
}

.fancy-footer .newsletter-form input::placeholder {
    color: #6b7280;
}

.fancy-footer .newsletter-form button {
    background-color: var(--accent);
    color: var(--white);
    border: none;
    padding: 0 25px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.fancy-footer .newsletter-form button:hover {
    background-color: #27ae60;
}

.fancy-footer .footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    flex-wrap: wrap;
    gap: 20px;
}

.fancy-footer .copyright p {
    font-size: 0.9rem;
    color: #6b7280;
}

/* Premium Gold Subsidiary Tag */
.fancy-footer .subsidiary-tag {
    background: linear-gradient(135deg, #FFD700 0%, #D4AF37 100%);
    padding: 10px 25px;
    border-radius: 30px;
    border: 2px solid #B8860B;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.fancy-footer .subsidiary-tag i {
    color: #111827;
    font-size: 1.2rem;
}

.fancy-footer .subsidiary-tag p {
    font-size: 0.9rem;
    color: #111827;
    margin: 0;
    font-weight: 600;
}

.fancy-footer .sarami-logo-text {
    font-weight: 800;
    color: #000000;
    letter-spacing: 1px;
}

/* =========================================
   MOBILE RESPONSIVENESS
   ========================================= */
@media (max-width: 992px) {
    .offtake-box {
        flex-direction: column;
        text-align: center;
    }
    
    .hero h2 {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    nav {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        background-color: var(--white);
        padding: 20px 5%;
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    }

    nav.active {
        display: flex;
    }

    .hero h2 {
        font-size: 2.2rem;
    }
    
    .summary-services h2 {
        font-size: 2rem;
    }
    
    .fancy-footer .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}