/* ==========================================================================
   MASYU YAPI İNŞAAT - MASTER DESIGN SYSTEM
   ========================================================================== */

/* Design Tokens & Theme Variables */
:root {
    --primary-dark: #07090b;       /* Pure luxury deep black */
    --secondary-dark: #0f1216;     /* Card and secondary background */
    --accent-dark: #161a20;        /* Borders and lighter card fills */
    --gold-main: #c5a880;          /* Elegant Champagne/Brass Gold */
    --gold-hover: #e0caaa;         /* Glowing Champagne Gold */
    --gold-dark: #8a7153;          /* Shadow and Border Gold */
    --text-white: #ffffff;
    --text-grey-light: #eceef0;    /* Ultra-readable grey body */
    --text-grey-dark: #8e959e;     /* Subtitle and label grey */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Transitions & Shadows */
    --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.25s ease;
    --shadow-luxury: 0 20px 40px rgba(0, 0, 0, 0.6);
    --shadow-gold: 0 10px 30px rgba(197, 168, 128, 0.12);
    --shadow-gold-hover: 0 15px 35px rgba(197, 168, 128, 0.25);
    --border-gold-soft: 1px solid rgba(197, 168, 128, 0.15);
    --border-white-soft: 1px solid rgba(255, 255, 255, 0.05);
    --glass-bg: rgba(15, 18, 22, 0.75);
    --glass-border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Base Resets */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--primary-dark);
    color: var(--text-grey-light);
    font-family: var(--font-body);
    -webkit-font-smoothing: antialiased;
}

body {
    overflow-x: hidden;
    line-height: 1.6;
}

/* Custom Premium Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--primary-dark);
}
::-webkit-scrollbar-thumb {
    background: var(--gold-dark);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--gold-main);
}

/* Common Layout Utilities */
.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

.sec-padding {
    padding: 100px 0;
}

.bg-darker {
    background-color: var(--primary-dark) !important;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Typography Classes */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-white);
    font-weight: 600;
    line-height: 1.25;
}

.text-gold {
    color: var(--gold-main);
}

/* Section Title Stylings */
.section-title-wrap {
    margin-bottom: 40px;
}

.section-title-center {
    text-align: center;
    margin-bottom: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.sub-title {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--gold-main);
    letter-spacing: 3px;
    display: block;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.title-line {
    width: 60px;
    height: 3px;
    background-color: var(--gold-main);
    margin-top: 18px;
    position: relative;
}

.title-line::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    background-color: var(--gold-main);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    padding: 12px 28px;
    border-radius: 4px;
    transition: var(--transition-smooth);
    cursor: pointer;
    border: none;
    gap: 8px;
}

.btn-gold {
    background-color: var(--gold-main);
    color: var(--primary-dark);
}

.btn-gold:hover {
    background-color: var(--gold-hover);
    box-shadow: var(--shadow-gold-hover);
    transform: translateY(-2px);
}

.btn-outline-white {
    background-color: transparent;
    color: var(--text-white);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-outline-white:hover {
    background-color: var(--text-white);
    color: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 0.95rem;
}

.btn-sm {
    padding: 8px 20px;
    font-size: 0.8rem;
}

.btn-block {
    width: 100%;
}

/* Top Info Bar */
.top-bar {
    background-color: var(--primary-dark);
    border-bottom: var(--border-white-soft);
    font-size: 0.75rem;
    color: var(--text-grey-dark);
    padding: 10px 0;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-info {
    display: flex;
    gap: 24px;
}

.top-info span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.top-info i {
    color: var(--gold-main);
}

.top-social {
    display: flex;
    gap: 16px;
}

.top-social a {
    color: var(--text-grey-dark);
}

.top-social a:hover {
    color: var(--gold-main);
}

/* Sticky Header Navigation */
.main-header {
    position: absolute;
    top: 38px;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition-smooth);
    padding: 20px 0;
}

/* Scrolled Sticky State */
.main-header.scrolled {
    position: fixed;
    top: 0;
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: var(--glass-border);
    padding: 12px 0;
    box-shadow: var(--shadow-luxury);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo Design */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--gold-main), var(--gold-dark));
    border-radius: 4px;
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.35rem;
    letter-spacing: -0.5px;
    box-shadow: 0 4px 15px rgba(197, 168, 128, 0.3);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: 1.5px;
    color: var(--text-white);
    line-height: 1;
}

.logo-subtitle {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.65rem;
    letter-spacing: 5.5px;
    color: var(--gold-main);
    line-height: 1;
    margin-top: 4px;
}

/* Nav Menu */
.nav-menu ul {
    display: flex;
    gap: 36px;
}

.nav-link {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    color: var(--text-grey-light);
    position: relative;
    padding: 6px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--gold-main);
    transition: var(--transition-smooth);
}

.nav-link:hover, .nav-link.active {
    color: var(--gold-main);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

/* Luxury Dropdown Menu */
.nav-item-dropdown {
    position: relative;
    display: flex;
    align-items: center;
}

.nav-item-dropdown > a {
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-item-dropdown .dropdown-icon {
    font-size: 0.68rem;
    color: var(--gold-main);
    transition: transform 0.3s ease;
}

.nav-item-dropdown:hover .dropdown-icon {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: -15px;
    min-width: 260px;
    background: rgba(15, 18, 23, 0.98);
    border: 1px solid var(--border-gold);
    border-radius: 12px;
    padding: 10px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.85), 0 0 15px rgba(197, 168, 128, 0.15);
    backdrop-filter: blur(16px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.nav-dropdown-menu::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 0;
    width: 100%;
    height: 10px;
}

.nav-item-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: 8px;
    color: var(--text-grey-light);
    font-size: 0.88rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.nav-dropdown-link i {
    color: var(--gold-main);
    font-size: 0.95rem;
    width: 18px;
    text-align: center;
}

.nav-dropdown-link:hover {
    background: rgba(197, 168, 128, 0.12);
    color: var(--text-white);
    transform: translateX(4px);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Mobile Toggle Hamburger */
.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 22px;
    position: relative;
    z-index: 1100;
}

.mobile-menu-toggle span {
    display: block;
    position: absolute;
    height: 2.5px;
    width: 100%;
    background-color: var(--text-white);
    border-radius: 2px;
    transition: var(--transition-smooth);
}

.mobile-menu-toggle span:nth-child(1) { top: 0px; }
.mobile-menu-toggle span:nth-child(2) { top: 9px; }
.mobile-menu-toggle span:nth-child(3) { top: 18px; }

/* Active Menu Hamburger */
.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg);
    top: 9px;
}
.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}
.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg);
    top: 9px;
}

/* Mobile Drawer */
.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background-color: var(--primary-dark);
    z-index: 999;
    transition: var(--transition-smooth);
    padding: 120px 40px 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: -10px 0 30px rgba(0,0,0,0.5);
}

.mobile-nav.active {
    right: 0;
}

.mobile-nav ul {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.mobile-link {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--text-white);
}

.mobile-link:hover {
    color: var(--gold-main);
}

.mobile-nav-contact {
    border-top: var(--border-white-soft);
    padding-top: 30px;
    font-size: 0.9rem;
    color: var(--text-grey-dark);
}

.mobile-nav-contact p {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.mobile-socials {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.mobile-socials a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: var(--border-white-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
}

.mobile-socials a:hover {
    border-color: var(--gold-main);
    color: var(--gold-main);
}

/* Hero Section Styles */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 1.5s cubic-bezier(0.16, 1, 0.3, 1);
    transform: scale(1.05);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(7, 9, 11, 0.9) 30%, rgba(7, 9, 11, 0.4) 70%, rgba(7, 9, 11, 0.2) 100%);
}

.hero-content-wrapper {
    position: relative;
    z-index: 10;
    width: 100%;
}

.hero-content {
    max-width: 650px;
}

.hero-tag {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 4px;
    color: var(--gold-main);
    display: block;
    margin-bottom: 24px;
}

.hero-title {
    font-size: 3.8rem;
    font-weight: 700;
    letter-spacing: -1.5px;
    line-height: 1.15;
    margin-bottom: 24px;
}

.hero-desc {
    font-size: 1.1rem;
    color: var(--text-grey-light);
    margin-bottom: 40px;
    font-weight: 300;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

/* Scroll Mouse Indicator */
.scroll-down {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--text-grey-dark);
}

.scroll-down:hover {
    color: var(--gold-main);
}

.scroll-mouse {
    width: 26px;
    height: 42px;
    border: 2px solid var(--text-grey-dark);
    border-radius: 14px;
    position: relative;
}

.scroll-down:hover .scroll-mouse {
    border-color: var(--gold-main);
}

.scroll-wheel {
    width: 4px;
    height: 8px;
    background-color: var(--text-grey-dark);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 2s infinite ease-in-out;
}

.scroll-down:hover .scroll-wheel {
    background-color: var(--gold-main);
}

.scroll-text {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

@keyframes scrollWheel {
    0% { top: 8px; opacity: 1; }
    50% { top: 18px; opacity: 0; }
    100% { top: 8px; opacity: 1; }
}

/* Stats Section Styles */
.stats-section {
    position: relative;
    z-index: 20;
    margin-top: -60px; /* Overlaps Hero slightly */
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: var(--glass-border);
    box-shadow: var(--shadow-luxury);
    border-radius: 8px;
    padding: 36px;
}

.stat-card {
    display: flex;
    align-items: center;
    gap: 20px;
    justify-content: center;
    border-right: var(--border-white-soft);
}

.stat-card:last-child {
    border-right: none;
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: rgba(197, 168, 128, 0.1);
    border: 1px solid rgba(197, 168, 128, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: var(--gold-main);
    transition: var(--transition-smooth);
}

.stat-card:hover .stat-icon {
    background-color: var(--gold-main);
    color: var(--primary-dark);
    transform: rotateY(180deg);
}

.stat-info {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-white);
    line-height: 1;
}

.stat-number::after {
    content: '+';
    color: var(--gold-main);
    margin-left: 2px;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-grey-dark);
    margin-top: 4px;
    font-weight: 500;
}

/* About Section Styles */
.about-section {
    background-color: var(--primary-dark);
}

.about-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 80px;
    align-items: center;
}

.about-visual {
    position: relative;
    height: 520px;
}

.about-img-wrapper {
    position: absolute;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: var(--shadow-luxury);
    border: var(--border-white-soft);
}

.about-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s ease;
}

.about-img-wrapper:hover img {
    transform: scale(1.05);
}

.main-img {
    width: 75%;
    height: 420px;
    top: 0;
    left: 0;
    z-index: 2;
}

.sub-img {
    width: 50%;
    height: 280px;
    bottom: 0;
    right: 0;
    z-index: 3;
    border: 4px solid var(--primary-dark);
}

.badge-years {
    position: absolute;
    bottom: 60px;
    left: 40px;
    z-index: 5;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: var(--border-gold-soft);
    border-radius: 4px;
    padding: 20px;
    width: 160px;
    text-align: center;
    box-shadow: var(--shadow-luxury);
}

.badge-num {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--gold-main);
    display: block;
    line-height: 1;
}

.badge-txt {
    font-size: 0.75rem;
    color: var(--text-white);
    display: block;
    margin-top: 6px;
    font-weight: 500;
}

.about-text {
    display: flex;
    flex-direction: column;
}

.lead-text {
    font-size: 1.15rem;
    font-weight: 400;
    color: var(--text-white);
    margin-bottom: 20px;
    line-height: 1.6;
}

.normal-text {
    font-size: 0.95rem;
    color: var(--text-grey-dark);
    margin-bottom: 36px;
    line-height: 1.7;
}

.values-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.value-item {
    display: flex;
    gap: 20px;
}

.value-icon {
    width: 48px;
    height: 48px;
    border-radius: 4px;
    background-color: var(--secondary-dark);
    border: var(--border-gold-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--gold-main);
    flex-shrink: 0;
}

.value-content h4 {
    font-size: 1.05rem;
    margin-bottom: 6px;
}

.value-content p {
    font-size: 0.85rem;
    color: var(--text-grey-dark);
}

/* Services Section Styles */
.services-section {
    background-color: var(--secondary-dark);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.service-card {
    background-color: var(--primary-dark);
    border: var(--border-white-soft);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    height: 380px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    transition: var(--transition-smooth);
    z-index: 1;
}

.service-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background-size: cover;
    background-position: center;
    opacity: 0.15;
    transition: var(--transition-smooth);
}

.service-icon {
    width: 54px;
    height: 54px;
    border-radius: 4px;
    background-color: var(--secondary-dark);
    border: var(--border-gold-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--gold-main);
    position: absolute;
    top: calc(50% - 27px);
    left: 30px;
    z-index: 10;
    transition: var(--transition-smooth);
}

.service-card-body {
    position: relative;
    z-index: 5;
    transition: var(--transition-smooth);
}

.service-card-body h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.service-card-body p {
    font-size: 0.85rem;
    color: var(--text-grey-dark);
    margin-bottom: 20px;
    line-height: 1.6;
    height: 64px;
    overflow: hidden;
}

.service-link {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--gold-main);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.service-link i {
    transition: var(--transition-fast);
}

.service-link:hover i {
    transform: translateX(4px);
}

/* Service Card Hover States */
.service-card:hover {
    transform: translateY(-8px);
    border-color: var(--gold-main);
    box-shadow: var(--shadow-luxury);
}

.service-card:hover .service-img {
    height: 100%;
    opacity: 0.25;
}

.service-card:hover .service-icon {
    background-color: var(--gold-main);
    color: var(--primary-dark);
    top: 30px;
}

.service-card:hover .service-card-body {
    transform: translateY(0);
}

/* Projects Section Styles */
.projects-section {
    background-color: var(--primary-dark);
}

.projects-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 50px;
}

/* Category Filter Buttons */
.project-filters {
    display: flex;
    gap: 12px;
}

.filter-btn {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.85rem;
    background: var(--secondary-dark);
    color: var(--text-grey-dark);
    border: var(--border-white-soft);
    padding: 10px 24px;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.filter-btn:hover, .filter-btn.active {
    background-color: var(--gold-main);
    color: var(--primary-dark);
    border-color: var(--gold-main);
}

/* Projects Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.project-card {
    background-color: var(--secondary-dark);
    border-radius: 4px;
    overflow: hidden;
    border: var(--border-white-soft);
    transition: var(--transition-smooth);
}

.project-img-box {
    position: relative;
    height: 260px;
    overflow: hidden;
}

.project-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s ease;
}

.project-card:hover .project-img-box img {
    transform: scale(1.08);
}

/* Project Gold Overlay on Hover */
.project-overlay-gold {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(7, 9, 11, 0.95) 20%, rgba(197, 168, 128, 0.8) 100%);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    text-align: center;
}

.project-card:hover .project-overlay-gold {
    opacity: 1;
    visibility: visible;
}

.project-overlay-content {
    transform: translateY(20px);
    transition: var(--transition-smooth);
    transition-delay: 0.1s;
}

.project-card:hover .project-overlay-content {
    transform: translateY(0);
}

.proj-loc {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--gold-hover);
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-bottom: 10px;
}

.proj-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 12px;
}

.proj-summary {
    font-size: 0.8rem;
    color: var(--text-grey-light);
    margin-bottom: 20px;
    line-height: 1.5;
}

.project-info-bar {
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.project-info-bar h4 {
    font-size: 1.1rem;
    font-weight: 600;
    transition: var(--transition-fast);
}

.project-card:hover .project-info-bar h4 {
    color: var(--gold-main);
}

.project-info-bar span {
    font-size: 0.75rem;
    color: var(--text-grey-dark);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.project-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-luxury);
    border-color: rgba(197, 168, 128, 0.25);
}

/* Engineering Standards Section Styles */
.standards-section {
    background-color: var(--secondary-dark);
}

.standards-tab-container {
    max-width: 1000px;
    margin: 0 auto;
}

/* Tabs Buttons */
.standards-tab-buttons {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 40px;
}

.tab-btn {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    padding: 16px;
    background: var(--primary-dark);
    color: var(--text-grey-dark);
    border: var(--border-white-soft);
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.tab-btn:hover, .tab-btn.active {
    background-color: var(--gold-main);
    color: var(--primary-dark);
    border-color: var(--gold-main);
    box-shadow: var(--shadow-gold);
}

/* Tab Contents */
.standards-tab-content {
    display: none;
    animation: tabFadeIn 0.6s ease;
}

.standards-tab-content.active {
    display: block;
}

@keyframes tabFadeIn {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

.tab-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
    background-color: var(--primary-dark);
    border: var(--border-white-soft);
    border-radius: 8px;
    padding: 48px;
    box-shadow: var(--shadow-luxury);
}

.tab-text h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--gold-main);
}

.tab-desc {
    font-size: 0.95rem;
    color: var(--text-grey-dark);
    margin-bottom: 30px;
    line-height: 1.7;
}

.standards-ul {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.standards-ul li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.9rem;
    color: var(--text-grey-light);
}

.standards-ul i {
    color: var(--gold-main);
    font-size: 1.1rem;
    margin-top: 2px;
}

.tab-visual {
    height: 350px;
    border-radius: 4px;
    background-size: cover;
    background-position: center;
    position: relative;
    border: var(--border-white-soft);
    overflow: hidden;
}

.visual-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(7, 9, 11, 0.4), rgba(7, 9, 11, 0.9));
}

.visual-badge {
    position: absolute;
    bottom: 30px;
    left: 30px;
    background: var(--gold-main);
    color: var(--primary-dark);
    padding: 8px 18px;
    border-radius: 30px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: var(--shadow-gold-hover);
}

/* Testimonials Slider Section Styles */
.testimonials-section {
    background-color: var(--primary-dark);
}

.testimonial-slider-container {
    max-width: 850px;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
}

.testimonial-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.testimonial-slide {
    min-width: 100%;
    box-sizing: border-box;
    padding: 20px;
    opacity: 0.3;
    transition: var(--transition-smooth);
}

.testimonial-slide.active {
    opacity: 1;
}

.testimonial-card {
    background-color: var(--secondary-dark);
    border: var(--border-gold-soft);
    border-radius: 8px;
    padding: 50px;
    text-align: center;
    box-shadow: var(--shadow-luxury);
    position: relative;
}

.quote-icon {
    font-size: 3rem;
    color: rgba(197, 168, 128, 0.15);
    margin-bottom: 20px;
    line-height: 1;
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-grey-light);
    margin-bottom: 30px;
    font-style: italic;
    font-weight: 300;
}

.testimonial-stars {
    color: var(--gold-main);
    font-size: 0.95rem;
    margin-bottom: 24px;
    display: flex;
    justify-content: center;
    gap: 6px;
}

.testimonial-author h4 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.testimonial-author span {
    font-size: 0.8rem;
    color: var(--text-grey-dark);
    font-weight: 500;
}

/* Slider Dots */
.slider-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--accent-dark);
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.dot.active {
    background-color: var(--gold-main);
    border-color: var(--gold-main);
    transform: scale(1.3);
}

/* Contact & Info Panel Styles */
.contact-section {
    background-color: var(--secondary-dark);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: flex-start;
}

.contact-info-panel {
    display: flex;
    flex-direction: column;
}

.contact-intro {
    font-size: 1rem;
    color: var(--text-grey-dark);
    margin-bottom: 40px;
    line-height: 1.6;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 40px;
}

.c-detail-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.c-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--primary-dark);
    border: var(--border-gold-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--gold-main);
    flex-shrink: 0;
}

.c-txt {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.c-txt span {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-grey-dark);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.c-txt a, .c-txt p {
    font-size: 1rem;
    color: var(--text-white);
    font-weight: 500;
}

.c-txt a:hover {
    color: var(--gold-main);
}

.map-container {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    border: var(--border-gold-soft);
    box-shadow: var(--shadow-luxury);
    filter: grayscale(1) invert(0.9) contrast(1.2); /* Premium dark themed map! */
    transition: var(--transition-smooth);
}

.map-container:hover {
    filter: none;
}

/* Glassmorphic Contact Form */
.contact-form-panel {
    position: relative;
}

.glass-form-wrapper {
    background: var(--glass-bg);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: var(--glass-border);
    border-radius: 8px;
    padding: 48px;
    box-shadow: var(--shadow-luxury);
}

.glass-form-wrapper h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.glass-form-wrapper p {
    font-size: 0.85rem;
    color: var(--text-grey-dark);
    margin-bottom: 30px;
}

.form-row {
    margin-bottom: 24px;
}

.form-row.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: relative;
}

.form-group label {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-white);
    letter-spacing: 0.5px;
}

.req {
    color: var(--gold-main);
}

.input-wrap {
    position: relative;
    width: 100%;
}

.input-wrap i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-grey-dark);
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.input-wrap input,
.input-wrap select,
.input-wrap textarea {
    width: 100%;
    background-color: var(--primary-dark);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 4px;
    padding: 14px 16px 14px 44px;
    color: var(--text-white);
    font-family: var(--font-body);
    font-size: 0.9rem;
    transition: var(--transition-smooth);
    outline: none;
}

.input-wrap textarea {
    padding: 16px 16px 16px 44px;
    resize: none;
}

.input-wrap select {
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
}

.select-wrap::after {
    content: '\f107';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-grey-dark);
    pointer-events: none;
    font-size: 0.9rem;
}

.textarea-wrap i {
    top: 24px;
    transform: none;
}

/* Input Focus States */
.input-wrap input:focus,
.input-wrap select:focus,
.input-wrap textarea:focus {
    border-color: var(--gold-main);
    box-shadow: 0 0 0 3px rgba(197, 168, 128, 0.15);
}

.input-wrap input:focus + i,
.input-wrap select:focus + i,
.input-wrap textarea:focus + i {
    color: var(--gold-main);
}

/* Error Messages */
.error-msg {
    font-size: 0.75rem;
    color: #ff6b6b;
    font-weight: 500;
    display: none;
    margin-top: 4px;
}

.form-group.has-error .error-msg {
    display: block;
}

.form-group.has-error input,
.form-group.has-error select,
.form-group.has-error textarea {
    border-color: #ff6b6b;
    background-color: rgba(255, 107, 107, 0.05);
}

/* Submit Button Loading States */
.btn-submit {
    height: 52px;
}

.btn-loader {
    display: none;
}

.btn-submit.loading .btn-text {
    display: none;
}

.btn-submit.loading .btn-loader {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* Footer Section Styles */
.footer {
    background-color: var(--primary-dark);
    border-top: var(--border-white-soft);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr 0.8fr 1.2fr;
    gap: 60px;
    padding: 80px 24px;
}

.footer-col h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 12px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 2px;
    background-color: var(--gold-main);
}

.brand-col .logo {
    margin-bottom: 20px;
}

.brand-desc {
    font-size: 0.85rem;
    color: var(--text-grey-dark);
    line-height: 1.6;
    margin-bottom: 24px;
}

.footer-socials {
    display: flex;
    gap: 12px;
}

.footer-socials a {
    width: 36px;
    height: 36px;
    border-radius: 4px;
    background-color: var(--secondary-dark);
    border: var(--border-white-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    color: var(--text-grey-light);
}

.footer-socials a:hover {
    background-color: var(--gold-main);
    color: var(--primary-dark);
    border-color: var(--gold-main);
    transform: translateY(-3px);
}

.links-col ul {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.links-col a {
    font-size: 0.85rem;
    color: var(--text-grey-dark);
    display: flex;
    align-items: center;
    gap: 8px;
}

.links-col a i {
    font-size: 0.65rem;
    transition: var(--transition-fast);
}

.links-col a:hover {
    color: var(--gold-main);
}

.links-col a:hover i {
    transform: translateX(4px);
    color: var(--gold-main);
}

.newsletter-col p {
    font-size: 0.85rem;
    color: var(--text-grey-dark);
    line-height: 1.6;
    margin-bottom: 20px;
}

.newsletter-form {
    display: flex;
    border-bottom: 2px solid rgba(255, 255, 255, 0.15);
    padding-bottom: 8px;
    margin-bottom: 12px;
    transition: var(--transition-smooth);
}

.newsletter-form:focus-within {
    border-color: var(--gold-main);
}

.newsletter-form input {
    width: 100%;
    background: transparent;
    border: none;
    color: var(--text-white);
    font-family: var(--font-body);
    font-size: 0.85rem;
    outline: none;
}

.newsletter-form button {
    background: transparent;
    border: none;
    color: var(--text-grey-dark);
    cursor: pointer;
    font-size: 1.05rem;
    transition: var(--transition-fast);
}

.newsletter-form button:hover {
    color: var(--gold-main);
}

.newsletter-success {
    font-size: 0.75rem;
    color: #2ed573;
    font-weight: 500;
    display: none;
    align-items: center;
    gap: 6px;
}

/* Footer Bottom Bar */
.footer-bottom {
    background-color: var(--primary-dark);
    border-top: var(--border-white-soft);
    padding: 30px 0;
    font-size: 0.8rem;
    color: var(--text-grey-dark);
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.bottom-links {
    display: flex;
    gap: 24px;
}

.bottom-links a:hover {
    color: var(--gold-main);
}

/* Interactive Project Details Modal Styles */
.project-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
    padding: 24px;
}

.project-modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(7, 9, 11, 0.95);
    backdrop-filter: blur(10px);
}

.modal-wrapper {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 1080px;
    max-height: 90vh;
    background-color: var(--secondary-dark);
    border: var(--border-gold-soft);
    border-radius: 8px;
    box-shadow: var(--shadow-luxury);
    overflow-y: auto;
    transform: scale(0.9);
    transition: var(--transition-smooth);
}

.project-modal.active .modal-wrapper {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary-dark);
    border: var(--border-white-soft);
    color: var(--text-white);
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-smooth);
    z-index: 100;
}

.modal-close:hover {
    background-color: var(--gold-main);
    color: var(--primary-dark);
    border-color: var(--gold-main);
}

.modal-content-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    min-height: 500px;
}

.modal-visual-pane {
    position: relative;
    height: 100%;
    min-height: 400px;
    background-size: cover;
    background-position: center;
}

.modal-visual-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, var(--secondary-dark) 5%, transparent 40%);
}

.modal-text-pane {
    padding: 60px 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.modal-loc {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--gold-main);
    letter-spacing: 1.5px;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.modal-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.modal-desc {
    font-size: 0.9rem;
    color: var(--text-grey-dark);
    line-height: 1.7;
    margin-bottom: 30px;
}

/* Specs Table */
.specs-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 36px;
}

.specs-table tr {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.specs-table tr:last-child {
    border-bottom: none;
}

.specs-table td {
    padding: 12px 0;
    font-size: 0.9rem;
}

.specs-label {
    font-weight: 600;
    color: var(--text-white);
    display: flex;
    align-items: center;
    gap: 10px;
}

.specs-label i {
    color: var(--gold-main);
    width: 16px;
    text-align: center;
}

.specs-value {
    color: var(--text-grey-dark);
    text-align: right;
}

/* Success Modal Styles */
.success-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2500;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
    padding: 24px;
}

.success-modal.active {
    opacity: 1;
    visibility: visible;
}

.s-modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(7, 9, 11, 0.95);
    backdrop-filter: blur(8px);
}

.s-modal-box {
    position: relative;
    z-index: 10;
    background: var(--secondary-dark);
    border: var(--border-gold-soft);
    box-shadow: var(--shadow-luxury);
    border-radius: 8px;
    width: 100%;
    max-width: 480px;
    padding: 48px;
    text-align: center;
    transform: scale(0.9);
    transition: var(--transition-smooth);
}

.success-modal.active .s-modal-box {
    transform: scale(1);
}

.s-icon-ring {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background-color: rgba(46, 213, 115, 0.1);
    border: 2px solid #2ed573;
    color: #2ed573;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    margin-bottom: 24px;
}

.s-modal-box h3 {
    font-size: 1.6rem;
    margin-bottom: 12px;
}

.s-modal-box p {
    font-size: 0.85rem;
    color: var(--text-grey-dark);
    line-height: 1.6;
    margin-bottom: 30px;
}

/* Floating WhatsApp Widget Styles */
.whatsapp-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1500;
}

.whatsapp-bubble {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: #25d366;
    color: var(--text-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
    position: relative;
    transition: var(--transition-smooth);
}

.whatsapp-bubble:hover {
    transform: scale(1.08) rotate(8deg);
    box-shadow: 0 10px 28px rgba(37, 211, 102, 0.5);
}

.whatsapp-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    background-color: #ff3838;
    color: var(--text-white);
    font-size: 0.7rem;
    font-weight: 700;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--primary-dark);
    animation: pulseBadge 2s infinite;
}

@keyframes pulseBadge {
    0% { transform: scale(1); }
    50% { transform: scale(1.15); }
    100% { transform: scale(1); }
}

.whatsapp-chat-box {
    position: absolute;
    bottom: 72px;
    right: 0;
    width: 340px;
    background-color: var(--secondary-dark);
    border: var(--border-gold-soft);
    border-radius: 8px;
    box-shadow: var(--shadow-luxury);
    overflow: hidden;
    display: none;
    flex-direction: column;
    transform: translateY(20px);
    opacity: 0;
    transition: var(--transition-smooth);
    z-index: 1000;
}

.whatsapp-chat-box.active {
    display: flex;
    transform: translateY(0);
    opacity: 1;
}

.chat-header {
    background-color: var(--primary-dark);
    border-bottom: var(--border-gold-soft);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
}

.chat-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--accent-dark);
    border: 1px solid var(--gold-main);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--gold-main);
}

.chat-header-info h4 {
    font-size: 0.85rem;
    font-weight: 700;
}

.chat-header-info span {
    font-size: 0.7rem;
    color: var(--text-grey-dark);
    display: flex;
    align-items: center;
    gap: 4px;
}

.dot-online {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #2ed573;
    display: inline-block;
}

.chat-close {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: var(--text-grey-dark);
    cursor: pointer;
    font-size: 1rem;
    transition: var(--transition-fast);
}

.chat-close:hover {
    color: var(--text-white);
}

.chat-body {
    padding: 20px;
    background-color: var(--primary-dark);
    max-height: 240px;
    overflow-y: auto;
}

.chat-msg {
    display: flex;
    flex-direction: column;
    max-width: 85%;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 0.8rem;
    line-height: 1.5;
}

.chat-msg.received {
    background-color: var(--secondary-dark);
    color: var(--text-grey-light);
    border-bottom-left-radius: 0;
    align-self: flex-start;
    border: var(--border-white-soft);
}

.msg-time {
    font-size: 0.65rem;
    color: var(--text-grey-dark);
    margin-top: 4px;
    align-self: flex-end;
}

.chat-footer {
    padding: 16px 20px;
    background-color: var(--secondary-dark);
    border-top: var(--border-white-soft);
}

.btn-whatsapp-send {
    background-color: #25d366;
    color: var(--text-white);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    border-radius: 4px;
    width: 100%;
}

.btn-whatsapp-send:hover {
    background-color: #20ba5a;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.2);
}

/* Scroll To Top Button Styles */
.scroll-to-top {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--secondary-dark);
    border: var(--border-gold-soft);
    color: var(--gold-main);
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-luxury);
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: var(--transition-smooth);
    z-index: 1400;
}

.scroll-to-top.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    background-color: var(--gold-main);
    color: var(--primary-dark);
    border-color: var(--gold-main);
    transform: translateY(-4px);
}

/* ==========================================================================
   ENTRANCE SCROLL ANIMATIONS
   ========================================================================== */

.animate-fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.animate-fade-up.active {
    opacity: 1;
    transform: translateY(0);
}

.animate-scroll {
    opacity: 0;
    transition: opacity 1s ease, transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.animate-scroll[data-anim="slide-right"] {
    transform: translateX(-40px);
}

.animate-scroll[data-anim="slide-left"] {
    transform: translateX(40px);
}

.animate-scroll[data-anim="fade-up"] {
    transform: translateY(40px);
}

.animate-scroll.active {
    opacity: 1;
    transform: translate(0) !important;
}

/* Delay helpers for animations */
.hero-content .animate-fade-up:nth-child(1) { transition-delay: 0.1s; }
.hero-content .animate-fade-up:nth-child(2) { transition-delay: 0.25s; }
.hero-content .animate-fade-up:nth-child(3) { transition-delay: 0.4s; }
.hero-content .animate-fade-up:nth-child(4) { transition-delay: 0.55s; }

/* ==========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */

/* Large Tablets & Small Laptops (1024px) */
@media (max-width: 1024px) {
    .section-title {
        font-size: 2.1rem;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .stat-card {
        border-right: none;
        justify-content: flex-start;
        padding-left: 20px;
    }
    
    .stat-card:nth-child(odd) {
        border-right: var(--border-white-soft);
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .about-visual {
        height: 480px;
        max-width: 600px;
        margin: 0 auto;
        width: 100%;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .standards-tab-buttons {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .tab-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 36px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

/* Small Tablets & Large Phones (768px) */
@media (max-width: 768px) {
    .sec-padding {
        padding: 70px 0;
    }
    
    .top-bar {
        display: none; /* Hide top bar on mobile */
    }
    
    .main-header {
        top: 0;
        padding: 16px 0;
        background: rgba(7, 9, 11, 0.85);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border-bottom: var(--border-white-soft);
    }
    
    .nav-menu, .btn-header {
        display: none; /* Menu elements hidden, replaced by Hamburger Drawer */
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .hero-title {
        font-size: 2.4rem;
    }
    
    .hero-desc {
        font-size: 0.95rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 12px;
    }
    
    .stats-section {
        margin-top: -30px;
    }
    
    .stats-grid {
        padding: 24px;
    }
    
    .stat-card {
        padding-left: 0;
    }
    
    .projects-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }
    
    .project-filters {
        width: 100%;
        overflow-x: auto;
        padding-bottom: 8px;
    }
    
    .filter-btn {
        padding: 8px 16px;
        font-size: 0.75rem;
        flex-shrink: 0;
    }
    
    .modal-content-grid {
        grid-template-columns: 1fr;
    }
    
    .modal-visual-pane {
        min-height: 250px;
    }
    
    .modal-text-pane {
        padding: 30px;
    }
    
    .modal-title {
        font-size: 1.8rem;
    }
}

/* Extra Small Phones (480px) */
@media (max-width: 480px) {
    .section-title {
        font-size: 1.8rem;
    }
    
    .hero-title {
        font-size: 2.1rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .stat-card {
        border-right: none !important;
        border-bottom: var(--border-white-soft);
        padding-bottom: 16px;
    }
    
    .stat-card:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }
    
    .about-visual {
        height: 380px;
    }
    
    .main-img {
        width: 85%;
        height: 300px;
    }
    
    .sub-img {
        width: 55%;
        height: 180px;
    }
    
    .badge-years {
        bottom: 20px;
        left: 20px;
        padding: 12px;
        width: 120px;
    }
    
    .badge-num {
        font-size: 1.6rem;
    }
    
    .badge-txt {
        font-size: 0.65rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .standards-tab-buttons {
        grid-template-columns: 1fr;
    }
    
    .tab-grid {
        padding: 24px;
    }
    
    .tab-text h3 {
        font-size: 1.4rem;
    }
    
    .tab-visual {
        height: 200px;
    }
    
    .testimonial-card {
        padding: 30px 20px;
    }
    
    .testimonial-text {
        font-size: 0.95rem;
    }
    
    .glass-form-wrapper {
        padding: 24px;
    }
    
    .form-row.split {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .bottom-links {
        justify-content: center;
        flex-wrap: wrap;
        gap: 12px;
    }
    
    .whatsapp-chat-box {
        width: 290px;
    }
}
