/* ==========================================================================
   TEXPE ENTERPRISES - MASTER STYLE SHEET (PREMIUM EDITION)
   ========================================================================== */

/* --- 1. DESIGN TOKENS --- */
:root {
    --accent: #DBB727;        /* Signature Gold */
    --dark: #0f172a;          /* Deep Industrial Navy */
    --dark-alt: #1e293b;      /* Lighter Navy for cards */
    --white: #ffffff;
    --light-bg: #f8fafc;      /* Soft gray for sections */
    --text-main: #334155;
    --text-muted: #64748b;
    --nav-height: 90px;
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- 2. GLOBAL RESET --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--white);
    color: var(--text-main);
    line-height: 1.7;
    overflow-x: hidden;
}

/* --- 3. NAVIGATION (Luxury Fixed) --- */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 8%;
    height: var(--nav-height);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid #e2e8f0;
}

.brand-logo {
    height: 45px;
    transition: var(--transition);
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links a {
    color: var(--dark);
    text-decoration: none;
    font-weight: 700;
    margin-left: 35px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
}

.nav-links a:hover, .nav-links a.active {
    color: var(--accent);
}

.mobile-menu-btn {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

/* --- 4. HERO SECTION (Cinematic) --- */
.hero-section {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(rgba(15, 23, 42, 0.75), rgba(15, 23, 42, 0.75)), 
                url('img/indexpage.jpg') no-repeat center center/cover;
    background-attachment: fixed;
    text-align: center;
    padding-top: var(--nav-height);
}

.hero-title {
    font-size: clamp(2.5rem, 7vw, 5.5rem);
    font-weight: 900;
    color: var(--white);
    line-height: 0.95;
    letter-spacing: -3px;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: #cbd5e1;
    text-transform: uppercase;
    letter-spacing: 5px;
    margin-bottom: 40px;
    font-weight: 300;
}

/* --- 5. BUTTONS (Premium Finish) --- */
.btn-group {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.btn-yellow {
    padding: 18px 45px;
    background: var(--accent);
    color: var(--dark);
    text-decoration: none;
    font-weight: 800;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    border: 2px solid var(--accent);
}

.btn-yellow:hover {
    background: transparent;
    color: var(--accent);
    transform: translateY(-3px);
}

.btn-outline {
    padding: 18px 45px;
    background: transparent;
    color: var(--white);
    text-decoration: none;
    font-weight: 800;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid var(--white);
    transition: var(--transition);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--dark);
    transform: translateY(-3px);
}

/* --- 6. FEATURES (Floating Modern Grid) --- */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 0;
    max-width: 1400px;
    margin: -100px auto 100px; /* Overlaps the hero */
    background: var(--white);
    position: relative;
    z-index: 10;
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.15);
    border-radius: 4px;
    overflow: hidden;
}

.feature-item {
    padding: 80px 50px;
    border-right: 1px solid #f1f5f9;
    text-align: left;
    transition: var(--transition);
}

.feature-item:last-child {
    border-right: none;
}

.feat-icon {
    font-size: 30px;
    display: inline-block;
    margin-bottom: 30px;
    padding: 20px;
    background: #fffbeb;
    border-radius: 50%;
}

.feature-item h3 {
    font-size: 1.3rem;
    font-weight: 900;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.feature-item p {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.8;
}

.feature-item:hover {
    background: var(--dark);
    transform: translateY(-10px);
}

.feature-item:hover h3 { color: var(--accent); }
.feature-item:hover p { color: #94a3b8; }

/* --- 7. FOOTER (Balanced & Sophisticated) --- */
.site-footer {
    background-color: var(--dark);
    color: var(--white);
    padding: 100px 8% 40px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 60px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* --- FOOTER LOGO FIX (ORIGINAL COLORS) --- */

.footer-brand .logo-badge {
    background: #ffffff; /* Pure white background so original colors pop */
    padding: 15px 25px;
    display: inline-block;
    border-radius: 4px;
    margin-bottom: 25px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2); /* Adds depth */
}

.footer-logo {
    height: 50px; /* Original size */
    width: auto;
    display: block;
    filter: none !important; /* REMOVES the white filter */
    opacity: 1 !important;
}

.footer-brand p {
    color: #94a3b8;
    font-size: 14px;
    margin-top: 10px;
    max-width: 300px;
}

.footer-contact h4, .footer-social h4 {
    font-size: 12px;
    letter-spacing: 3px;
    color: var(--accent);
    margin-bottom: 30px;
    font-weight: 900;
}

.social-icons {
    display: flex;
    gap: 20px;
}

.social-btn {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--white);
    text-decoration: none;
    border-radius: 50%;
    transition: var(--transition);
}

.social-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    font-size: 12px;
    color: #475569;
}

/* --- 8. MOBILE RESPONSIVENESS --- */
@media (max-width: 992px) {
    .navbar { padding: 0 5%; }
    .nav-links { display: none; } /* Requires a mobile menu toggle script later */
    .mobile-menu-btn { display: block; }
    .hero-title { font-size: 3rem; }
    .features { margin: -50px 20px 50px; grid-template-columns: 1fr; }
    .feature-item { padding: 60px 30px; border-right: none; border-bottom: 1px solid #f1f5f9; }
    .btn-group { flex-direction: column; }
}

/* Yellow Accent Helper */
.yellow-text { color: var(--accent); }

/* --- 8. MASTER MOBILE RESPONSIVENESS --- */

/* Tablet & Smaller Desktop (1024px and below) */
@media (max-width: 1024px) {
    .navbar { padding: 0 5%; }
    .features { 
        margin: -80px 4% 80px; 
        grid-template-columns: repeat(2, 1fr); 
    }
}

/* Mobile Devices (992px and below) */
@media (max-width: 992px) {
    .navbar { height: 70px; }
    :root { --nav-height: 70px; } /* Adjusts the hero padding automatically */

    .nav-links { display: none; } /* Standard behavior for mobile toggle */
    .mobile-menu-btn { 
        display: block; 
        color: var(--dark);
        margin-right: 10px;
    }

    .hero-title { 
        font-size: 3.5rem; 
        letter-spacing: -1px;
    }

    .features { 
        grid-template-columns: 1fr; 
        margin: -50px 20px 50px; 
    }

    .feature-item { 
        padding: 50px 30px; 
        border-right: none; 
        border-bottom: 1px solid #f1f5f9; 
    }

    .btn-group { 
        flex-direction: column; 
        align-items: center;
        gap: 15px;
    }

    .btn-yellow, .btn-outline { 
        width: 100%; 
        max-width: 300px;
        padding: 15px 30px;
        text-align: center;
    }
}
/* --- Mobile Menu Logic --- */
@media (max-width: 992px) {
    /* Hide the links by default on mobile and position them */
    .nav-links {
        display: none; 
        flex-direction: column;
        position: absolute;
        top: var(--nav-height);
        left: 0;
        width: 100%;
        background: var(--white);
        padding: 40px 0;
        border-bottom: 2px solid var(--accent);
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    }

    /* This class will be added via JavaScript */
    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        margin: 15px 0;
        text-align: center;
        width: 100%;
        display: block;
        font-size: 16px;
    }
}

/* Phones (480px and below) */
@media (max-width: 480px) {
    .hero-title { 
        font-size: 2.5rem; 
        line-height: 1.1;
    }

    .hero-subtitle {
        font-size: 0.9rem;
        letter-spacing: 2px;
        margin-bottom: 30px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .footer-brand .logo-badge {
        margin: 0 auto 20px;
    }

    .footer-brand p {
        margin: 10px auto;
    }

    .social-icons {
        justify-content: center;
    }
}

/* ==========================================================================
   ABOUT PAGE - PREMIUM REFINEMENTS
   ========================================================================== */

/* 1. About Hero with Parallax Feel */
.about-hero {
    height: 70vh;
    background: linear-gradient(rgba(15, 23, 42, 0.8), rgba(15, 23, 42, 0.8)), 
                url('img/about-mainpage.jpg') center/cover no-repeat fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: var(--nav-height);
}

.about-hero h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    letter-spacing: -2px;
}

/* 2. Split Section with Depth */
.split-section {
    padding: 120px 8%;
    background: var(--white);
}

.split-container {
    display: flex;
    align-items: center;
    gap: 80px;
    max-width: 1300px;
    margin: 0 auto;
}

.split-image {
    flex: 1;
    position: relative;
}

.split-image img {
    width: 100%;
    border-radius: 4px;
    box-shadow: 40px 40px 0px var(--light-bg); /* Industrial shadow effect */
}

/* Overlapping Badge */
.experience-badge {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background: var(--accent);
    padding: 40px 30px;
    color: var(--dark);
    text-align: center;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    border-radius: 4px;
}

.experience-badge .years {
    font-size: 3.5rem;
    font-weight: 900;
    display: block;
    line-height: 1;
}

.experience-badge .years-text {
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 2px;
}

/* 3. Text Styling */
.split-text h2 {
    font-size: 2.8rem;
    line-height: 1.1;
    margin-bottom: 30px;
    font-weight: 900;
}

.section-tag {
    color: var(--accent);
    font-weight: 800;
    letter-spacing: 3px;
    font-size: 13px;
    display: block;
    margin-bottom: 15px;
}

.split-text p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    max-width: 500px;
}

/* 4. Dark Mode Core Values */
.core-values {
    padding: 120px 8%;
    background: var(--dark);
    color: var(--white);
}

.values-header {
    text-align: center;
    margin-bottom: 80px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.value-item {h1
    background: rgba(255, 255, 255, 0.03);
    padding: 60px 40px;
    border-top: 4px solid var(--accent);
    transition: var(--transition);
}

.v-icon {
    font-size: 40px;
    color: var(--accent);
    margin-bottom: 25px;
}

.value-item h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.value-item:hover {
    background: rgba(255, 255, 255, 0.07);
    transform: translateY(-10px);
}

/* --- ABOUT PAGE RESPONSIVENESS --- */

/* 1. Tablet & Large Phones (1024px and below) */
@media (max-width: 1024px) {
    .split-container {
        flex-direction: column; /* Stacks image on top of text */
        gap: 60px;
        text-align: center;
        padding: 80px 5%;
    }

    .split-text p {
        max-width: 100%; /* Allows text to fill the width */
        margin-left: auto;
        margin-right: auto;
    }

    .split-image img {
        box-shadow: 20px 20px 0px var(--light-bg); /* Smaller shadow for smaller screens */
    }

    .experience-badge {
        bottom: -20px;
        right: 0;
        padding: 20px 25px;
    }
}

/* 2. Standard Mobile (768px and below) */
@media (max-width: 768px) {
    .about-hero {
        height: 50vh; /* Shorter hero on mobile */
    }

    .split-text h2 {
        font-size: 2rem; /* Scaled down heading */
    }

    .values-header h2 {
        font-size: 2rem;
    }

    .values-grid {
        grid-template-columns: 1fr; /* Single column for core values */
        gap: 20px;
    }

    .value-item {
        padding: 40px 30px;
    }
}

/* 3. Small Phones (480px and below) */
@media (max-width: 480px) {
    .split-image img {
        box-shadow: none; /* Remove industrial shadow to save space */
    }

    .experience-badge {
        position: relative; /* Moves badge below the image instead of floating */
        bottom: 0;
        right: 0;
        margin: 20px auto 0;
        width: fit-content;
        display: block;
    }

    .experience-badge .years {
        font-size: 2.5rem;
    }

    .core-values {
        padding: 60px 5%;
    }
}

/* ==========================================================================
   PRODUCTS PAGE - LUXURY CATALOG STYLES
   ========================================================================== */

/* 1. Header Refinement */
.product-hero-minimal {
    background: var(--dark);
    padding: 160px 8% 100px;
    text-align: center;
}

.title-underline {
    width: 80px;
    height: 3px;
    background: var(--accent);
    margin: 25px auto 0;
}

/* 2. Collection Grid */
.collection-section {
    padding: 120px 8%;
    background: #fdfdfd;
}

.collection-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
}

/* 3. The Luxury Card */
.luxury-card {
    background: var(--white);
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid #f1f5f9;
}

.image-wrapper {
    position: relative;
    height: 480px; /* Tall, elegant portrait aspect ratio */
    overflow: hidden;
    background: #f8fafc;
}

.image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Elegant Hover Overlay */
.hover-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(15, 23, 42, 0.7); /* Deep navy glass effect */
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
    backdrop-filter: blur(4px);
}

.btn-minimal {
    padding: 15px 35px;
    border: 1px solid var(--accent);
    color: var(--accent);
    text-decoration: none;
    font-weight: 800;
    font-size: 13px;
    letter-spacing: 3px;
    transition: var(--transition);
}

.btn-minimal:hover {
    background: var(--accent);
    color: var(--dark);
}

/* Card Content Styling */
.luxury-content {
    padding: 40px 20px;
    text-align: center;
}

.card-meta {
    font-size: 11px;
    letter-spacing: 4px;
    color: var(--accent);
    font-weight: 800;
    margin-bottom: 15px;
}

.luxury-content h3 {
    font-size: 1.8rem;
    font-weight: 900;
    letter-spacing: -1px;
    margin-bottom: 15px;
}

.luxury-content p {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.8;
    max-width: 300px;
    margin: 0 auto;
}

/* Interaction Effects */
.luxury-card:hover {
    box-shadow: 0 30px 60px rgba(0,0,0,0.1);
    transform: translateY(-10px);
}

.luxury-card:hover .image-wrapper img {
    transform: scale(1.1);
}

.luxury-card:hover .hover-overlay {
    opacity: 1;
}

/* --- PRODUCTS PAGE RESPONSIVENESS --- */

/* 1. Tablet & Small Laptops (1024px and below) */
@media (max-width: 1024px) {
    .collection-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns for tablets */
        gap: 25px;
        padding: 60px 5%;
    }

    .image-wrapper {
        height: 400px; /* Slightly shorter images */
    }
}

/* 2. Mobile Devices (768px and below) */
@media (max-width: 768px) {
    .product-hero-minimal {
        padding: 120px 5% 60px; /* Reduced padding for mobile header */
    }

    .product-hero-minimal h1 {
        font-size: 2.2rem;
    }

    .collection-grid {
        grid-template-columns: 1fr; /* Single column for better focus on products */
        gap: 30px;
    }

    .image-wrapper {
        height: 380px; /* Optimized height for mobile viewing */
    }

    .luxury-content {
        padding: 30px 15px;
    }

    .luxury-content h3 {
        font-size: 1.5rem;
    }

    /* Keep the hover overlay always visible or more accessible on touch */
    .hover-overlay {
        opacity: 0.9; /* Slight visibility so mobile users see the button */
        background: rgba(15, 23, 42, 0.4);
    }
}

/* 3. Small Phones (480px and below) */
@media (max-width: 480px) {
    .image-wrapper {
        height: 320px; /* Further reduction to keep content "above the fold" */
    }

    .luxury-content p {
        font-size: 14px;
        max-width: 100%;
    }
    
    .luxury-card:hover {
        transform: none; /* Disable lift-up effect on tiny screens to prevent jitter */
    }
}

/* ==========================================================================
   INNOVATIONS PAGE - TECH & R&D STYLES
   ========================================================================== */

/* 1. Tech Hero */
.innovation-hero {
    height: 60vh;
    background: linear-gradient(rgba(15, 23, 42, 0.85), rgba(15, 23, 42, 0.85)), 
                url('img/indexpage.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.tech-tag {
    color: var(--accent);
    font-weight: 900;
    letter-spacing: 5px;
    font-size: 12px;
    border: 1px solid var(--accent);
    padding: 8px 20px;
    display: inline-block;
    margin-bottom: 20px;
}

/* 2. Lab Section & Image Stack */
.lab-section {
    padding: 120px 8%;
    background: var(--white);
}

.lab-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
    max-width: 1300px;
    margin: 0 auto;
}

.capability-item {
    display: flex;
    gap: 25px;
    margin-top: 40px;
    padding: 30px;
    background: var(--light-bg);
    border-radius: 8px;
    transition: var(--transition);
}

.capability-item:hover {
    transform: translateX(10px);
    background: #f1f5f9;
}

.cap-icon {
    font-size: 24px;
    color: var(--accent);
}

.cap-info h4 {
    font-size: 1.1rem;
    font-weight: 900;
    margin-bottom: 5px;
}

/* The "Image Stack" Effect */
.lab-visual {
    position: relative;
}

.image-stack {
    position: relative;
    z-index: 2;
}

.main-stack-img {
    width: 100%;
    border-radius: 4px;
    position: relative;
    z-index: 3;
}

.accent-box {
    position: absolute;
    top: -40px;
    right: -40px;
    width: 100%;
    height: 100%;
    border: 10px solid var(--accent);
    z-index: 1;
}

/* 3. Process Section (Dark) */
.process-section {
    padding: 120px 8%;
    background: var(--dark);
    color: var(--white);
}

.process-header {
    text-align: center;
    margin-bottom: 80px;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.process-step {
    padding: 50px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 4px;
    position: relative;
    transition: var(--transition);
}

.step-num {
    font-size: 4rem;
    font-weight: 900;
    color: rgba(219, 183, 39, 0.1); /* Very faint yellow numbers */
    position: absolute;
    top: 10px;
    right: 20px;
}

.process-step h3 {
    font-size: 1.5rem;
    color: var(--accent);
    margin-bottom: 15px;
    font-weight: 900;
}

.process-step:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-10px);
}

/* --- INNOVATIONS PAGE RESPONSIVENESS --- */

/* 1. Tablet & Large Phones (1024px and below) */
@media (max-width: 1024px) {
    .lab-grid {
        grid-template-columns: 1fr; /* Stack text and image */
        gap: 60px;
        text-align: center;
    }

    .lab-visual {
        order: -1; /* Keep the image on top when stacked */
        max-width: 80%;
        margin: 0 auto;
    }

    .capability-item {
        text-align: left; /* Keep text inside boxes aligned left */
    }

    .accent-box {
        top: -20px; /* Bring the accent box closer to the image */
        right: -20px;
    }
}

/* 2. Standard Mobile (768px and below) */
@media (max-width: 768px) {
    .innovation-hero {
        height: 50vh;
    }

    .lab-section, .process-section {
        padding: 80px 5%;
    }

    .process-header {
        margin-bottom: 50px;
    }

    .process-grid {
        grid-template-columns: 1fr; /* Single column for R&D steps */
    }

    .process-step {
        padding: 40px 30px;
    }

    .step-num {
        font-size: 3rem; /* Scale down the giant background numbers */
    }
}

/* 3. Small Phones (480px and below) */
@media (max-width: 480px) {
    .tech-tag {
        letter-spacing: 2px;
        font-size: 10px;
    }

    .capability-item {
        flex-direction: column; /* Stack icon on top of text in small boxes */
        gap: 15px;
        padding: 25px;
    }

    .accent-box {
        display: none; /* Remove absolute border to prevent horizontal overflow */
    }

    .main-stack-img {
        box-shadow: 15px 15px 0px var(--accent); /* Simplified effect for mobile */
    }

    .process-step h3 {
        font-size: 1.2rem;
    }
}


/* ==========================================================================
   CONTACT PAGE - LUXURY INDUSTRIAL STYLES
   ========================================================================== */

/* 1. Contact Hero */
.contact-hero {
    height: 50vh;
    background: linear-gradient(rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.9)), 
                url('img/manufacturing.png') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* 2. Layout Wrapper */
.contact-grid-section {
    padding: 100px 8%;
    background: #f8fafc;
    margin-top: -100px; /* Pulls form up into hero */
    position: relative;
    z-index: 10;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 0;
    max-width: 1300px;
    margin: 0 auto;
    box-shadow: 0 50px 100px rgba(0,0,0,0.1);
    border-radius: 12px;
    overflow: hidden;
}

/* 3. Left Info Panel */
.contact-info-panel {
    background: var(--dark);
    padding: 80px 60px;
    color: var(--white);
}

.contact-info-panel h2 {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 20px;
}

.info-details {
    margin: 50px 0;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 35px;
}

.info-item i {
    font-size: 20px;
    color: var(--accent);
    margin-top: 5px;
}

.info-item h4 {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent);
    margin-bottom: 5px;
}

.info-item p {
    color: #94a3b8;
    font-size: 16px;
}

/* 4. Right Form Panel */
.contact-form-panel {
    background: var(--white);
    padding: 80px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.form-group {
    margin-bottom: 30px;
}

.form-group label {
    display: block;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    color: var(--dark);
}

.form-group input, 
.form-group select, 
.form-group textarea {
    width: 100%;
    padding: 15px 0;
    background: transparent;
    border: none;
    border-bottom: 2px solid #e2e8f0;
    font-family: inherit;
    font-size: 16px;
    transition: var(--transition);
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
    outline: none;
    border-bottom-color: var(--accent);
}

/* 5. Custom Select & Button */
select {
    cursor: pointer;
    color: var(--text-muted);
}

.contact-form-panel .btn-yellow {
    width: 100%;
    margin-top: 20px;
    border-radius: 4px;
    cursor: pointer;
}
/* --- CONTACT PAGE RESPONSIVENESS --- */

/* 1. Tablet & Large Phones (1024px and below) */
@media (max-width: 1024px) {
    .contact-wrapper {
        grid-template-columns: 1fr; /* Stack Info Panel on top of Form */
        border-radius: 8px;
    }

    .contact-info-panel {
        padding: 60px 40px;
    }

    .contact-form-panel {
        padding: 60px 40px;
    }

    .contact-grid-section {
        margin-top: -60px; /* Reduced overlap for tablets */
        padding: 0 5% 80px;
    }
}

/* 2. Standard Mobile (768px and below) */
@media (max-width: 768px) {
    .contact-hero {
        height: 40vh;
    }

    .contact-grid-section {
        margin-top: 0; /* Remove overlap for mobile to prevent layout issues */
        padding-top: 40px;
    }

    .form-row {
        grid-template-columns: 1fr; /* Stack Name/Email fields vertically */
        gap: 0;
    }

    .contact-info-panel h2 {
        font-size: 2rem;
    }

    .info-details {
        margin: 30px 0;
    }
}

/* 3. Small Phones (480px and below) */
@media (max-width: 480px) {
    .contact-info-panel, 
    .contact-form-panel {
        padding: 40px 25px; /* Compact padding for small screens */
    }

    .info-item {
        gap: 15px;
        margin-bottom: 25px;
    }

    .info-item p {
        font-size: 14px;
    }

    .form-group label {
        font-size: 10px;
    }

    .contact-form-panel .btn-yellow {
        padding: 15px;
        font-size: 13px;
    }
}