/* Color Variables */
:root {
    --color-background-dark: #1a1a1a;
    --color-background-medium: #2A2C2B;
    --color-text-light: #daf2f2;;
    --color-accent-teal: #0ea5a5; /* Teal */
    --color-accent-gold: #f59e0b; /* Gold */
    --color-accent-darkgreen: #154633; /* Dark Green */
    --color-accent-lightgreen: #18d98e; /* Light Green */
}

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

body {
    font-family: 'Arial', sans-serif; /* Professional typography */
    background-color: var(--color-background-dark);
    color: var(--color-text-light);
    line-height: 1.6;
    scroll-behavior: smooth;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.section {
    padding: 6rem 0;
}

.dark-section {
    background-color: var(--color-background-medium);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--color-text-light);
    margin-bottom: 4rem;
    font-weight: 700;
}



/* Typography Hierarchy */
h1 { font-size: 3.5rem; color: var(--color-text-light); }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }

/* ----------------------- HERO SECTION ----------------------- */
.hero-section {
    /* *** MODIFIED LINE START *** */
    /* Reduced the black overlay opacity from 0.7 to 0.6 to reveal the image more */
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), 
        url('https://images.unsplash.com/photo-1606836591695-4d58a73eba1e?crop=entropy&cs=srgb&fm=jpg&ixid=M3w3NTY2NzR8MHwxfHNlYXJjaHwxfHxidXNpbmVzcyUyMG1lZXRpbmd8ZW58MHx8fHwxNzU5ODU3Mjk4fDA&ixlib=rb-4.1.0&q=85') center/cover no-repeat;
    /* *** MODIFIED LINE END *** */
    height: 100vh;
    display: flex;
    align-items: center;
    text-align: left;
}

/* Industry Tag (Ready-Made Garments Industry & Corporate Company) */
.industry-tag {
    /* Bold, enclosed shape */
    display: inline-block;
    padding: 0.3rem 1rem;
    margin-bottom: 1.5rem;
    
    /* Colors and Border */
    color: var(--color-accent-teal);
    background-color: rgba(0, 0, 0, 0.4); /* Dark background with transparency */
    border: 1px solid var(--color-accent-teal);
    border-radius: 20px; /* Rounded pill shape */
    
    /* Typography */
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Main Name (ABUHENA RONY) */
.hero-section h1 {
    font-size: 7rem;
    line-height: 1.1;
    margin-bottom: 1rem;
}

.hero-section h2 {
    font-size: 2rem;
    color: var(--color-accent-lightgreen);
}

.tagline {
    font-size: 1.5rem;
    margin-bottom: 3rem;
    color: #ccc;
}

/* Hero Stats Grid */
.stats-grid {
    display: flex;
    justify-content: space-around;
    gap: 1rem;
    margin: 4rem 0;
    padding: 2rem;
    background: rgba(0, 0, 0, 0.4); /* Subtle background for contrast */
    border-radius: 8px;
    border-top: 2px solid var(--color-accent-teal);
}

.stat-item {
    text-align: left;
}

/* *** ADDED BLOCK START: Ensures number and unit are side-by-side *** */
.stat-value-wrapper {
    display: flex;
    justify-content: center; /* Center the value pair */
    /* align-items: flex-start ensures the smaller unit aligns slightly higher than the large number */
    align-items: flex-start; 
    line-height: 1; 
}

.stat-number {
    /* *** CRITICAL FIX: The display: block was forcing it onto its own line. Remove it. *** */
    /* display: block; <-- REMOVE THIS LINE */
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-accent-gold);
}

.stat-unit {
    font-size: 3rem;
    color: var(--color-accent-gold);
    margin-left: -5px; 
    font-weight: 700; 
    /* This padding-top helps align the baseline of the unit with the top of the number */
    padding-top: 0.25rem; 
}

.stat-label {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-text-light);
    margin-top: 0.5rem;
}

/* CTA Button */
.cta-button {
    display: inline-block;
    padding: 0.5rem 2rem;
    background-color: var(--color-accent-gold);
    color: var(--color-background-dark);
    text-decoration: none;
    font-weight: 700;
    border-radius: 5px;
    transition: background-color 0.3s, transform 0.3s;
}

/* A universal transition for smooth hover effects */
/* This is good practice to place near the top of the file, or on the elements themselves */
.cta-button, .service-card, .case-study-card, .read-more {
    transition: all 0.3s ease-in-out;
}

/* ----------------------- 1. CTA Button Hover ----------------------- */
/* Target: .cta-button (The main "Start a Partnership" and "Send Message" buttons) */

.cta-button:hover {
    background-color: #ce8305; /* Change from Teal to Gold on hover */
    color: black;       /* Keep text dark for contrast */
    transform: translateY(-3px);             /* Lift button slightly for depth/3D effect */
    box-shadow: 0 8px 15px rgba(245, 158, 11, 0.4); /* Gold shadow for impact */
}

/* ----------------------- ABOUT ME SECTION ----------------------- */

.about-grid {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.about-text-content {
    flex: 1;
}

.about-headline {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    color: var(--color-text-light);
    margin: 1rem 0 1.5rem 0;
}

.about-description {
    color: #b0b0b0; /* Subdued grey */
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

/* Checklist Styles */
.about-checklist {
    list-style: none;
    padding: 0;
}

.about-checklist li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    color: var(--color-text-light);
    font-weight: 500;
}

.about-checklist li i {
    color: var(--color-accent-teal);
    width: 20px;
    height: 20px;
}

/* Image Wrapper and Floating Card */
.about-image-wrapper {
    flex: 1;
    position: relative; /* Required for absolute positioning of the gold card */
}

.about-main-img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.floating-growth-card {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background-color: var(--color-accent-gold);
    color: var(--color-background-dark);
    padding: 1.5rem 2rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: float 3s ease-in-out infinite; /* Optional: adds subtle movement */
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.floating-growth-card i {
    width: 32px;
    height: 32px;
}

.card-title {
    display: block;
    font-weight: 800;
    font-size: 1.1rem;
}

.card-subtitle {
    display: block;
    font-size: 0.85rem;
    opacity: 0.8;
}

/* ----------------------- RESPONSIVE ----------------------- */

@media (max-width: 992px) {
    .about-grid {
        flex-direction: column;
        gap: 3rem;
    }
    
    .about-headline {
        font-size: 2.5rem;
    }
    
    .floating-growth-card {
        right: 20px; /* Adjust positioning for smaller screens */
    }
}

/* ----------------------- SERVICES GRID ----------------------- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: var(--color-background-dark);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    border: 1px solid var(--color-background-medium);
    transition: all 0.3s ease-in-out;
}

/* ----------------------- 2. Service Card Hover ----------------------- */
/* Target: .service-card (The 6 B2B Sales Solutions in the grid) */
/* Note: The base .service-card:hover styles were already provided but are refined here. */

.service-card:hover {
    border-color: var(--color-accent-gold); /* Gold border highlight */
    background-color: #333333;              /* Slightly lighter background for depth */
    transform: translateY(-7px);            /* More pronounced lift */
    box-shadow: 0 15px 30px rgba(14, 165, 165, 0.25); /* Subtle Teal shadow */
}

/* Change the icon color on hover to match the Gold accent */
.service-card:hover i {
    color: var(--color-accent-gold); 
}

.service-card i {
    color: var(--color-accent-teal);
    width: 3rem;
    height: 3rem;
    margin-bottom: 1rem;
}

.service-card h3 {
    color: var(--color-accent-gold);
    margin-bottom: 0.5rem;
}

/* ----------------------- CASE STUDIES ----------------------- */
.case-studies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.case-study-card {
    background-color: var(--color-background-medium);
    padding: 2rem;
    border-radius: 8px;
    border-left: 5px solid var(--color-accent-teal);
    transition: transform 0.3s;
}

/* ----------------------- 3. Case Study Card Hover ----------------------- */
/* Target: .case-study-card (The 3 success stories) */

.case-study-card:hover {
    background-color: #333333; /* Darker background, making the teal strip pop */
    border-left-width: 8px;    /* Thicken the teal accent line */
    transform: translateX(10px); /* Slide slightly to the right to suggest movement/progress */
}
/* Change the 'Read More' link color on hover */
.case-study-card:hover .read-more {
    color: var(--color-accent-teal); /* Ensure link stays teal (or change to gold if preferred) */
}

.case-study-card h3 {
    color: var(--color-text-light);
    margin-bottom: 1rem;
}

.read-more {
    display: inline-flex;
    align-items: center;
    color: var(--color-accent-gold);
    text-decoration: none;
    font-weight: 600;
    margin-top: 1rem;
}

.read-more i {
    width: 1rem;
    height: 1rem;
    margin-left: 0.5rem;
}

/* ----------------------- INDUSTRY INSIGHTS ----------------------- */
.insights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.insight-card {
    background-color: var(--color-background-dark);
    padding: 1.5rem;
    border-radius: 5px;
    border: 1px solid #333;
    transition: border-color 0.3s;
}

/* ----------------------- 4. Insight Link Hover ----------------------- */
/* Target: .insight-card a (The 'Read Article' links) */

.insight-card a:hover {
    text-decoration: underline; /* Standard link effect */
    color: var(--color-accent-teal); /* Highlight in Teal */
}

.insight-card:hover {
    border-color: var(--color-accent-gold); /* Highlight the whole card border */
}

.insight-title {
    color: var(--color-accent-teal);
    margin-bottom: 0.5rem;
}

.insight-card a {
    color: var(--color-accent-gold);
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    margin-top: 1rem;
}

.insight-card a i {
    width: 1rem;
    height: 1rem;
    margin-left: 0.25rem;
}

/* ----------------------- CONTACT FORM ----------------------- */
.contact-form-wrapper {
    max-width: 600px;
    margin: 0 auto;
    background-color: var(--color-background-medium);
    padding: 3rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--color-accent-gold);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    background-color: #333;
    border: 1px solid #555;
    color: var(--color-text-light);
    border-radius: 5px;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-accent-teal);
}

.submit-button {
    width: 100%;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
}

/* Form Status / Toast Notification Area */
.form-status {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 5px;
    text-align: center;
    opacity: 0;
    transition: opacity 0.5s, background-color 0.5s;
    font-weight: 600;
}

.form-status.success {
    background-color: #16a34a; /* Green */
    opacity: 1;
}

.form-status.error {
    background-color: #dc2626; /* Red */
    opacity: 1;
}

/* ----------------------- FOOTER ----------------------- */
footer {
    padding: 2rem 0;
    text-align: center;
    background-color: #111;
    border-top: 1px solid #333;
}

footer p {
    color: #aaa;
    font-size: 0.9rem;
}

/* ----------------------- RESPONSIVE DESIGN (Mobile/Tablet) ----------------------- */
@media (max-width: 768px) {
    .section {
        padding: 4rem 0;
    }

    .hero-section {
        height: auto;
        padding: 6rem 0 4rem 0;
    }

    .hero-section h1 {
        font-size: 2.5rem;
    }

    .tagline {
        font-size: 1.2rem;
    }

    .stats-grid {
        flex-direction: column;
        align-items: center;
        padding: 1rem;
    }

    .stat-item {
        width: 100%;
        margin-bottom: 1rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .service-card {
        text-align: left;
    }
}