/* ==========================================================================
   SHINE CONSTRUCTION TEAM PTY LTD - CORE DESIGN SYSTEM & STYLESHEET
   ========================================================================== */

/* --- Custom Variables & Theme Tokens --- */
:root {
    /* Color Palette */
    --color-bg-dark: #06131c;
    --color-bg-dark-rgb: 6, 19, 28;
    --color-bg-glass: rgba(18, 42, 58, 0.45);
    --color-bg-glass-hover: rgba(18, 42, 58, 0.75);
    
    --color-primary-teal: #26dcd2;
    --color-primary-teal-rgb: 38, 220, 210;
    --color-accent-teal-glow: #1fd1c7;
    
    --color-text-white: #ffffff;
    --color-text-gray: #a5b5c1;
    --color-border-glass: rgba(38, 220, 210, 0.15);
    --color-border-glass-hover: rgba(38, 220, 210, 0.45);

    /* Fonts */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Transitions */
    --transition-smooth: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-fast: all 0.2s ease-in-out;
}

/* --- Base & Reset Styles --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    background-color: var(--color-bg-dark);
    color: var(--color-text-white);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

/* --- Layout Container --- */
.container {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 30px;
}

/* ==========================================================================
   HEADER & NAVIGATION BAR
   ========================================================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(6, 19, 28, 0.65);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

body.loaded .site-header {
    transition: var(--transition-smooth);
}

.site-header.scrolled {
    background-color: rgba(6, 19, 28, 0.95);
    border-bottom: 1px solid rgba(38, 220, 210, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px;
    transition: var(--transition-smooth);
}

.site-header.scrolled .header-container {
    height: 70px;
}

/* Logo */
.logo-link {
    display: block;
    flex-shrink: 0;
    position: relative;
    width: 150px;
    height: 90px;
    transition: var(--transition-smooth);
}

.site-header.scrolled .logo-link {
    height: 70px;
}

.logo-img {
    position: absolute;
    top: 8px;
    left: 0;
    height: 135px;
    width: auto;
    max-width: none;
    object-fit: contain;
    transition: var(--transition-smooth);
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.4));
}

.site-header.scrolled .logo-img {
    height: 105px;
    top: 5px;
}

/* Nav Menu */
.nav-menu {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    gap: 35px;
}

.nav-link {
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.7);
    padding: 10px 0;
    position: relative;
    transition: var(--transition-fast);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background-color: var(--color-primary-teal);
    border-radius: 2px;
    transition: var(--transition-smooth);
}

.nav-link:hover {
    color: var(--color-primary-teal);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 24px;
}

.nav-link.active {
    color: var(--color-primary-teal);
}

/* Call Button in Header */
.phone-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
    border: 1.5px solid var(--color-primary-teal);
    border-radius: 6px;
    color: var(--color-text-white);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0.8px;
    background: transparent;
    transition: var(--transition-smooth);
    box-shadow: 0 0 15px rgba(38, 220, 210, 0);
}

.phone-button .phone-icon {
    width: 16px;
    height: 16px;
    color: var(--color-primary-teal);
    transition: var(--transition-smooth);
}

.phone-button:hover {
    background-color: rgba(38, 220, 210, 0.06);
    box-shadow: 0 0 25px rgba(38, 220, 210, 0.25);
    border-color: var(--color-accent-teal-glow);
    color: var(--color-accent-teal-glow);
    transform: translateY(-2px);
}

.phone-button:hover .phone-icon {
    transform: rotate(15deg);
}

/* Mobile Toggle Hamburger */
.mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1100;
}

.toggle-bar {
    width: 100%;
    height: 2.5px;
    background-color: var(--color-text-white);
    border-radius: 2px;
    transition: var(--transition-smooth);
}

/* Hamburger active transformation */
.mobile-toggle.active .toggle-bar:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
    background-color: var(--color-primary-teal);
}

.mobile-toggle.active .toggle-bar:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active .toggle-bar:nth-child(3) {
    transform: translateY(-9.5px) rotate(-45deg);
    background-color: var(--color-primary-teal);
}


/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-color: var(--color-bg-dark);
    padding-top: 140px;
    padding-bottom: 80px;
    overflow: hidden;
}

/* Background Wrapper */
.hero-bg-wrapper {
    position: absolute;
    top: 0;
    right: 0;
    width: 55%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.95;
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Horizontal blend gradient */
    background: linear-gradient(to right, 
        rgba(6, 19, 28, 1) 0%, 
        rgba(6, 19, 28, 0.85) 20%, 
        rgba(6, 19, 28, 0.4) 60%, 
        rgba(6, 19, 28, 0.1) 85%,
        transparent 100%
    );
}

.hero-bg-overlay::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 25%;
    /* Vertical fade to hide base edge */
    background: linear-gradient(to top, rgba(6, 19, 28, 1) 0%, transparent 100%);
}

/* Content Layout */
.hero-container {
    position: relative;
    z-index: 5;
}

.hero-content {
    max-width: 760px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* Subheading */
.company-subheading {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 700;
    color: var(--color-primary-teal);
    letter-spacing: 2px;
    margin-bottom: 22px;
    text-transform: uppercase;
}

/* Hero Main Title */
.hero-title {
    font-family: var(--font-heading);
    font-size: 56px;
    font-weight: 800;
    line-height: 1.15;
    color: var(--color-text-white);
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: -0.5px;
}

.highlight-text {
    color: var(--color-primary-teal);
    position: relative;
    display: inline-block;
}

/* Hero Description */
.hero-description {
    font-size: 18px;
    color: var(--color-text-gray);
    line-height: 1.65;
    max-width: 580px;
    margin-bottom: 45px;
}

/* --- Features Grid (Glassmorphism) --- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    width: 100%;
    max-width: 720px;
    margin-bottom: 45px;
}

.feature-card {
    background: var(--color-bg-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--color-border-glass);
    border-radius: 8px;
    padding: 24px 16px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
}

body.loaded .feature-card {
    transition: var(--transition-smooth);
}

.feature-card:hover {
    background: var(--color-bg-glass-hover);
    border-color: var(--color-border-glass-hover);
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(38, 220, 210, 0.12);
}

.feature-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: rgba(38, 220, 210, 0.08);
    border: 1px solid rgba(38, 220, 210, 0.2);
    color: var(--color-primary-teal);
    transition: var(--transition-smooth);
}

.feature-card:hover .feature-icon-wrapper {
    background-color: rgba(38, 220, 210, 0.18);
    border-color: var(--color-primary-teal);
    color: var(--color-text-white);
    transform: scale(1.1);
}

.feature-icon {
    width: 24px;
    height: 24px;
    stroke-width: 1.8px;
}

.feature-text {
    font-family: var(--font-heading);
    font-size: 13.5px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--color-text-white);
    text-transform: none;
    letter-spacing: 0.3px;
}

/* --- Call To Actions --- */
.hero-actions {
    display: flex;
    gap: 20px;
    width: 100%;
}

/* Buttons Base */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    height: 58px;
    padding: 0 35px;
    border-radius: 6px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 1px;
    cursor: pointer;
    white-space: nowrap;
}

body.loaded .btn {
    transition: var(--transition-smooth);
}

/* Primary Button Solid Teal */
.btn-primary {
    background-color: var(--color-primary-teal);
    color: var(--color-bg-dark);
    border: none;
    box-shadow: 0 4px 20px rgba(38, 220, 210, 0.2);
}

.btn-primary:hover {
    background-color: var(--color-accent-teal-glow);
    box-shadow: 0 6px 30px rgba(38, 220, 210, 0.45);
    transform: translateY(-3px);
}

.btn-primary:active {
    transform: translateY(-1px);
}

/* Outline Button Phone */
.btn-outline {
    background: transparent;
    color: var(--color-text-white);
    border: 1.5px solid var(--color-border-glass-hover);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-outline .phone-icon {
    width: 18px;
    height: 18px;
    color: var(--color-primary-teal);
    transition: var(--transition-smooth);
}

.btn-outline:hover {
    border-color: var(--color-primary-teal);
    background-color: rgba(38, 220, 210, 0.05);
    color: var(--color-primary-teal);
    box-shadow: 0 6px 25px rgba(38, 220, 210, 0.15);
    transform: translateY(-3px);
}

.btn-outline:hover .phone-icon {
    color: var(--color-text-white);
    transform: rotate(15deg);
}


/* ==========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */

/* Large screens (Header size tweaks) */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 48px;
    }
    .features-grid {
        max-width: 650px;
    }
}

/* Tablet Landscape / Large Portrait (Stacking Adjustments) */
@media (max-width: 991px) {
    .header-container {
        height: 80px;
    }
    
    .logo-link {
        width: 110px;
        height: 80px;
    }
    
    .logo-img {
        position: absolute;
        top: 10px;
        left: 0;
        height: 90px;
        width: auto;
    }
    
    .site-header.scrolled .logo-link {
        height: 70px;
    }
    
    .site-header.scrolled .logo-img {
        height: 80px;
        top: 5px;
    }
    
    /* Toggle Hamburger displays */
    .mobile-toggle {
        display: flex;
    }

    /* Hide Navigation Menus and Desktop Action Buttons */
    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: rgba(6, 19, 28, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-top: 1px solid rgba(38, 220, 210, 0.1);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.5s cubic-bezier(0.77, 0.2, 0.05, 1);
        z-index: 999;
    }
    
    .site-header.scrolled .nav-menu {
        top: 70px;
        height: calc(100vh - 70px);
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-list {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .nav-link {
        font-size: 18px;
        letter-spacing: 2px;
    }

    .header-action {
        display: none; /* Managed inside content layout on smaller sizes */
    }

    /* Hero Layout adaptations */
    .hero-section {
        padding-top: 130px;
        padding-bottom: 60px;
    }

    .hero-bg-wrapper {
        width: 100%;
        opacity: 0.4; /* Darker image backdrop to highlight readability */
    }

    .hero-bg-overlay {
        background: radial-gradient(circle at center, rgba(6, 19, 28, 0.5) 0%, rgba(6, 19, 28, 0.95) 100%);
    }

    .hero-content {
        max-width: 100%;
        align-items: center;
        text-align: center;
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }

    .feature-card {
        align-items: center;
        text-align: center;
    }

    .hero-actions {
        justify-content: center;
    }
}

/* Mobile Devices */
@media (max-width: 576px) {
    .container {
        padding: 0 20px;
    }

    .site-header {
        background-color: rgba(6, 19, 28, 0.85);
    }
    
    .hero-title {
        font-size: 34px;
        line-height: 1.25;
    }

    .company-subheading {
        font-size: 13px;
        letter-spacing: 1.5px;
    }

    .hero-description {
        font-size: 15px;
    }

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

    .feature-card {
        padding: 16px 12px;
        gap: 12px;
    }

    .feature-icon-wrapper {
        width: 36px;
        height: 36px;
    }

    .feature-icon {
        width: 20px;
        height: 20px;
    }

    .feature-text {
        font-size: 12px;
    }

    .hero-actions {
        flex-direction: column;
        gap: 12px;
    }

    .btn {
        width: 100%;
        height: 52px;
    }
}

/* Special sizing case for very narrow devices */
@media (max-width: 360px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
    .hero-title {
        font-size: 28px;
    }
}

/* ==========================================================================
   ABOUT US SECTION
   ========================================================================== */
.about-section {
    padding: 120px 0;
    background-color: #071722; /* slightly lighter than hero background for contrast */
    position: relative;
    overflow: hidden;
}

.about-container {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 70px;
    align-items: center;
}

.about-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.about-subheading {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 700;
    color: var(--color-primary-teal);
    letter-spacing: 2px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.about-title {
    font-family: var(--font-heading);
    font-size: 38px;
    font-weight: 800;
    line-height: 1.25;
    color: var(--color-text-white);
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: -0.5px;
}

.about-desc {
    font-size: 16px;
    color: var(--color-text-gray);
    line-height: 1.7;
    margin-bottom: 24px;
    max-width: 620px;
}

.about-abn {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    color: var(--color-primary-teal);
    letter-spacing: 1.5px;
    margin-top: 10px;
}

.about-image-container {
    position: relative;
    padding-bottom: 25px;
    padding-left: 25px;
}

.about-image-wrapper {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    border: 1.5px solid rgba(38, 220, 210, 0.2);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

body.loaded .about-image-wrapper {
    transition: border-color 0.4s ease, box-shadow 0.4s ease, transform 0.4s ease;
}

.about-image-wrapper:hover {
    border-color: rgba(38, 220, 210, 0.5);
    box-shadow: 0 20px 50px rgba(38, 220, 210, 0.2);
    transform: scale(1.02);
}

.about-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    aspect-ratio: 16 / 11;
}

.experience-badge {
    position: absolute;
    bottom: 0;
    left: 0;
    background: rgba(6, 19, 28, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1.5px solid var(--color-primary-teal);
    border-radius: 10px;
    padding: 16px 22px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    z-index: 10;
}

body.loaded .experience-badge {
    transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.experience-badge:hover {
    transform: translateY(-5px);
    border-color: var(--color-accent-teal-glow);
    box-shadow: 0 20px 45px rgba(38, 220, 210, 0.3);
}

.experience-badge .exp-number {
    font-family: var(--font-heading);
    font-size: 38px;
    font-weight: 800;
    color: var(--color-primary-teal);
    line-height: 1;
}

.experience-badge .exp-label {
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 700;
    color: var(--color-text-white);
    letter-spacing: 1px;
    text-transform: uppercase;
    line-height: 1.3;
}

/* Stagger targets animated by GSAP */
.about-content > * {
    transition: none;
}

/* Media Queries for About Section */
@media (max-width: 991px) {
    .about-section {
        padding: 90px 0;
    }
    
    .about-container {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
    }
    
    .about-content {
        align-items: center;
    }
    
    .about-title {
        font-size: 32px;
    }
    
    .about-desc {
        margin-left: auto;
        margin-right: auto;
    }
    
    .about-image-container {
        max-width: 500px;
        margin: 0 auto;
        padding-bottom: 20px;
        padding-left: 20px;
    }
}

@media (max-width: 576px) {
    .about-section {
        padding: 70px 0;
    }
    
    .about-title {
        font-size: 26px;
        margin-bottom: 20px;
    }
    
    .about-desc {
        font-size: 15px;
        margin-bottom: 18px;
    }
}

/* ==========================================================================
   SERVICES SECTION
   ========================================================================== */
.services-section {
    padding: 120px 0;
    background-color: var(--color-bg-dark); /* deep background */
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(38, 220, 210, 0.05);
}

.section-title-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 70px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 700;
    letter-spacing: 4px;
    color: var(--color-primary-teal);
    text-transform: uppercase;
    white-space: nowrap;
}

.title-line {
    height: 1.5px;
    width: 60px;
    background-color: var(--color-primary-teal);
    opacity: 0.7;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 80px;
}

.service-card-block {
    background: var(--color-bg-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1.5px solid var(--color-border-glass);
    border-radius: 12px;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    /* GSAP will animate */
}

body.loaded .service-card-block {
    transition: border-color 0.4s ease, box-shadow 0.4s ease, transform 0.4s ease;
}

.service-card-block:hover {
    border-color: rgba(38, 220, 210, 0.4);
    box-shadow: 0 20px 45px rgba(38, 220, 210, 0.15);
    transform: translateY(-8px);
}

.service-card-content {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.service-card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.service-icon-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(38, 220, 210, 0.1);
    border: 1px solid rgba(38, 220, 210, 0.25);
    color: var(--color-primary-teal);
    flex-shrink: 0;
}

.service-card-title {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    color: var(--color-text-white);
    letter-spacing: 0.5px;
}

.service-card-desc {
    font-size: 14.5px;
    color: var(--color-text-gray);
    line-height: 1.6;
    margin-bottom: 30px;
}

.service-bullet-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.service-bullet-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: var(--color-text-white);
    font-weight: 500;
}

.check-icon {
    width: 16px;
    height: 16px;
    color: var(--color-primary-teal);
    flex-shrink: 0;
}

.service-card-image-wrapper {
    position: relative;
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.service-card-img {
    width: 100%;
    height: 100%;
    min-height: 280px;
    object-fit: cover;
    object-position: center;
    display: block;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
    border: 1.5px solid rgba(255, 255, 255, 0.05);
}

body.loaded .service-card-img {
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.service-card-block:hover .service-card-img {
    transform: scale(1.04) translateY(-3px);
    box-shadow: 0 15px 35px rgba(38, 220, 210, 0.25);
    border-color: rgba(38, 220, 210, 0.3);
}

/* Bottom Features Row */
.bottom-features-row {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    padding-top: 60px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.bottom-feature-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.bottom-feature-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background-color: rgba(38, 220, 210, 0.04);
    border: 1.5px solid rgba(38, 220, 210, 0.15);
    color: var(--color-primary-teal);
    margin-bottom: 22px;
}

body.loaded .bottom-feature-icon-wrapper {
    transition: background-color 0.4s ease, border-color 0.4s ease, color 0.4s ease, transform 0.4s ease;
}

.bottom-feature-col:hover .bottom-feature-icon-wrapper {
    background-color: rgba(38, 220, 210, 0.15);
    border-color: var(--color-primary-teal);
    color: var(--color-text-white);
    transform: translateY(-4px) scale(1.08);
    box-shadow: 0 10px 25px rgba(38, 220, 210, 0.25);
}

.bottom-feature-icon-wrapper svg {
    width: 24px;
    height: 24px;
    stroke-width: 1.8px;
}

.bottom-feature-title {
    font-family: var(--font-heading);
    font-size: 13.5px;
    font-weight: 700;
    color: var(--color-primary-teal);
    letter-spacing: 1px;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.bottom-feature-desc {
    font-size: 13px;
    color: var(--color-text-gray);
    line-height: 1.5;
    max-width: 180px;
}

/* Responsive adjustments for Services */
@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: 1fr;
        max-width: 800px;
        margin: 0 auto 60px auto;
    }
    
    .bottom-features-row {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }
}

@media (max-width: 991px) {
    .services-section {
        padding: 90px 0;
    }
    
    .service-card-block {
        grid-template-columns: 1fr;
    }
    
    .service-card-image-wrapper {
        height: 320px;
        padding: 24px 24px 0 24px;
        order: -1; /* Image at the top on smaller screens */
    }
    
    .service-card-content {
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .bottom-features-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 576px) {
    .services-section {
        padding: 70px 0;
    }
    
    .section-title {
        font-size: 20px;
        letter-spacing: 3px;
    }
    
    .title-line {
        width: 40px;
    }
    
    .bottom-features-row {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .bottom-feature-desc {
        max-width: 260px;
    }
}

/* ==========================================================================
   PROJECTS SECTION
   ========================================================================== */
.projects-section {
    padding: 120px 0;
    background-color: #071722; /* slightly lighter dark background */
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(38, 220, 210, 0.05);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    width: 100%;
}

.project-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    border: 1.5px solid var(--color-border-glass);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    cursor: pointer;
}

body.loaded .project-card {
    transition: border-color 0.4s ease, box-shadow 0.4s ease, transform 0.4s ease;
}

.project-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(6, 19, 28, 0.95) 0%, rgba(6, 19, 28, 0.4) 60%, transparent 100%);
    opacity: 0;
    display: flex;
    align-items: flex-end;
    padding: 24px;
}

body.loaded .project-overlay {
    transition: opacity 0.4s ease;
}

.project-info {
    transform: translateY(20px);
}

body.loaded .project-info {
    transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.project-category {
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 700;
    color: var(--color-primary-teal);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    display: block;
    margin-bottom: 6px;
}

.project-title {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    color: var(--color-text-white);
    letter-spacing: 0.5px;
    line-height: 1.3;
}

/* Hover effects */
.project-card:hover {
    border-color: var(--color-primary-teal);
    box-shadow: 0 15px 35px rgba(38, 220, 210, 0.25);
    transform: translateY(-5px);
}

.project-card:hover .project-img {
    transform: scale(1.08);
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-card:hover .project-info {
    transform: translateY(0);
}

/* Responsive adjustments for projects */
@media (max-width: 1200px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (max-width: 991px) {
    .projects-section {
        padding: 90px 0;
    }
}

@media (max-width: 576px) {
    .projects-section {
        padding: 70px 0;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .project-card {
        aspect-ratio: 16 / 10;
    }
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */
.contact-section {
    padding: 120px 0;
    background: linear-gradient(135deg, #06131c 0%, #0c2534 100%);
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(38, 220, 210, 0.05);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.15fr 0.85fr;
    gap: 60px;
    align-items: flex-start;
}

.contact-info-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.contact-subheading {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 700;
    color: var(--color-primary-teal);
    letter-spacing: 2px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.contact-title {
    font-family: var(--font-heading);
    font-size: 34px;
    font-weight: 800;
    line-height: 1.25;
    color: var(--color-text-white);
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: -0.5px;
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
    width: 100%;
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 15px;
    color: var(--color-text-gray);
}

.contact-info-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: rgba(38, 220, 210, 0.06);
    border: 1px solid rgba(38, 220, 210, 0.2);
    color: var(--color-primary-teal);
    flex-shrink: 0;
    transition: var(--transition-fast);
}

.contact-info-item:hover .contact-info-icon {
    background-color: rgba(38, 220, 210, 0.15);
    border-color: var(--color-primary-teal);
    color: var(--color-text-white);
    transform: scale(1.05);
}

.contact-info-icon svg {
    width: 20px;
    height: 20px;
    stroke-width: 1.8px;
}

.contact-link {
    color: var(--color-text-white);
    font-weight: 500;
    transition: var(--transition-fast);
}

.contact-link:hover {
    color: var(--color-primary-teal);
}

/* Form Styling */
.contact-form-col {
    width: 100%;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    position: relative;
    width: 100%;
}

.form-input {
    width: 100%;
    background: rgba(18, 42, 58, 0.3);
    border: 1.5px solid rgba(38, 220, 210, 0.15);
    border-radius: 8px;
    padding: 16px 20px;
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--color-text-white);
    outline: none;
    transition: var(--transition-fast);
}

.form-textarea {
    resize: none;
}

.form-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.form-input:focus {
    border-color: var(--color-primary-teal);
    background: rgba(18, 42, 58, 0.55);
    box-shadow: 0 0 15px rgba(38, 220, 210, 0.15);
}

/* Submit Button */
.btn-submit {
    background-color: var(--color-primary-teal);
    color: var(--color-bg-dark);
    width: 100%;
    border: none;
    box-shadow: 0 4px 20px rgba(38, 220, 210, 0.2);
}

body.loaded .btn-submit {
    transition: background-color 0.4s ease, box-shadow 0.4s ease, transform 0.4s ease;
}

.btn-submit:hover {
    background-color: var(--color-accent-teal-glow);
    box-shadow: 0 6px 30px rgba(38, 220, 210, 0.45);
    transform: translateY(-2px);
}

/* Map Styling */
.contact-map-col {
    width: 100%;
    height: 100%;
    align-self: stretch;
}

.map-wrapper {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    border: 1.5px solid rgba(38, 220, 210, 0.2);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    height: 100%;
    min-height: 380px; /* ensure good height on flex columns */
}

.map-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Responsive adjustments for Contact Us */
@media (max-width: 1200px) {
    .contact-container {
        grid-template-columns: 1fr 1fr;
        gap: 50px;
    }
    
    .contact-map-col {
        grid-column: span 2;
    }
    
    .map-wrapper {
        min-height: 300px;
        height: 350px;
    }
}

@media (max-width: 991px) {
    .contact-section {
        padding: 90px 0;
    }
}

@media (max-width: 768px) {
    .contact-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-map-col {
        grid-column: span 1;
    }
}

@media (max-width: 576px) {
    .contact-section {
        padding: 70px 0;
    }
    
    .contact-title {
        font-size: 26px;
        margin-bottom: 30px;
    }
    
    .form-input {
        padding: 14px 16px;
    }
}

/* ==========================================================================
   FOOTER SECTION
   ========================================================================== */
.site-footer {
    background-color: #040e16;
    padding: 80px 0 40px 0;
    border-top: 1px solid rgba(38, 220, 210, 0.1);
    position: relative;
    overflow: hidden;
}

.footer-container {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2.2fr 1fr 1fr 1fr;
    gap: 50px;
    align-items: flex-start;
}

.footer-brand-col {
    display: flex;
    align-items: center;
    gap: 30px;
    position: relative;
    padding-right: 50px;
}

/* Vertical divider gradient */
.footer-brand-col::after {
    content: '';
    position: absolute;
    top: 5px;
    right: 0;
    width: 1px;
    height: 90px;
    background: linear-gradient(to bottom, 
        rgba(38, 220, 210, 0) 0%, 
        rgba(38, 220, 210, 0.2) 50%, 
        rgba(38, 220, 210, 0) 100%
    );
}

.footer-logo-link {
    display: block;
    flex-shrink: 0;
}

.footer-logo {
    height: 100px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.4));
}

.footer-desc {
    font-size: 14px;
    line-height: 1.7;
    color: var(--color-text-gray);
    margin: 0;
}

.footer-heading {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--color-primary-teal);
    margin-bottom: 25px;
    text-transform: uppercase;
}

.footer-links-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-link {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    position: relative;
    display: inline-block;
    width: fit-content;
}

body.loaded .footer-link {
    transition: var(--transition-fast);
}

.footer-link:hover {
    color: var(--color-primary-teal);
    transform: translateX(3px);
}

/* Social icons styling */
.social-icons {
    display: flex;
    gap: 15px;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background-color: rgba(18, 42, 58, 0.4);
    border: 1.5px solid rgba(38, 220, 210, 0.15);
    color: var(--color-text-white);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

body.loaded .social-icon {
    transition: var(--transition-smooth);
}

.social-icon svg {
    width: 18px;
    height: 18px;
}

.social-icon:hover {
    background-color: rgba(38, 220, 210, 0.1);
    border-color: var(--color-primary-teal);
    color: var(--color-primary-teal);
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(38, 220, 210, 0.3);
}

.social-icon:hover svg {
    transform: scale(1.1);
}

.footer-divider {
    border: none;
    height: 1px;
    background: linear-gradient(to right, 
        rgba(38, 220, 210, 0.02) 0%, 
        rgba(38, 220, 210, 0.15) 50%, 
        rgba(38, 220, 210, 0.02) 100%
    );
    margin: 10px 0 0 0;
}

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

.copyright-text {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.45);
    letter-spacing: 0.5px;
    text-align: center;
}

/* Footer Responsive styles */
@media (max-width: 1200px) {
    .footer-grid {
        grid-template-columns: 1.8fr 1fr 1fr 1fr;
        gap: 35px;
    }
    .footer-brand-col {
        padding-right: 30px;
    }
}

@media (max-width: 991px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    
    .footer-brand-col {
        grid-column: span 2;
        border-right: none;
        padding-right: 0;
        margin-bottom: 10px;
    }
    
    .footer-brand-col::after {
        display: none;
    }
}

@media (max-width: 768px) {
    .site-footer {
        padding: 50px 0 30px 0;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 35px;
        text-align: center;
    }
    
    .footer-brand-col {
        grid-column: span 1 !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        padding-right: 0 !important;
        margin-bottom: 10px;
    }
    
    .footer-logo-link {
        display: inline-block;
        margin-bottom: 12px;
    }
    
    .footer-logo {
        height: 80px;
        width: auto;
        display: block;
        margin: 0 auto;
    }
    
    .footer-desc {
        text-align: center !important;
        max-width: 320px;
        margin: 0 auto !important;
        font-size: 13px;
        line-height: 1.6;
    }
    
    .footer-heading {
        margin-top: 15px;
        margin-bottom: 15px;
        text-align: center !important;
    }
    
    .footer-links-list {
        align-items: center !important;
        padding: 0;
    }
    
    .footer-link {
        font-size: 13.5px;
        text-align: center;
    }
    
    .footer-link:hover {
        transform: translateY(-2px);
    }
    
    .social-icons {
        justify-content: center !important;
        gap: 15px;
    }
}
