/* CSS Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

html {
    scroll-behavior: smooth;
}

html, body {
    background-color: #050505;
    color: #ffffff;
    margin: 0;
    padding: 0;
    width: 100%;
    min-width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    position: relative;
    -webkit-tap-highlight-color: transparent;
}

.container {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}


/* Glassmorphism Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
    z-index: 9999;
    background: rgba(10, 10, 10, 0.6);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    height: 30px; /* Adjust height as needed */
    width: auto;
    object-fit: contain;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 12px;
    margin-left: auto; /* Pushes menu to the right */
    margin-right: 20px; /* Space between menu and language switcher */
}

.nav-links li a {
    text-decoration: none;
    color: #cccccc;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 6px 14px;
    border-radius: 50px;
    transition: all 0.3s ease-in-out;
    position: relative;
}

.nav-links li a:hover,
.nav-links li a.active {
    color: #000000;
    background-color: #ffffff;
}



/* Visibility Utilities */
.mobile-only { display: none !important; }
.desktop-only { display: block !important; }

@media (max-width: 768px) {
    .mobile-only { display: block !important; }
    .desktop-only { display: none !important; }
}

/* Language Switcher - Premium Capsule Design */
.lang-switcher {
    display: flex;
    padding: 4px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-right: 20px;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.lang-btn {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 6px 14px;
    border-radius: 50px;
}

.lang-btn:hover {
    color: #fff;
}

.lang-btn.active {
    background: #ffffff;
    color: #000000;
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.15);
}

.menu-btn {
    display: none;
    cursor: pointer;
    z-index: 10001; /* Above everything */
    color: #fff;
    padding: 10px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.menu-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.master-section {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    height: 300vh; /* Reduced from 800vh for faster scroll effect on PC */
    position: relative;
    background-color: #000;
}

@media (max-width: 768px) {
    .master-section {
        height: 100vh !important; /* Force static on mobile */
        height: 100dvh !important;
    }
    .pinned-container {
        height: 100vh !important;
        height: 100dvh !important;
    }
}

.pinned-container {
    width: 100%;
    height: 100vh;
    position: relative;
    overflow: hidden;
    background-color: #050505;
}

.hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.hero-zoom-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100.5%; /* Slight overlap to prevent sub-pixel gaps */
    height: 100.5%;
    object-fit: cover;
    transform: scale(1);
    z-index: 1;
    display: block;
}

#hero-img-2 {
    z-index: 2;
}



/* Side overlay - Luxury left-to-right gradient vignette */
.side-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.5) 35%, rgba(0, 0, 0, 0) 70%);
    z-index: 5;
    pointer-events: none;
}

.side-overlay::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, transparent 100%);
    pointer-events: none;
}

/* Hero image sizing fix */
.hero-zoom-img {
    width: 100% !important;
    height: 100% !important;
}

#hero-img-1 {
    z-index: 2;
}

#hero-img-2 {
    z-index: 1; /* Second image starts behind or hidden */
}

/* Base Text Layer */
.text-layer {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    text-align: center;
    z-index: 10;
    opacity: 0; /* Animated by GSAP */
    pointer-events: none;
    margin: 0;
}

.part1 {
    color: #ffffff;
    left: 10%;
    top: 50%;
    transform: translateY(-50%);
    text-align: left;
    width: 90%;
    max-width: 650px;
    pointer-events: auto;
}

@media (max-width: 768px) {
    .part1 {
        left: 5% !important;
        width: 90% !important;
        max-width: none !important;
    }
}

.part2 {
    color: #000000;
    text-shadow: none;
}

.part3 {
    color: #ffffff;
    text-shadow: 0 4px 20px rgba(0,0,0,0.8);
    left: 10%;
    transform: translateY(-50%);
    text-align: left;
    width: auto;
    max-width: 500px;
}

.btn-premium {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 40px;
    background: #000;
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.2, 1, 0.3, 1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 1px solid rgba(255,255,255,0.1);
    cursor: pointer;
}

.btn-premium:hover {
    background: #fff;
    color: #000;
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(255, 180, 0, 0.2);
    border-color: #fff;
}

/* --- Elegant Serif Hero Title --- */
.hero-tagline {
    font-size: clamp(10px, 1.5vw, 12px);
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #c5a880;
    font-weight: 600;
    margin-bottom: 20px;
    display: block;
}

.hero-title {
    font-family: 'Inter', sans-serif !important;
    font-size: clamp(2.5rem, 5.5vw, 5.2rem) !important;
    font-weight: 100 !important;
    line-height: 1.1 !important;
    text-transform: none !important;
    color: #ffffff !important;
    text-align: left !important;
    text-shadow: none !important;
    letter-spacing: 0px !important;
    margin: 15px 0 0 0 !important;
}

.hero-divider {
    max-width: 400px;
    margin: -5px 0 25px 0;
    opacity: 0.95;
}

.hero-description {
    font-size: clamp(0.95rem, 1.8vw, 1.1rem);
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    max-width: 500px;
    margin-bottom: 30px;
}

.hero-btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 15px 32px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: transparent;
    color: #ffffff;
    text-transform: uppercase;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.2, 1, 0.3, 1);
    pointer-events: auto;
    border-radius: 4px;
}

.hero-btn-outline:hover {
    background: #ffffff;
    color: #000000;
    border-color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 255, 255, 0.1);
}

/* --- Hero Stats Section --- */
.hero-stats-section {
    background: #030303;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    width: 100%;
    position: relative;
    z-index: 10;
}

.hero-stats-bar {
    position: relative;
    width: 100%;
    padding: 35px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0;
}

.hero-stats-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex: 1;
}

.hero-stats-item:not(:last-child) {
    border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-stats-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    color: #c5a880;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.hero-stats-item:hover .hero-stats-icon {
    background: rgba(197, 168, 128, 0.1);
    border-color: rgba(197, 168, 128, 0.3);
    transform: scale(1.05);
}

.hero-stats-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hero-stats-number {
    font-size: clamp(1.5rem, 2.5vw, 2.2rem);
    font-weight: 300;
    color: #ffffff;
    line-height: 1;
    font-family: 'Inter', sans-serif;
}

.hero-stats-label {
    font-size: clamp(9px, 1.2vw, 11px);
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 400;
}

@media (max-width: 900px) {
    .hero-stats-bar {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
        padding: 40px 20px;
    }
    .hero-stats-item {
        width: 100%;
        flex: none;
        justify-content: flex-start;
        gap: 15px;
        border-right: none !important;
    }
    .hero-stats-icon {
        width: 44px;
        height: 44px;
    }
    .hero-stats-number {
        font-size: 1.6rem;
    }
    .hero-stats-label {
        font-size: 9px;
        letter-spacing: 1.5px;
    }
}

@media (max-width: 600px) {
    .hero-stats-bar {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 30px 20px;
    }
    .hero-stats-item {
        padding-bottom: 16px;
    }
    .hero-stats-item:not(:last-child) {
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }
    .hero-stats-icon {
        width: 40px;
        height: 40px;
    }
    .hero-stats-number {
        font-size: 1.4rem;
    }
    .hero-stats-label {
        font-size: 8px;
        letter-spacing: 1px;
    }
}

/* Footer Section (Layihələrimiz) */
.footer-section {
    padding: clamp(60px, 8vw, 120px) 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #050505;
    text-align: center;
}

.footer-section h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 20px;
}


.footer-section p {
    color: #888;
    font-size: 1.2rem;
}

/* --- Robust Responsive System --- */
@media (max-width: 1024px) {
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
    
    .about-content {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .navbar {
        height: 70px;
        padding: 0 20px;
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(5, 5, 5, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 35px;
        transition: transform 0.5s cubic-bezier(0.85, 0, 0.15, 1);
        z-index: 10000;
        margin: 0 !important;
        padding: 0 !important;
        transform: translateX(100%);
    }

    .nav-links.active {
        transform: translateX(0);
    }

    .nav-links li a {
        font-size: 28px;
        font-weight: 700;
        color: #fff;
    }

    .menu-btn {
        display: flex !important;
        align-items: center;
        justify-content: center;
        color: #ffffff !important;
        z-index: 100001 !important;
    }

    .hero-title {
        font-family: 'Cormorant Garamond', serif !important;
        font-size: clamp(2.2rem, 7vw, 3.2rem) !important;
        font-weight: 300 !important;
        line-height: 1.15 !important;
        text-transform: none !important;
        color: #ffffff !important;
        text-align: left !important;
        text-shadow: none !important;
        letter-spacing: -0.5px !important;
        margin: 15px 0 0 0 !important;
    }

    .part1 {
        left: 20px !important;
        top: auto !important;
        bottom: 10% !important;
        transform: none !important;
        text-align: left !important;
        width: calc(100% - 40px) !important;
        max-width: none !important;
        opacity: 1 !important;
        pointer-events: auto !important;
    }

    .hero-tagline {
        font-size: clamp(10px, 1.8vw, 11px) !important;
        letter-spacing: 2px !important;
        margin-bottom: 12px !important;
        display: block !important;
        text-align: left !important;
    }

    .hero-description {
        font-size: clamp(0.95rem, 2vw, 1.05rem) !important;
        line-height: 1.5 !important;
        margin-bottom: 25px !important;
        max-width: 100% !important;
        text-align: left !important;
    }

    .hero-btn-outline {
        padding: 12px 24px !important;
        font-size: 10px !important;
        letter-spacing: 1.5px !important;
        display: inline-flex !important;
    }

    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-brand {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .social-links {
        justify-content: center;
    }

    .footer-contact p {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title-white {
        font-size: 2.2rem;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }
}

/* About Section */
.about-section {
    position: relative;
    background-color: #ffffff;
    padding: 120px 0;
    color: #333333;
    overflow: hidden;
}

.electric-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

/* Consistent container used site-wide */

.about-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

.about-image {
    flex: 1;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    transition: transform 0.5s ease;
}

.about-image img:hover {
    transform: scale(1.02);
}

.about-text {
    flex: 1;
}

.about-text h3 {
    font-size: 2.2rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #111;
    line-height: 1.3;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 20px;
    color: #555;
}

.btn {
    display: inline-block;
    padding: 14px 35px;
    background-color: #111;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    border-radius: 30px;
    transition: background-color 0.3s ease, transform 0.3s ease;
    margin-top: 15px;
}

.btn:hover {
    background-color: #333;
    transform: translateY(-2px);
}

/* Services Section */
.services-section {
    background: linear-gradient(rgba(5, 5, 5, 0.88), rgba(5, 5, 5, 0.88)), url('../images/electric_panel.jpg') no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    padding: 100px 0;
    color: #ffffff;
    position: relative;
    z-index: 10;
}

.section-title-white {
    color: #ffffff;
    text-align: center;
    font-size: 3rem;
    margin-bottom: 60px;
    font-weight: 800;
    letter-spacing: 1px;
}

.services-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
}

@media (max-width: 992px) {
    .services-grid {
        flex-direction: column;
    }
}




.service-card {
    flex: 0 1 calc(33.333% - 20px);
    min-width: 350px;
    background: rgba(20, 20, 20, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 50px 30px;
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(20px);
}

@media (max-width: 768px) {
    .service-card {
        flex: 0 1 100% !important;
        min-width: unset !important;
    }
}

.service-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.6s ease;
    pointer-events: none;
}

.service-card:hover::before {
    opacity: 1;
}

.service-card:hover {
    transform: translateY(-10px);
    background: rgba(30, 30, 30, 0.8);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 255, 255, 0.1);
}

.service-icon {
    width: 130px;
    height: 130px;
    margin: 0 auto 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgba(0, 0, 0, 0.2));
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #ffffff;
    position: relative;
    transition: all 0.4s ease;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.5);
}

.service-icon i {
    width: 65% !important;
    height: 65% !important;
    stroke-width: 1.2px !important;
    transition: all 0.4s ease;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.2));
}

.service-card:hover .service-icon {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.15), rgba(0, 0, 0, 0.4));
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.2), inset 0 0 20px rgba(0, 0, 0, 0.5);
}

.service-card:hover .service-icon i {
    color: #ffffff;
    transform: scale(1.15);
    filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.6));
}

.service-card h3 {
    font-size: 1.3rem !important;
    font-weight: 700;
    margin-bottom: 25px;
    color: rgba(255, 255, 255, 0.95);
    letter-spacing: 1px;
}

.service-desc-content ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  margin-top: 15px;
}

.service-desc-content ul li {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #b0b0b0;
  margin-bottom: 10px;
  position: relative;
  padding-left: 20px;
  text-align: left;
  transition: all 0.3s ease;
}

.service-desc-content ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 2px;
  background-color: #555;
  transition: all 0.3s ease;
}

.service-card:hover .service-desc-content ul li {
  color: #ffffff;
  transform: translateX(5px);
}

.service-card:hover .service-desc-content ul li::before {
  background-color: #ffffff;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
  width: 12px;
}

/* Projects Section */
.projects-section {
    background-color: #ffffff;
    padding: 100px 0;
    color: #000000;
}

/* Projects Section */
.projects-section {
    background-color: #f8f9fa;
    padding: 100px 0;
    color: #000000;
    position: relative;
    overflow: hidden;
}

.drafting-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    opacity: 0.4; /* Increased from 0.2 */
}

.drafting-bg svg {
    width: 100%;
    height: 100%;
}

.draft-line {
    fill: none;
    stroke: #111; /* Darker stroke */
    stroke-width: 1.5; /* Slightly thicker */
    stroke-linecap: round;
    stroke-linejoin: round;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}


.project-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    background: #000;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.5s cubic-bezier(0.2, 1, 0.3, 1);
}

.project-image {
    position: relative;
    width: 100%;
    height: 400px;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(0.2, 1, 0.3, 1);
    opacity: 0.9;
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0,0,0,0.4) 40%, transparent 80%);
    display: flex;
    align-items: flex-end;
    padding: 30px;
    opacity: 1;
    transition: background 0.4s ease;
}

.project-card:hover .project-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0,0,0,0.6) 60%, transparent 100%);
}

.overlay-content {
    color: #ffffff;
    transform: translateY(10px);
    transition: transform 0.6s cubic-bezier(0.2, 1, 0.3, 1);
}

.overlay-content h3 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 5px;
    letter-spacing: -0.5px;
}

.overlay-content p {
    font-size: 0.95rem;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    font-weight: 300;
    transition: all 0.4s ease;
    margin-top: 0;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.project-card:hover .project-image img {
    transform: scale(1.1);
    opacity: 1;
}

.project-card:hover .overlay-content {
    transform: translateY(0);
}

.project-card:hover .overlay-content p {
    opacity: 1;
    max-height: 100px;
    margin-top: 10px;
}

/* Footer Section */
.main-footer {
    background-color: #0a0a0a;
    padding: 80px 0 0;
    color: #ffffff;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 60px;
    padding-bottom: 60px;
}

.footer-brand .footer-logo {
    height: 35px;
    margin-bottom: 25px;
}

.footer-brand p {
    color: #888;
    line-height: 1.6;
    margin-bottom: 25px;
    font-size: 0.95rem;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #ffffff;
    color: #000000;
    transform: translateY(-5px);
}

.footer-container h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 25px;
    color: #ffffff;
}

.footer-container ul {
    list-style: none;
}

.footer-container ul li {
    margin-bottom: 12px;
}

.footer-container ul li a {
    color: #888;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.footer-container ul li a:hover {
    color: #ffffff;
}

.footer-contact p {
    color: #888;
    font-size: 0.95rem;
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    line-height: 1.5;
    gap: 10px;
}

.footer-contact p i {
    color: #ffffff;
    width: 20px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 30px 0;
    text-align: center;
}

.footer-bottom p {
    color: #555;
    font-size: 0.85rem;
}

/* Responsive Footer */
@media (max-width: 992px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 600px) {
    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* Responsive for Projects */
@media (max-width: 1100px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }
    .project-image {
        height: 350px;
    }
}

/* --- Global Page Hero (Standardized) --- */
.page-hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.page-hero .hero-bg-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.page-hero .hero-bg-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.35) 50%, rgba(0,0,0,0.2) 100%);
    z-index: 2;
}

.page-hero .hero-bg-img {
    width: 100%;
    height: 120%; /* Standard height for smooth parallax */
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    filter: brightness(0.75) contrast(1.02);
    will-change: transform;
    z-index: 1;
}

.page-hero .hero-title-container {
    text-align: center;
    z-index: 10;
    width: 90%;
    max-width: 1200px;
}

.page-hero .hero-title-container h1 {
    font-size: clamp(1.2rem, 3vw, 2rem) !important;
    font-weight: 900;
    line-height: 1 !important;
    text-transform: uppercase;
    margin-bottom: 15px;
    color: #ffffff;
}

.hero-subtitle {
    font-size: 1.2rem;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: #fff;
    font-weight: 600;
    opacity: 1; /* Ensure visible */
    margin-top: 15px;
}

@media (max-width: 768px) {
    .page-hero {
        height: 70vh;
    }
    .page-hero .hero-title-container h1 {
        font-size: 3.5rem;
    }
}

/* Pagination Styles */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-top: 80px;
}

.page-num {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #888;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.page-num:hover, .page-num.active {
    background: #ffffff;
    color: #000000;
    border-color: #ffffff;
    box-shadow: 0 10px 20px rgba(255, 255, 255, 0.1);
}

.page-arrow {
    font-size: 1.2rem;
    color: #ffffff;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.page-arrow:hover {
    opacity: 1;
}

.projects-listing {
    padding: 120px 0;
    background: #050505;
}

/* Styling for Wide Services Card Layout */
.service-card-wide {
    flex: 0 1 calc(50% - 15px) !important;
    max-width: calc(50% - 15px) !important;
}

@media (max-width: 992px) {
    .service-card-wide {
        flex: 0 1 100% !important;
        max-width: 100% !important;
    }
}
