/* ==========================================================================
   CSS DESIGN SYSTEM - PT SOHO GEN INTERNATIONAL
   ========================================================================== */

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Poppins:wght@400;500;600;700;800&display=swap');

/* CSS Variables */
:root {
    /* Color Palette */
    --primary: #0B6B25;
    --primary-dark: #084c1a;
    --primary-light: #e8f5e9;
    --accent: #E53935;
    --accent-dark: #b71c1c;
    --black: #111111;
    --dark-gray: #333333;
    --medium-gray: #666666;
    --light-gray: #F5F5F5;
    --white: #FFFFFF;
    --glass-bg: rgba(255, 255, 255, 0.95);
    
    /* Typography */
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Layout Constants */
    --container-width: 1200px;
    --header-height: 80px;
    --top-bar-height: 40px;
    
    /* Transitions & Shadows */
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-slow: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    --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 40px rgba(0,0,0,0.12);
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--dark-gray);
    background-color: var(--white);
    overflow-x: hidden;
}

/* Typography Base */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--black);
    font-weight: 700;
    line-height: 1.3;
}

p {
    margin-bottom: 1.25rem;
}

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

ul, ol {
    list-style: none;
}

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

/* ==========================================================================
   UTILITY CLASSES & GRID SYSTEM
   ========================================================================== */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin-right: auto;
    margin-left: auto;
    padding-right: 20px;
    padding-left: 20px;
}

.grid {
    display: grid;
    gap: 30px;
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

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

.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

.section-padding {
    padding: 100px 0;
}

.alternate-bg {
    background-color: var(--light-gray);
}

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

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

.text-white-50 {
    color: rgba(255, 255, 255, 0.7) !important;
}

/* Section Headers */
.section-tag {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary);
    display: inline-block;
    margin-bottom: 10px;
    position: relative;
    padding-left: 30px;
}

.section-tag::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 2px;
    background-color: var(--primary);
}

.section-tag.text-white::before {
    background-color: var(--white);
}

.section-title {
    font-size: 2.25rem;
    margin-bottom: 20px;
    font-weight: 800;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--medium-gray);
    max-width: 700px;
    margin: 0 auto 50px auto;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 5px;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.btn i {
    margin-left: 8px;
    font-size: 0.85rem;
}

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

.btn-primary:hover {
    background-color: var(--primary-dark);
    box-shadow: 0 5px 15px rgba(11, 107, 37, 0.3);
    transform: translateY(-2px);
}

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

.btn-outline:hover {
    background-color: var(--white);
    color: var(--black);
    transform: translateY(-2px);
}

.btn-block {
    display: flex;
    width: 100%;
}

.btn-lg {
    padding: 15px 36px;
    font-size: 1.05rem;
}

.btn-text {
    display: inline-flex;
    align-items: center;
    font-weight: 600;
    color: var(--primary);
    font-size: 0.95rem;
}

.btn-text i {
    margin-left: 5px;
    transition: var(--transition);
}

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

.btn-text:hover i {
    transform: translateX(5px);
}

/* Animations Trigger */
.reveal-fade, .reveal-slide-left, .reveal-slide-right {
    opacity: 0;
    transition: var(--transition-slow);
}

.reveal-fade {
    transform: translateY(30px);
}

.reveal-slide-left {
    transform: translateX(-50px);
}

.reveal-slide-right {
    transform: translateX(50px);
}

.reveal-visible {
    opacity: 1 !important;
    transform: translate(0) !important;
}

/* Animate Pulse (Micro-animation) */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.animate-pulse {
    animation: pulse 2s infinite;
}

/* ==========================================================================
   TOP BAR & HEADER
   ========================================================================== */
.top-bar {
    height: var(--top-bar-height);
    background-color: var(--black);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left span {
    display: inline-flex;
    align-items: center;
}

.top-bar-left i, .top-bar-right i {
    margin-right: 6px;
    color: var(--primary);
}

.top-bar-right a {
    margin-left: 20px;
}

.top-bar-right a:hover {
    color: var(--white);
}

/* Main Header */
.main-header {
    height: var(--header-height);
    background-color: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.main-header.scrolled {
    background-color: var(--white);
    box-shadow: var(--shadow-md);
    height: 70px;
}

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

/* Logo */
.brand-logo {
    display: flex;
    align-items: center;
}

.logo-svg, .logo-img {
    height: 50px;
    width: auto;
    display: block;
    object-fit: contain;
}

/* Desktop Navigation */
.nav-menu ul {
    display: flex;
}

.nav-menu a {
    padding: 10px 18px;
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--black);
    position: relative;
}

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

.nav-menu a:hover, .nav-menu a.active {
    color: var(--primary);
}

.nav-menu a:hover::after, .nav-menu a.active::after {
    width: calc(100% - 36px);
}

.header-actions {
    display: flex;
    align-items: center;
}

.btn-call span {
    font-size: 0.9rem;
}

/* Hamburger Button */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 18px;
    background: none;
    border: none;
    cursor: pointer;
    margin-left: 20px;
    z-index: 1001;
}

.hamburger .bar {
    width: 100%;
    height: 3px;
    background-color: var(--black);
    border-radius: 2px;
    transition: var(--transition);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
    position: relative;
    height: calc(100vh - var(--header-height) - var(--top-bar-height));
    min-height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

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

/* Textures Overlay for Textile Theme */
.hero-overlay-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    display: flex;
    justify-content: space-around;
    pointer-events: none;
    opacity: 0.15;
}

.grid-line {
    width: 1px;
    height: 100%;
    background: linear-gradient(to bottom, var(--white), rgba(255,255,255,0));
}

/* Floating Decorative Background Shapes */
.hero-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
    pointer-events: none;
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.25;
    transition: var(--transition-slow);
}

.shape-1 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--primary) 0%, rgba(11, 107, 37, 0) 70%);
    top: 10%;
    left: 5%;
    animation: floatShape1 18s ease-in-out infinite alternate;
}

.shape-2 {
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, var(--accent) 0%, rgba(229, 57, 53, 0) 70%);
    bottom: -10%;
    right: 10%;
    animation: floatShape2 25s ease-in-out infinite alternate;
}

.shape-3 {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, var(--white) 0%, rgba(255, 255, 255, 0) 70%);
    top: 40%;
    right: 30%;
    animation: floatShape3 15s ease-in-out infinite alternate;
}

@keyframes floatShape1 {
    0% { transform: translate(0, 0) scale(1) rotate(0deg); }
    100% { transform: translate(60px, 40px) scale(1.15) rotate(90deg); }
}

@keyframes floatShape2 {
    0% { transform: translate(0, 0) scale(1) rotate(0deg); }
    100% { transform: translate(-80px, -60px) scale(1.1) rotate(-180deg); }
}

@keyframes floatShape3 {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(30px, -30px) scale(0.9); }
}

.hero-content {
    max-width: 750px;
    color: var(--white);
}

.hero-tag {
    background-color: var(--primary);
    padding: 6px 16px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    margin-bottom: 25px;
}

.hero-tag i {
    margin-right: 8px;
    color: var(--accent);
}

.hero-title {
    font-size: 3.25rem;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 20px;
    color: var(--white);
    letter-spacing: -0.5px;
}

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 300;
    line-height: 1.6;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.9);
}

.hero-actions .btn {
    margin-right: 15px;
}

.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--white);
    font-size: 1.5rem;
    animation: bounce 2s infinite;
    z-index: 10;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translate(-50%, 0); }
    40% { transform: translate(-50%, -10px); }
    60% { transform: translate(-50%, -5px); }
}

/* ==========================================================================
   ABOUT SECTION
   ========================================================================== */
.grid-about {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
}

.about-visual {
    position: relative;
    padding-right: 50px;
}

.image-wrapper {
    position: relative;
}

.about-img {
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
    width: 100%;
    height: 480px;
    object-fit: cover;
}

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

.experience-badge {
    position: absolute;
    bottom: -30px;
    right: 0px;
    background-color: var(--primary);
    color: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 180px;
    animation: floatBadge 5s ease-in-out infinite;
}

.exp-number {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
    font-family: var(--font-heading);
    margin-bottom: 5px;
}

.exp-text {
    font-size: 0.85rem;
    font-weight: 600;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-info {
    padding-left: 20px;
}

.about-description {
    font-size: 1.1rem;
    color: var(--medium-gray);
    margin-bottom: 40px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.value-card {
    background-color: var(--white);
    padding: 20px;
    border-radius: 5px;
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--primary);
    transition: var(--transition);
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.value-icon {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 12px;
}

.value-card h4 {
    font-size: 1.05rem;
    margin-bottom: 8px;
}

.value-card p {
    font-size: 0.85rem;
    color: var(--medium-gray);
    margin-bottom: 0;
}

/* ==========================================================================
   PRODUCTS SECTION
   ========================================================================== */
.product-card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-slow);
    display: flex;
    flex-direction: column;
}

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

.product-img-wrapper {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.product-card:hover .product-img {
    transform: scale(1.1);
}

.product-card-body {
    padding: 30px;
    position: relative;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-icon {
    position: absolute;
    top: -25px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    border: 3px solid var(--white);
    transition: var(--transition);
}

.product-card:hover .product-icon {
    background-color: var(--accent);
}

.product-card-body h3 {
    font-size: 1.25rem;
    margin-bottom: 15px;
}

.product-card-body p {
    font-size: 0.9rem;
    color: var(--medium-gray);
    margin-bottom: 25px;
    flex-grow: 1;
}

/* ==========================================================================
   WHY CHOOSE US & FEATURE BOXES
   ========================================================================== */
.feature-box {
    background-color: var(--white);
    padding: 40px 30px;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.feature-box:hover::before {
    transform: scaleX(1);
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: rgba(11, 107, 37, 0.1);
}

.feature-icon {
    font-size: 2.25rem;
    color: var(--primary);
    margin-bottom: 20px;
    transition: var(--transition);
}

.feature-box:hover .feature-icon {
    color: var(--accent);
}

.feature-box h3 {
    font-size: 1.15rem;
    margin-bottom: 12px;
}

.feature-box p {
    font-size: 0.9rem;
    color: var(--medium-gray);
    margin-bottom: 0;
}

/* ==========================================================================
   INDUSTRIES WE SERVE
   ========================================================================== */
.industry-card {
    position: relative;
    height: 350px;
    border-radius: 8px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-slow);
}

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

.industry-content {
    padding: 40px;
    color: var(--white);
    z-index: 2;
    transition: var(--transition-slow);
    transform: translateY(20px);
}

.industry-card:hover .industry-content {
    transform: translateY(0);
}

.ind-icon {
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 15px;
    opacity: 0;
    transform: translateY(10px);
    transition: var(--transition-slow);
}

.industry-card:hover .ind-icon {
    opacity: 1;
    transform: translateY(0);
}

.industry-card h3 {
    font-size: 1.35rem;
    color: var(--white);
    margin-bottom: 10px;
}

.industry-card p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: var(--transition-slow);
}

.industry-card:hover p {
    opacity: 1;
    max-height: 80px;
    margin-top: 10px;
}

/* ==========================================================================
   GLOBAL EXPORT & MAP STYLING
   ========================================================================== */
.global-export {
    background-color: var(--black);
    position: relative;
    overflow: hidden;
}

.global-map-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.45;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.world-map-svg {
    width: 90%;
    height: auto;
    max-height: 100%;
}

.relative-content {
    position: relative;
    z-index: 2;
}

/* Map Animations */
@keyframes mapPulse {
    0% { r: 5; opacity: 1; }
    100% { r: 18; opacity: 0; }
}

.map-pulse {
    transform-origin: center;
    animation: mapPulse 2s infinite;
}

.map-arc {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: drawArc 6s linear infinite;
}

@keyframes drawArc {
    to {
        stroke-dashoffset: 0;
    }
}

/* Statistics Counters */
.stats-grid {
    margin-top: 60px;
}

.stat-card {
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
    padding: 40px 20px;
    border-radius: 8px;
    text-align: center;
    transition: var(--transition);
}

.stat-card:hover {
    background-color: rgba(255, 255, 255, 0.06);
    transform: translateY(-5px);
}

.stat-icon {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
    margin-bottom: 10px;
    font-family: var(--font-heading);
}

.stat-label {
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ==========================================================================
   GALLERY SECTION
   ========================================================================== */
.gallery-grid {
    gap: 20px;
}

.gallery-item {
    position: relative;
    height: 280px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(to top, rgba(11, 107, 37, 0.9) 20%, rgba(17, 17, 17, 0.4) 100%);
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding: 30px;
    opacity: 0;
    transition: var(--transition);
    z-index: 2;
}

.gallery-item:hover .gallery-img {
    transform: scale(1.1);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-info {
    color: var(--white);
}

.gallery-cat {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--accent);
    margin-bottom: 5px;
    display: block;
}

.gallery-info h3 {
    color: var(--white);
    font-size: 1.15rem;
    margin-bottom: 0;
}

.gallery-icon-btn {
    width: 40px;
    height: 40px;
    background-color: var(--white);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transform: translateY(10px);
    transition: var(--transition);
}

.gallery-item:hover .gallery-icon-btn {
    transform: translateY(0);
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */
.grid-contact {
    grid-template-columns: 0.9fr 1.1fr;
    align-items: stretch;
}

.contact-details {
    padding-right: 30px;
}

.contact-intro {
    font-size: 1.05rem;
    color: var(--medium-gray);
    margin-bottom: 40px;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.method-item {
    display: flex;
    align-items: flex-start;
}

.method-icon {
    font-size: 2rem;
    color: var(--primary);
    margin-right: 20px;
    margin-top: 3px;
}

.method-text h4 {
    font-size: 1.05rem;
    margin-bottom: 5px;
}

.method-text p {
    font-size: 0.95rem;
    color: var(--medium-gray);
    margin-bottom: 0;
    line-height: 1.5;
}

.method-text a:hover {
    color: var(--primary);
}

/* Form Container */
.contact-form-container {
    background-color: var(--white);
    padding: 50px;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(0,0,0,0.05);
}

.form-title {
    font-size: 1.5rem;
    margin-bottom: 30px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--black);
}

.form-group label .required {
    color: var(--accent);
}

.form-group input, .form-group textarea {
    padding: 12px 18px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    border: 1px solid #dddddd;
    border-radius: 4px;
    background-color: var(--white);
    outline: none;
    transition: var(--transition);
}

.form-group input:focus, .form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(11, 107, 37, 0.1);
}

/* Error and Validation States */
.form-group.invalid input, .form-group.invalid textarea {
    border-color: var(--accent);
    background-color: rgba(229, 57, 53, 0.01);
}

.form-group.invalid input:focus, .form-group.invalid textarea:focus {
    box-shadow: 0 0 0 3px rgba(229, 57, 53, 0.1);
}

.form-group.valid input, .form-group.valid textarea {
    border-color: var(--primary);
    background-color: rgba(11, 107, 37, 0.01);
}

.error-msg {
    font-size: 0.75rem;
    color: var(--accent);
    margin-top: 5px;
    font-weight: 500;
    display: none;
}

.form-group.invalid .error-msg {
    display: block;
}

/* Form Submit Alert */
.form-alert {
    padding: 15px;
    border-radius: 4px;
    font-size: 0.95rem;
    font-weight: 500;
    margin-top: 20px;
    display: none;
}

.form-alert.success {
    display: block;
    background-color: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #c8e6c9;
}

.form-alert.error {
    display: block;
    background-color: #ffebee;
    color: #c62828;
    border: 1px solid #ffcdd2;
}

/* ==========================================================================
   FOOTER SECTION
   ========================================================================== */
.footer-section {
    background-color: var(--black);
    color: rgba(255, 255, 255, 0.7);
    padding-top: 80px;
}

.footer-top {
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr 0.7fr 1.3fr;
    gap: 40px;
}

.footer-logo {
    height: 50px;
    margin-bottom: 25px;
}

.footer-desc {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 25px;
}

.social-icons {
    display: flex;
    gap: 12px;
}

.social-icons a {
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    transition: var(--transition);
}

.social-icons a:hover {
    background-color: var(--primary);
    transform: translateY(-3px);
}

.footer-col h3 {
    color: var(--white);
    font-size: 1.15rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background-color: var(--primary);
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    font-size: 0.9rem;
}

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

.footer-contact li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 18px;
    font-size: 0.9rem;
}

.footer-contact li i {
    color: var(--primary);
    margin-right: 15px;
    margin-top: 4px;
    font-size: 1rem;
}

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

.footer-bottom {
    background-color: #0b0b0b;
    padding: 25px 0;
    font-size: 0.85rem;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-legal a {
    margin-left: 15px;
}

.footer-legal span {
    color: rgba(255,255,255,0.2);
}

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

/* ==========================================================================
   LIGHTBOX MODAL
   ========================================================================== */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(17, 17, 17, 0.95);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-slow);
}

.lightbox.active {
    opacity: 1;
    pointer-events: auto;
}

.lightbox-img {
    max-width: 85%;
    max-height: 75%;
    border-radius: 4px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    transform: scale(0.9);
    transition: var(--transition-slow);
}

.lightbox.active .lightbox-img {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: var(--white);
    font-size: 2.5rem;
    cursor: pointer;
    transition: var(--transition);
}

.lightbox-close:hover {
    color: var(--accent);
}

.lightbox-caption {
    color: var(--white);
    margin-top: 20px;
    font-size: 1.1rem;
    font-weight: 500;
}

/* ==========================================================================
   MEDIA QUERIES (RESPONSIVENESS)
   ========================================================================== */

/* Large screens and down (Desktop / Tablet transition) */
@media (max-width: 1024px) {
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .about-visual {
        padding-right: 0;
        margin-bottom: 40px;
    }
    
    .grid-about {
        grid-template-columns: 1fr;
    }
    
    .about-img {
        height: 380px;
    }
    
    .experience-badge {
        bottom: -20px;
        right: 20px;
    }
}

/* Medium screens and down (Tablets) */
@media (max-width: 768px) {
    .section-padding {
        padding: 70px 0;
    }

    .section-title {
        font-size: 1.85rem;
    }
    
    .grid-3 {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .grid-2, .grid-contact {
        grid-template-columns: 1fr;
    }
    
    .top-bar {
        display: none; /* Hide top utility bar on mobile to conserve screen space */
    }
    
    /* Mobile Menu Navigation overlay */
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: var(--header-height);
        left: -100%;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background-color: var(--white);
        box-shadow: 0 10px 15px rgba(0,0,0,0.05);
        z-index: 1000;
        transition: var(--transition-slow);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu ul {
        flex-direction: column;
        align-items: center;
        padding: 50px 0;
    }
    
    .nav-menu li {
        margin: 15px 0;
    }
    
    .nav-menu a {
        font-size: 1.15rem;
    }
    
    .nav-menu a::after {
        left: 0;
    }
    
    .nav-menu a:hover::after, .nav-menu a.active::after {
        width: 100%;
    }
    
    /* Hamburger active animation */
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }
    
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    /* Hero section font sizing */
    .hero-title {
        font-size: 2.25rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-actions {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }
    
    .hero-actions .btn {
        margin-right: 0;
        width: 100%;
    }
    
    /* About styling adjustments */
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    /* Contact Form styling */
    .contact-form-container {
        padding: 30px 20px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .contact-details {
        padding-right: 0;
        margin-bottom: 40px;
    }
}

/* Small screen sizing (Mobile devices) */
@media (max-width: 480px) {
    .grid-4 {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .footer-legal a {
        margin: 0 10px;
    }
    
    .btn-call span {
        display: none; /* Hide button text on extra-small mobile, keep only icon */
    }
    
    .btn-call {
        padding: 10px 14px;
        border-radius: 50%;
    }
    
    .btn-call i {
        margin-left: 0;
        font-size: 1rem;
    }
}
