/* 
Wavelength Electrical - Luxury Stylesheet
Color Scheme:
- Black (primary): #000000
- Black (soft): #0A0A0A
- Black (dark gray): #111111
- Gold (primary): #A68A4F
- Gold (light): #EADE91
- Gold (medium): #B7A767
- Gold (dark): #4C3614
*/

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    /* Fix for iOS initial zoom issue */
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: #f9f9f9;
    background-color: #000000;
    overflow-x: hidden;
    /* Ensure body takes full width and centers content */
    width: 100%;
    margin: 0;
    padding: 0;
    position: relative;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    line-height: 1.3;
    color: #ffffff;
}

p {
    margin-bottom: 1.5rem;
    font-weight: 300;
}

p.lead {
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.8;
    margin-bottom: 2rem;
}

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

a {
    text-decoration: none;
    color: #B7A767;
    transition: all 0.3s ease;
}

a:hover {
    color: #EADE91;
}

ul {
    list-style: none;
}

.container {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
    position: relative; /* Ensure proper positioning */
}

/* Fix for iOS initial load */
@supports (-webkit-touch-callout: none) {
  /* iOS specific styles to prevent zoom issues */
  body {
    /* Prevent iOS text inflation */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
  
  /* Fix any iOS content shift */
  .container {
    left: 0;
    right: 0;
  }
}

/* Section Styles */
section {
    padding: 120px 0;
    position: relative;
}

.section-intro {
    text-align: center;
    margin-bottom: 5rem;
    position: relative;
    z-index: 5;
}

.section-intro.light .section-title,
.section-intro.light .section-tagline {
    color: #ffffff;
}

.section-intro.text-left {
    text-align: left;
}

.section-tagline {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #EADE91;
    margin-bottom: 1rem;
    display: block;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

.section-title {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: #ffffff;
    position: relative;
}

.section-title.gold-text {
    color: #EADE91;
    text-shadow: 0 0 5px rgba(234, 222, 145, 0.7);
    background: none;
    -webkit-background-clip: initial;
    background-clip: initial;
    -webkit-text-fill-color: #EADE91;
    display: block;
    font-weight: 700;
    position: relative;
    z-index: 10;
}

.golden-line {
    height: 3px;
    width: 70px;
    background: linear-gradient(to right, #4C3614, #A68A4F, #EADE91, #A68A4F, #4C3614);
    margin: 0 auto;
}

.golden-line.left {
    margin: 0;
}

/* Button Styles */
.btn-primary,
.btn-secondary,
.btn-tertiary {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 2px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background-color: #EADE91;
    color: #000000;
    border: none;
    font-weight: 600;
    text-shadow: none;
}

.btn-primary:hover {
    background-color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(166, 138, 79, 0.5);
    color: #000000;
}

.btn-secondary {
    background-color: transparent;
    color: #EADE91;
    border: 1px solid #A68A4F;
    margin-left: 15px;
}

.btn-secondary:hover {
    background-color: rgba(166, 138, 79, 0.1);
    border-color: #B7A767;
    transform: translateY(-2px);
}

.btn-tertiary {
    background: none;
    color: #A68A4F;
    padding-left: 0;
    padding-right: 0;
    position: relative;
    display: inline-flex;
    align-items: center;
}

.btn-tertiary i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.btn-tertiary:hover {
    color: #EADE91;
}

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

.full-width {
    width: 100%;
}

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000000;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.loader {
    position: relative;
}

.golden-circle {
    width: 50px;
    height: 50px;
    border: 2px solid rgba(166, 138, 79, 0.2);
    border-top: 2px solid #A68A4F;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
} 

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.4s ease;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
}

header.scrolled {
    padding: 15px 0;
    background-color: rgba(0, 0, 0, 0.95);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px; /* Add gap between logo and hamburger menu */
}

.logo img {
    height: 60px;
    filter: drop-shadow(0 5px 15px rgba(166, 138, 79, 0.3));
}

.nav-menu {
    display: flex;
    align-items: center;
}

.nav-menu li {
    margin-left: 40px;
}

.nav-menu a {
    color: #EADE91;
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, #A68A4F, #EADE91);
    transition: width 0.3s ease;
}

.nav-menu a:hover {
    color: #ffffff;
    text-shadow: 0 0 10px #EADE91;
}

.nav-menu a:hover::after {
    width: 100%;
    background: #EADE91;
    box-shadow: 0 0 8px #EADE91;
}

.nav-menu a.nav-cta {
    color: #A68A4F;
    border: 1px solid #A68A4F;
    padding: 8px 20px;
    border-radius: 2px;
}

.nav-menu a.nav-cta:hover {
    background-color: rgba(166, 138, 79, 0.1);
    color: #EADE91;
    border-color: #EADE91;
}

.nav-menu a.nav-cta::after {
    display: none;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    cursor: pointer;
    z-index: 1001;
    flex-shrink: 0; /* Prevent hamburger menu from shrinking */
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #EADE91;
    transition: all 0.3s ease;
    transform-origin: left center;
}

.menu-toggle span.active:nth-child(1) {
    transform: rotate(45deg);
}

.menu-toggle span.active:nth-child(2) {
    opacity: 0;
}

.menu-toggle span.active:nth-child(3) {
    transform: rotate(-45deg);
}

/* Hero Section */
.hero-section {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 0;
    background-color: #000000;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(166, 138, 79, 0.25) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(234, 222, 145, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(76, 54, 20, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 60% 10%, rgba(234, 222, 145, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 10% 50%, rgba(166, 138, 79, 0.15) 0%, transparent 45%),
        linear-gradient(135deg, #000000 0%, #0A0A0A 50%, #111111 100%);
    z-index: 1;
    overflow: hidden;
}

.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(90deg, transparent 97%, rgba(234, 222, 145, 0.4) 98%, rgba(166, 138, 79, 0.6) 99%, transparent 100%),
        linear-gradient(0deg, transparent 97%, rgba(234, 222, 145, 0.3) 98%, rgba(166, 138, 79, 0.5) 99%, transparent 100%);
    background-size: 60px 60px, 80px 80px;
    animation: gridMove 15s linear infinite;
    opacity: 0.7;
}

.hero-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 30% 20%, rgba(234, 222, 145, 0.25) 0%, rgba(234, 222, 145, 0.1) 20%, transparent 40%),
        radial-gradient(circle at 70% 80%, rgba(166, 138, 79, 0.2) 0%, rgba(166, 138, 79, 0.05) 25%, transparent 50%),
        radial-gradient(circle at 85% 30%, rgba(234, 222, 145, 0.15) 0%, transparent 35%),
        radial-gradient(circle at 15% 70%, rgba(166, 138, 79, 0.18) 0%, transparent 40%);
    animation: pulseGlow 6s ease-in-out infinite alternate;
}

/* Electrical Particles */
.hero-background .electrical-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.hero-background .electrical-particles::before,
.hero-background .electrical-particles::after {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    background: radial-gradient(circle, #ffffff 0%, #EADE91 20%, rgba(234, 222, 145, 0.8) 50%, transparent 80%);
    border-radius: 50%;
    opacity: 1;
    animation: floatParticles 25s linear infinite;
    box-shadow: 
        0 0 25px #EADE91,
        0 0 50px rgba(234, 222, 145, 0.6),
        0 0 75px rgba(234, 222, 145, 0.3);
}

.hero-background .electrical-particles::before {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
    box-shadow: 
        0 0 15px rgba(234, 222, 145, 0.6),
        150px 200px 0 rgba(234, 222, 145, 0.8),
        150px 200px 0 0 15px rgba(234, 222, 145, 0.4),
        300px 100px 0 rgba(166, 138, 79, 0.7),
        300px 100px 0 0 12px rgba(166, 138, 79, 0.5),
        450px 300px 0 rgba(234, 222, 145, 0.6),
        450px 300px 0 0 10px rgba(234, 222, 145, 0.3),
        600px 150px 0 rgba(166, 138, 79, 0.8),
        600px 150px 0 0 18px rgba(166, 138, 79, 0.4),
        750px 250px 0 rgba(234, 222, 145, 0.9),
        750px 250px 0 0 20px rgba(234, 222, 145, 0.5),
        900px 80px 0 rgba(166, 138, 79, 0.6),
        900px 80px 0 0 14px rgba(166, 138, 79, 0.3);
}

.hero-background .electrical-particles::after {
    top: 60%;
    left: 80%;
    animation-delay: -12s;
    box-shadow: 
        0 0 15px rgba(234, 222, 145, 0.6),
        -200px -100px 0 rgba(234, 222, 145, 0.8),
        -200px -100px 0 0 16px rgba(234, 222, 145, 0.4),
        -400px 50px 0 rgba(166, 138, 79, 0.7),
        -400px 50px 0 0 13px rgba(166, 138, 79, 0.5),
        -600px -200px 0 rgba(234, 222, 145, 0.7),
        -600px -200px 0 0 14px rgba(234, 222, 145, 0.3),
        -800px 100px 0 rgba(166, 138, 79, 0.8),
        -800px 100px 0 0 17px rgba(166, 138, 79, 0.4),
        -1000px -50px 0 rgba(234, 222, 145, 0.6),
        -1000px -50px 0 0 12px rgba(234, 222, 145, 0.3),
        -1200px 150px 0 rgba(166, 138, 79, 0.9),
        -1200px 150px 0 0 19px rgba(166, 138, 79, 0.5);
}

/* Ambient Energy Field */
.hero-background .energy-waves {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.hero-background .energy-waves::before {
    content: '';
    position: absolute;
    top: 20%;
    left: 30%;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, 
        rgba(234, 222, 145, 0.3) 0%, 
        rgba(234, 222, 145, 0.1) 40%, 
        transparent 70%);
    animation: ambientPulse 15s ease-in-out infinite;
    border-radius: 50%;
}

.hero-background .energy-waves::after {
    content: '';
    position: absolute;
    top: 60%;
    right: 25%;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, 
        rgba(166, 138, 79, 0.25) 0%, 
        rgba(166, 138, 79, 0.08) 50%, 
        transparent 80%);
    animation: ambientPulse 18s ease-in-out infinite;
    animation-delay: -8s;
    border-radius: 50%;
}

/* Circuit Board Pattern */
.hero-background .circuit-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background-image: 
        radial-gradient(circle at 15% 25%, rgba(234, 222, 145, 0.6) 1px, rgba(234, 222, 145, 0.3) 1.5px, transparent 3px),
        radial-gradient(circle at 85% 75%, rgba(166, 138, 79, 0.5) 1px, rgba(166, 138, 79, 0.2) 1.5px, transparent 3px),
        radial-gradient(circle at 45% 60%, rgba(234, 222, 145, 0.4) 1px, rgba(234, 222, 145, 0.1) 1.5px, transparent 3px),
        radial-gradient(circle at 70% 35%, rgba(166, 138, 79, 0.5) 1px, rgba(166, 138, 79, 0.2) 1.5px, transparent 3px),
        radial-gradient(circle at 25% 85%, rgba(234, 222, 145, 0.4) 1px, rgba(234, 222, 145, 0.1) 1.5px, transparent 3px);
    background-size: 90px 90px, 130px 130px, 110px 110px, 70px 70px, 95px 95px;
    animation: circuitPulse 8s ease-in-out infinite;
}



/* Electrical Sparks */
.hero-background .electrical-sparks {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.hero-background .electrical-sparks::before {
    content: '';
    position: absolute;
    top: 25%;
    left: 60%;
    width: 12px;
    height: 12px;
    background: radial-gradient(circle, #ffffff 0%, #EADE91 30%, rgba(234, 222, 145, 0.8) 60%, transparent 90%);
    border-radius: 50%;
    animation: sparkFlash 6s ease-in-out infinite;
    box-shadow: 
        0 0 50px #EADE91,
        0 0 100px rgba(234, 222, 145, 0.6),
        20px 40px 0 #EADE91,
        20px 40px 0 0 40px rgba(234, 222, 145, 0.5),
        -30px 60px 0 #A68A4F,
        -30px 60px 0 0 35px rgba(166, 138, 79, 0.6),
        50px -20px 0 #EADE91,
        50px -20px 0 0 30px rgba(234, 222, 145, 0.4),
        -60px -10px 0 #ffffff,
        -60px -10px 0 0 25px rgba(255, 255, 255, 0.3),
        80px 30px 0 #A68A4F,
        80px 30px 0 0 28px rgba(166, 138, 79, 0.4);
}

.hero-background .electrical-sparks::after {
    content: '';
    position: absolute;
    top: 65%;
    left: 15%;
    width: 10px;
    height: 10px;
    background: radial-gradient(circle, #ffffff 0%, #A68A4F 25%, rgba(166, 138, 79, 0.8) 60%, transparent 90%);
    border-radius: 50%;
    animation: sparkFlash 7s ease-in-out infinite;
    animation-delay: -1.2s;
    box-shadow: 
        0 0 45px #A68A4F,
        0 0 90px rgba(166, 138, 79, 0.6),
        -40px -30px 0 #A68A4F,
        -40px -30px 0 0 35px rgba(166, 138, 79, 0.5),
        25px 50px 0 #EADE91,
        25px 50px 0 0 32px rgba(234, 222, 145, 0.5),
        -20px 70px 0 #A68A4F,
        -20px 70px 0 0 28px rgba(166, 138, 79, 0.4),
        60px -15px 0 #ffffff,
        60px -15px 0 0 22px rgba(255, 255, 255, 0.3),
        -70px 25px 0 #EADE91,
        -70px 25px 0 0 26px rgba(234, 222, 145, 0.4);
}



/* Electrical Discharge */
.hero-background .electrical-discharge {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.hero-background .electrical-discharge::before {
    content: '';
    position: absolute;
    top: 40%;
    left: 10%;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, 
        #ffffff 0%, 
        #EADE91 15%, 
        rgba(234, 222, 145, 0.8) 30%, 
        rgba(234, 222, 145, 0.4) 50%, 
        transparent 70%);
    animation: electricDischarge 8s ease-in-out infinite;
    border-radius: 50%;
    opacity: 0;
}

.hero-background .electrical-discharge::after {
    content: '';
    position: absolute;
    top: 15%;
    right: 10%;
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, 
        #ffffff 0%, 
        #A68A4F 20%, 
        rgba(166, 138, 79, 0.8) 40%, 
        rgba(166, 138, 79, 0.3) 60%, 
        transparent 80%);
    animation: electricDischarge 9s ease-in-out infinite;
    animation-delay: -2s;
    border-radius: 50%;
    opacity: 0;
}

/* Electrical Energy Nodes */
.hero-background .electrical-current {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.hero-background .electrical-current::before {
    content: '';
    position: absolute;
    top: 35%;
    left: 70%;
    width: 60px;
    height: 60px;
    background: radial-gradient(circle, 
        rgba(234, 222, 145, 0.4) 0%, 
        rgba(234, 222, 145, 0.2) 30%, 
        rgba(234, 222, 145, 0.1) 60%, 
        transparent 80%);
    animation: energyNodePulse 12s ease-in-out infinite;
    border-radius: 50%;
    box-shadow: 0 0 40px rgba(234, 222, 145, 0.3);
}

.hero-background .electrical-current::after {
    content: '';
    position: absolute;
    top: 75%;
    left: 20%;
    width: 50px;
    height: 50px;
    background: radial-gradient(circle, 
        rgba(166, 138, 79, 0.35) 0%, 
        rgba(166, 138, 79, 0.15) 40%, 
        rgba(166, 138, 79, 0.08) 70%, 
        transparent 90%);
    animation: energyNodePulse 14s ease-in-out infinite;
    animation-delay: -7s;
    border-radius: 50%;
    box-shadow: 0 0 35px rgba(166, 138, 79, 0.25);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
}

.hero-content h1 {
    font-size: 4.5rem;
    margin-bottom: 1rem;
    color: #ffffff;
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.hero-content h2 {
    font-size: 1.8rem;
    margin-bottom: 2.5rem;
    color: #EADE91;
    font-weight: 400;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.hero-cta {
    margin-top: 2rem;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid #A68A4F;
    border-radius: 20px;
    display: flex;
    justify-content: center;
    padding-top: 10px;
}

.wheel {
    width: 4px;
    height: 8px;
    background-color: #EADE91;
    border-radius: 2px;
    animation: scroll 1.5s infinite;
}

@keyframes scroll {
    0% { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(15px); opacity: 0; }
}

.arrows {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 10px;
}

.arrows span {
    display: block;
    width: 10px;
    height: 10px;
    border-bottom: 2px solid #A68A4F;
    border-right: 2px solid #A68A4F;
    transform: rotate(45deg);
    margin: -5px;
    animation: arrows 2s infinite;
}

.arrows span:nth-child(2) {
    animation-delay: 0.2s;
}

.arrows span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes arrows {
    0% { opacity: 0; }
    50% { opacity: 1; }
    100% { opacity: 0; }
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

@keyframes pulseGlow {
    0%, 100% { 
        opacity: 0.4;
        transform: scale(1);
    }
    33% { 
        opacity: 0.7;
        transform: scale(1.05);
    }
    66% { 
        opacity: 0.9;
        transform: scale(1.15);
    }
}

@keyframes floatParticles {
    0% { 
        transform: translateY(0px) translateX(0px) scale(1);
        opacity: 0.8;
    }
    15% { 
        transform: translateY(-15px) translateX(8px) scale(1.2);
        opacity: 1;
    }
    30% { 
        transform: translateY(-25px) translateX(-3px) scale(0.9);
        opacity: 0.9;
    }
    45% { 
        transform: translateY(-35px) translateX(12px) scale(1.1);
        opacity: 1;
    }
    60% { 
        transform: translateY(-20px) translateX(-8px) scale(0.8);
        opacity: 0.8;
    }
    75% { 
        transform: translateY(-40px) translateX(18px) scale(1.3);
        opacity: 1;
    }
    90% { 
        transform: translateY(-50px) translateX(5px) scale(1);
        opacity: 0.9;
    }
    100% { 
        transform: translateY(-45px) translateX(0px) scale(0.9);
        opacity: 0.8;
    }
}

@keyframes ambientPulse {
    0%, 100% { 
        opacity: 0.2;
        transform: scale(1);
    }
    50% { 
        opacity: 0.4;
        transform: scale(1.1);
    }
}

@keyframes circuitPulse {
    0%, 100% { 
        opacity: 0.2;
        transform: scale(1);
    }
    33% { 
        opacity: 0.5;
        transform: scale(1.03);
    }
    66% { 
        opacity: 0.8;
        transform: scale(1.08);
    }
}

@keyframes energyNodePulse {
    0%, 100% { 
        opacity: 0.3;
        transform: scale(1);
    }
    50% { 
        opacity: 0.6;
        transform: scale(1.2);
    }
}



@keyframes sparkFlash {
    0%, 90%, 100% {
        opacity: 0;
        transform: scale(0);
    }
    10% {
        opacity: 1;
        transform: scale(1.5);
    }
    20% {
        opacity: 0.6;
        transform: scale(1);
    }
    30% {
        opacity: 1;
        transform: scale(1.8);
    }
    40% {
        opacity: 0.4;
        transform: scale(0.8);
    }
    50% {
        opacity: 0.9;
        transform: scale(1.3);
    }
}



@keyframes electricDischarge {
    0%, 75%, 100% {
        opacity: 0;
        transform: scale(0);
    }
    15% {
        opacity: 0.8;
        transform: scale(1.2);
    }
    30% {
        opacity: 1;
        transform: scale(1.5);
    }
    45% {
        opacity: 0.6;
        transform: scale(0.8);
    }
}

/* About Section */
.about-section {
    background-color: #0A0A0A;
    position: relative;
    overflow: hidden;
}

/* Remove the dark overlay that's causing the fade */
.about-section::before {
    display: none;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    position: relative;
    z-index: 2;
}

.about-image {
    position: relative;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
    border-radius: 5px;
    overflow: hidden;
}

.about-image img {
    width: 100%;
    transform: scale(1.02);
    transition: transform 0.7s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

.about-experience {
    position: absolute;
    bottom: 30px;
    right: -30px;
    background-color: #000000;
    padding: 20px 30px;
    border-radius: 3px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    border-left: 3px solid #A68A4F;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.about-experience .number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #EADE91;
    line-height: 1;
}

.about-experience .text {
    font-size: 0.9rem;
    color: #f9f9f9;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-text {
    padding-right: 2rem;
}

.about-features {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.feature {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.feature i {
    font-size: 24px;
    color: #A68A4F;
    background-color: rgba(166, 138, 79, 0.1);
    height: 60px;
    width: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature h4 {
    margin-bottom: 5px;
    font-size: 1.2rem;
}

.feature p {
    margin-bottom: 0;
    color: #aaa;
}

/* Services Section */
.services-section {
    background-color: #000000;
    position: relative;
    overflow: hidden;
}

.services-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('Images-Of-Work/IMG_3310.jpg') center center/cover no-repeat;
    opacity: 0.03;
    z-index: 1;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    position: relative;
    z-index: 2;
}

.service-card {
    background-color: #0A0A0A;
    padding: 50px 40px;
    border-radius: 5px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid #111111;
}

.service-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, #4C3614, #A68A4F, #EADE91);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
    border-color: transparent;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    margin-bottom: 25px;
}

.service-icon i {
    font-size: 46px;
    color: #EADE91;
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.5));
}

.service-card h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    transition: color 0.3s ease;
    color: #EADE91;
}

.service-card p {
    color: #aaa;
    margin-bottom: 25px;
}

.service-list {
    margin-bottom: 25px;
}

.service-list li {
    margin-bottom: 12px;
    color: #f9f9f9;
    position: relative;
    padding-left: 25px;
}

.service-list li::before {
    content: '›';
    position: absolute;
    left: 0;
    color: #A68A4F;
    font-size: 20px;
    font-weight: bold;
}

.card-link {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    color: #EADE91 !important;
}

.card-link i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.card-link:hover i {
    transform: translateX(5px);
} 

/* Gallery Section */
.gallery-section {
    background-color: #0A0A0A;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.gallery-item {
    position: relative;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.2);
    transition: all 0.5s ease;
    opacity: 1;
    transform: scale(1);
}

.gallery-item:hover {
    transform: translateY(-10px);
}

.gallery-image {
    height: 350px;
    overflow: hidden;
}

.gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

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

/* Remove the gallery overlay entirely */
.gallery-overlay {
    display: none;
}

/* Mobile Horizontal Scroll for Gallery */
@media screen and (max-width: 768px) {
    .gallery-grid {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding: 20px 0;
        gap: 20px;
        scrollbar-width: thin;
        scrollbar-color: #A68A4F #111111;
        -webkit-overflow-scrolling: touch;
        margin: 30px -20px;
        padding: 0 20px 20px;
    }
    
    .gallery-grid::-webkit-scrollbar {
        height: 8px;
    }
    
    .gallery-grid::-webkit-scrollbar-track {
        background: #111111;
        border-radius: 4px;
    }
    
    .gallery-grid::-webkit-scrollbar-thumb {
        background: #A68A4F;
        border-radius: 4px;
    }
    
    .gallery-item {
        flex: 0 0 90%;
        scroll-snap-align: center;
        margin-right: 15px;
    }
    
    .gallery-image {
        height: 250px;
    }
}

/* Remove these gallery info and gallery link styles */
.gallery-info,
.gallery-info h3,
.gallery-category,
.gallery-link {
    display: none;
}

/* Testimonials Section - Wider Layout */
.testimonials-section {
    background-color: #000000;
    position: relative;
    overflow: hidden;
    padding-bottom: 120px;
    height: auto !important;
    min-height: 0 !important;
}

.testimonial-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('Images-Of-Work/IMG_3316.jpg') center center/cover no-repeat;
    filter: brightness(0.1) grayscale(50%);
    opacity: 0.5;
    z-index: 1;
}

.testimonials-slider {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    height: 450px !important; /* Fixed height to prevent shifting */
    margin-bottom: 30px;
    min-height: 450px !important; /* Ensure consistent height */
    overflow: hidden; /* Prevent content from spilling out */
}

.testimonial-slide {
    padding: 20px;
    position: relative;
    width: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    display: none;
    height: 0;
    overflow: hidden;
}

.testimonial-slide.active {
    opacity: 1;
    display: block;
    height: auto;
    overflow: visible;
}

.testimonial-content {
    background-color: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 5px;
    padding: 60px 60px 40px;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(166, 138, 79, 0.1);
    max-width: 1000px;
    margin: 0 auto;
    height: 350px;
    min-height: 350px;
    max-height: 350px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}

.testimonial-quote {
    position: relative;
    margin-bottom: 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.testimonial-quote i {
    font-size: 30px;
    color: #A68A4F;
    opacity: 0.3;
    position: absolute;
    top: -10px;
    left: -10px;
}

.testimonial-quote p {
    font-size: 1.3rem;
    font-style: italic;
    line-height: 1.8;
    color: #f9f9f9;
    max-width: 100%;
    margin: 20px auto;
    padding: 0 20px;
}

.testimonial-author {
    margin-top: 20px;
    margin-bottom: 40px;
}

.author-rating {
    margin-bottom: 10px;
}

.author-rating i {
    color: #EADE91;
    margin: 0 2px;
}

.testimonial-author h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: #ffffff;
}

.testimonial-author p {
    color: #EADE91 !important;
    font-weight: 400;
    margin-bottom: 0;
}

/* Testimonial Controls */
.testimonial-controls {
    position: relative;
    margin-top: 30px;
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 5;
}

.testimonial-arrow {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(10, 10, 10, 0.5);
    border: 1px solid #A68A4F;
    color: #EADE91;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 0 10px;
}

.testimonial-arrow:hover {
    background-color: #A68A4F;
    color: #ffffff;
}

.testimonial-dots {
    display: flex;
    align-items: center;
    margin: 0 20px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #333;
    margin: 0 5px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.dot.active {
    background-color: #A68A4F;
    transform: scale(1.5);
    box-shadow: 0 0 10px rgba(166, 138, 79, 0.5);
}

/* Mobile adjustments for testimonials */
@media screen and (max-width: 768px) {
    .testimonials-slider {
        max-width: 100%;
        height: 480px !important;
        margin-bottom: 20px;
        min-height: 480px !important; /* Maintain consistent height on mobile */
        overflow: hidden;
    }
    
    .testimonial-content {
        padding: 25px 20px 15px;
        height: 400px;
        min-height: 400px;
        max-height: 400px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }
    
    .testimonial-quote {
        flex: 1 1 auto;
        margin-bottom: 15px;
        overflow: hidden;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    
    .testimonial-quote p {
        font-size: 1rem;
        padding: 0 10px;
        max-width: 100%;
        line-height: 1.5;
        margin: 10px auto;
        overflow: hidden;
        display: -webkit-box;
        -webkit-line-clamp: 8;
        -webkit-box-orient: vertical;
        text-overflow: ellipsis;
    }
    
    .testimonial-author {
        flex: 0 0 auto;
        margin-bottom: 10px;
        margin-top: 10px;
    }
    
    /* Container with virtually no side margins on mobile */
    .testimonials-section .container {
        width: 98%;
        max-width: none;
    }
    
    .testimonial-controls {
        margin-top: 15px;
        margin-bottom: 20px;
    }
    
    .testimonial-dots {
        margin: 0 15px;
    }
    
    .dot {
        width: 10px;
        height: 10px;
        margin: 0 5px;
    }
    
    .testimonials-section {
        padding-bottom: 80px;
    }
}

/* Very small screens */
@media screen and (max-width: 400px) {
    .testimonials-slider {
        height: 450px !important;
        min-height: 450px !important;
    }
    
    .testimonial-content {
        padding: 20px 12px 12px;
        height: 370px;
        min-height: 370px;
        max-height: 370px;
    }
    
    .testimonial-quote p {
        font-size: 0.95rem;
        padding: 0 8px;
        -webkit-line-clamp: 7;
        line-height: 1.4;
    }
    
    .testimonial-author {
        margin-bottom: 8px;
        margin-top: 8px;
    }
    
    .testimonial-controls {
        margin-top: 12px;
        margin-bottom: 15px;
    }
    
    .testimonial-arrow {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }
    
    .testimonials-section {
        padding-bottom: 60px;
    }
}

/* Contact Section */
.contact-section {
    background-color: #0A0A0A;
    position: relative;
}

.contact-info .section-intro.text-left {
    display: block;
    visibility: visible;
    opacity: 1;
    margin-bottom: 2rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

/* Ensure contact section titles are always visible */
.contact-info .section-tagline,
.contact-info .section-title.gold-text {
    display: block;
    visibility: visible;
    opacity: 1;
}

.info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.info-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.info-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: rgba(166, 138, 79, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #EADE91;
    font-size: 22px;
    flex-shrink: 0;
}

.info-content h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.info-content p {
    margin-bottom: 0;
    color: #aaa;
}

/* Desktop email size adjustment */
@media screen and (min-width: 769px) {
    .info-content p {
        font-size: 0.9rem;
        word-break: break-all;
        line-height: 1.4;
    }
}

/* Ensure email fits on smaller desktop screens */
@media screen and (min-width: 769px) and (max-width: 1024px) {
    .info-content p {
        font-size: 0.85rem;
    }
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 40px;
}

.social-link {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: rgba(166, 138, 79, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #EADE91;
    font-size: 18px;
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: #EADE91;
    color: #000000;
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(166, 138, 79, 0.5);
}

.contact-form-container {
    background-color: #000000;
    border-radius: 5px;
    padding: 50px 30px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    border: 1px solid #111111;
}

.contact-form {
    width: 100%;
}

/* Form Group Styles */
.form-group {
    position: relative;
    margin-bottom: 35px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    background-color: transparent;
    border: none;
    border-bottom: 1px solid #333;
    padding: 15px 0 10px;
    font-size: 1rem;
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    transition: all 0.3s ease;
}

.form-group label {
    position: absolute;
    top: 15px;
    left: 0;
    font-size: 1rem;
    color: #aaa;
    transition: all 0.3s ease;
    pointer-events: none;
    background-color: transparent;
    padding: 0 5px;
    z-index: 1;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-bottom-color: #A68A4F;
}

.form-group input:focus ~ label,
.form-group select:focus ~ label,
.form-group textarea:focus ~ label,
.form-group input:not(:placeholder-shown) ~ label,
.form-group select:not([value=""]):valid ~ label,
.form-group textarea:not(:placeholder-shown) ~ label {
    top: -15px;
    font-size: 0.8rem;
    color: #A68A4F;
    background-color: #000;
}

/* Special styles for select dropdown */
.form-group select {
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg fill='%23aaa' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>");
    background-repeat: no-repeat;
    background-position: right 0px top 50%;
    z-index: 2;
    position: relative;
}

/* Fix for select label overlap */
.form-group select + label {
    opacity: 0;
}

.form-group select:focus + label {
    opacity: 1;
}

.form-group select option {
    background-color: #0A0A0A;
    color: #ffffff;
    padding: 10px;
}

/* Make placeholder text visible until focused */
.form-group input::placeholder,
.form-group textarea::placeholder {
    opacity: 1;
    color: rgba(255, 255, 255, 0.7);
}

/* Hide placeholder on focus */
.form-group input:focus::placeholder,
.form-group textarea:focus::placeholder {
    opacity: 0;
}

/* Mobile adjustments */
@media screen and (max-width: 768px) {
    .form-group {
        margin-bottom: 40px;
    }
    
    .form-group label {
        font-size: 0.9rem;
    }
}

/* Footer */
footer {
    background-color: #000000;
    color: #fff;
    padding: 80px 0 30px;
    text-align: center;
    border-top: 1px solid #111111;
}

.footer-content {
    max-width: 600px;
    margin: 0 auto;
}

.footer-logo {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

.footer-logo .wave-container {
    width: 70px;
    height: 60px;
    margin-right: 0;
}

.footer-custom-logo {
    justify-content: center;
}

.footer-logo .wave {
    height: 12px;
}

.footer-tagline {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    margin-bottom: 30px;
    color: #EADE91;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

.footer-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.footer-nav a {
    margin: 0 15px 10px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #f9f9f9;
}

.footer-bottom {
    border-top: 1px solid #111111;
    padding-top: 30px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    font-size: 0.8rem;
    color: #aaa;
    text-align: center;
}

.footer-links a {
    color: #aaa;
    margin-left: 20px;
}

.footer-links a:hover {
    color: #EADE91;
}

/* Animations */
.reveal-element {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.reveal-element.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-text {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.reveal-text.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Styles */
@media screen and (max-width: 1200px) {
    .hero-content h1 {
        font-size: 3.5rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .about-experience {
        right: 0;
    }
}

@media screen and (max-width: 992px) {
    section {
        padding: 100px 0;
    }
    
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .hero-content h2 {
        font-size: 1.5rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .about-text {
        padding-right: 0;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-form-container {
        order: -1;
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

@media screen and (max-width: 768px) {
    section {
        padding: 80px 0;
    }
    
    .container {
        width: 94%;
        max-width: 600px;
    }
    
    /* Specific header container adjustment for more logo space */
    header .container {
        width: 97%;
        padding: 0 10px;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content h2 {
        font-size: 1.2rem;
        margin-bottom: 1.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: rgba(0, 0, 0, 0.95);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        z-index: 1000;
        transition: right 0.3s ease;
        backdrop-filter: blur(10px);
        border-left: 1px solid #111111;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu li {
        margin: 15px 0;
    }
    
    .menu-toggle {
        display: flex;
        z-index: 1001;
        margin-left: 20px;
    }
    
    .btn-secondary {
        margin-left: 0;
        margin-top: 15px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    
    .info-cards {
        grid-template-columns: 1fr;
    }
    
    .testimonial-content {
        padding: 30px 40px;
    }
    
    .contact-form-container {
        padding: 40px 30px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        margin-top: 15px;
    }
    
    .footer-links a {
        margin: 0 10px;
    }
    
    .about-experience {
        padding: 10px 15px;
        bottom: 15px;
        right: -15px;
    }
    
    .about-experience .number {
        font-size: 1.5rem;
    }
    
    .about-experience .text {
        font-size: 0.7rem;
    }
    
    .logo {
        display: flex;
        align-items: center;
    }
    
    nav {
        padding: 15px 0;
    }
    
    header.scrolled {
        padding: 10px 0;
    }
    
    /* Make contact section headings visible on mobile */
    .section-intro.text-left {
        text-align: center;
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
        margin-bottom: 2rem !important;
    }
    
    .section-intro.text-left .section-tagline,
    .section-intro.text-left .section-title {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
    
    .section-intro.text-left .golden-line.left {
        margin: 0 auto;
        display: block !important;
    }
    
    /* Contact section specific fixes for mobile */
    .contact-info .section-intro.text-left .section-tagline,
    .contact-info .section-intro.text-left .section-title {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
        color: #EADE91;
    }
    
    /* Improved info cards on mobile */
    .info-cards {
        text-align: center;
        display: flex;
        flex-direction: column;
        gap: 30px;
    }
    
    .info-card {
        justify-content: center;
        text-align: center;
        flex-direction: column;
        align-items: center;
        margin-bottom: 0;
    }
    
    .info-icon {
        margin-bottom: 15px;
        width: 70px;
        height: 70px;
        font-size: 26px;
    }
    
    .info-content {
        text-align: center;
    }
    
    /* Center social links */
    .social-links {
        justify-content: center;
    }
    
    /* Center footer elements */
    .footer-bottom {
        justify-content: center;
    }
    
    .footer-links a {
        margin: 0 10px;
    }
    
    /* Center all text on mobile */
    p, h1, h2, h3, h4, h5, h6, .about-text, .service-card, .feature {
        text-align: center;
    }
    
    /* Center features */
    .feature {
        flex-direction: column;
        align-items: center;
        margin-bottom: 30px;
    }
    
    .feature i {
        margin-bottom: 15px;
    }
    
    .feature div {
        text-align: center;
    }
    
    /* Center buttons */
    .btn-tertiary {
        justify-content: center;
        margin: 0 auto;
        display: flex;
    }
    
    /* Center testimonial content */
    .testimonial-quote p {
        padding: 0 10px;
    }
    
    /* Make testimonials wider */
    .testimonials-slider {
        max-width: 95%;
    }
    
    /* Center only headings and icons in service cards, keep lists left-aligned */
    .service-card h3, 
    .service-card .service-icon {
        text-align: center;
    }
    
    .service-card p {
        text-align: center;
        padding: 0 15px;
    }
    
    .service-list {
        text-align: left;
        padding-left: 30px;
        padding-right: 15px;
    }
    
    .service-list li {
        text-align: left;
    }
    
    .card-link {
        text-align: center;
        justify-content: center;
        display: block;
        margin-top: 20px;
    }
}

@media screen and (max-width: 576px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .btn-primary, .btn-secondary {
        padding: 12px 25px;
        font-size: 0.8rem;
    }
    
    .gallery-image {
        height: 250px;
    }
    
    .testimonial-quote p {
        font-size: 1rem;
    }
    
    /* Keep logo and text side by side on mobile */
    .custom-logo {
        flex-direction: row;
        align-items: center;
    }
    
    .logo-symbol {
        width: 35px;
        margin-right: 8px;
    }
    
    .logo-text {
        font-size: 0.95rem;
        white-space: nowrap;
    }
    
    /* Adjust logo container width on mobile */
    .logo {
        max-width: 75%;
    }
    
    /* Add gap before hamburger menu */
    .menu-toggle {
        margin-left: 30px;
    }
}

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

.logo-symbol {
    width: 60px;
    height: auto;
    margin-right: 15px;
    filter: drop-shadow(0 0 10px rgba(234, 222, 145, 0.6));
}

.logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    font-weight: 600;
    color: #EADE91;
    letter-spacing: 1px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

.footer-custom-logo {
    justify-content: center;
}

.footer-logo .logo-symbol {
    width: 80px;
    margin-right: 0;
    filter: drop-shadow(0 0 15px rgba(234, 222, 145, 0.7));
}

.section-intro.light .section-title.gold-text {
    color: #EADE91;
    text-shadow: 0 0 5px rgba(234, 222, 145, 0.7);
    background: none;
    -webkit-background-clip: initial;
    background-clip: initial;
    -webkit-text-fill-color: #EADE91;
    position: relative;
    z-index: 10;
}

/* More visible section heading on dark backgrounds */
.section-intro.light .section-tagline {
    color: #ffffff;
    font-weight: 600;
    text-shadow: 0 0 8px rgba(166, 138, 79, 0.8);
}

.card-link i, 
.btn-tertiary i {
    color: #ffffff;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.7);
}

/* Add higher z-index to all sections with heading overlays */
.section-intro, 
.hero-content,
.testimonials-slider,
.contact-info,
.contact-form-container {
    position: relative;
    z-index: 5;
}

@media screen and (max-width: 350px) {
    .logo-symbol {
        width: 30px;
        margin-right: 6px;
    }
    
    .logo-text {
        font-size: 0.9rem;
    }
    
    /* Adjust container padding for very small screens */
    header .container {
        padding: 0 8px 0 8px;
        width: 96%;
    }
    
    /* Further reduce space for smallest screens */
    .menu-toggle {
        margin-left: 15px;
        width: 28px;
    }
    
    /* Add more gap between logo and menu */
    nav {
        gap: 15px;
    }
}

/* Add specific styles for iPhone SE and other extremely small screens */


.form-group input::placeholder,
.form-group textarea::placeholder {
    opacity: 0;
}

/* Specific fix for service dropdown */
.service-group label {
    top: -15px;
    font-size: 0.8rem;
    color: #A68A4F;
    background-color: #000;
}

.service-group select {
    margin-top: 5px;
}

/* Services section mobile improvements */
@media screen and (max-width: 768px) {
    /* Wider services container */
    .services-section .container {
        width: 98%;
        max-width: none;
    }
    
    .service-card {
        padding: 40px 25px;
        max-width: 450px;
        margin: 0 auto 30px;
    }
    
    .service-list {
        padding-left: 40px;
        padding-right: 20px;
    }
    
    .service-list li {
        margin-bottom: 15px;
    }
}

/* Trusted Brands Section */
.trusted-brands-section {
    background-color: #0A0A0A;
    position: relative;
    padding: 80px 0;
    overflow: hidden;
}

.trusted-brands-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('Images-Of-Work/IMG_3308.jpg') center center/cover no-repeat;
    opacity: 0.06;
    filter: grayscale(70%);
    z-index: 1;
}

.brands-carousel-container {
    position: relative;
    overflow: hidden;
    width: 100%;
    padding: 40px 0;
    margin-top: 30px;
    z-index: 2;
}

.brands-carousel {
    display: flex;
    animation: carousel 30s linear infinite;
    width: max-content;
}

.brand-item {
    flex: 0 0 auto;
    width: 180px;
    height: 100px;
    margin: 0 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 8px;
    padding: 15px;
    border: 1px solid rgba(166, 138, 79, 0.3);
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.brand-item img {
    max-width: 100%;
    max-height: 80px;
    opacity: 1;
    transition: all 0.3s ease;
}

.brand-item:hover {
    transform: translateY(-5px);
    border-color: #A68A4F;
    box-shadow: 0 5px 15px rgba(166, 138, 79, 0.3);
    background-color: rgba(10, 10, 10, 0.9);
}

.brand-item:hover img {
    transform: scale(1.05);
}

@keyframes carousel {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-180px * 7 - 60px * 7)); /* Width of 7 items + their margins */
    }
}

/* Mobile adaptations for the carousel */
@media screen and (max-width: 768px) {
    .brand-item {
        width: 140px;
        height: 80px;
        margin: 0 15px;
        padding: 10px;
    }
    
    .brand-item img {
        max-height: 60px;
    }
    
    @keyframes carousel {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-140px * 7 - 30px * 7)); /* Adjusted for mobile */
        }
    }
    
    /* Smaller brand items padding for mobile */
    .brands-carousel-container {
        padding: 30px 0;
    }
}

/* Specific fixes for iPhone 11 and similar devices */
@media screen and (min-width: 375px) and (max-width: 414px) {
    body {
        width: 100vw;
        overflow-x: hidden;
    }
    
    .container {
        width: 94%;
    }
    
    header .container {
        width: 96%;
        padding: 0 8px;
    }
    
    /* Fix for hero section on iPhone 11 */
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .hero-content h2 {
        font-size: 1.1rem;
    }
    
    /* Ensure proper sizing of all content */
    section {
        width: 100%;
    }
}

/* Thank You Message Styles */
.thank-you-message {
    background-color: rgba(10, 10, 10, 0.95);
    border-radius: 5px;
    padding: 50px 30px;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    border: 1px solid #111111;
    min-height: 350px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.check-mark {
    font-size: 60px;
    color: #A68A4F;
    margin-bottom: 20px;
}

.thank-you-message h3 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: #EADE91;
}

.thank-you-message p {
    margin-bottom: 30px;
    max-width: 80%;
}

.back-btn {
    margin-top: 20px;
}

/* Small screen specific nav modifications */
@media screen and (max-width: 400px) {
    nav {
        gap: 15px; /* Larger gap for small screens */
    }
}

/* Header size for mobile devices only */
@media screen and (max-width: 768px) {
    /* Reduce header padding on mobile */
    header {
        padding: 12px 0;
    }
    
    header.scrolled {
        padding: 10px 0;
    }
    
    /* Rest of mobile styles remain unchanged */
}

/* Adjust medium-small screen sizes */
@media screen and (min-width: 321px) and (max-width: 375px) {
    /* Fix for medium-small screens like iPhone 12 mini */
    .logo-text {
        padding-right: 0;
        font-size: 1.6rem;
        letter-spacing: -0.3px;
        margin-right: 0;
    }
    
    .menu-toggle {
        margin-left: 0;
        transform: scale(0.9);
    }
    
    nav {
        gap: 0;
        justify-content: space-between;
    }
    
    .logo {
        max-width: 85%;
    }
    
    /* Reduce header container width to push elements closer */
    header .container {
        width: 98%;
        padding: 0 4px;
    }
    
    /* Larger symbol to balance with larger text */
    .logo-symbol {
        width: 55px;
        margin-right: 6px;
    }
}

/* Fix for extremely small screens */
@media screen and (max-width: 320px) {
    .logo-symbol {
        width: 36px;
        margin-right: 5px;
    }
    
    .logo-text {
        font-size: 1.4rem;
        letter-spacing: -0.4px;
        padding-right: 0;
        margin-right: 0;
    }
    
    .menu-toggle {
        margin-left: 0;
        transform: scale(0.85);
        width: 22px;
        margin-right: 0;
    }
    
    .logo {
        max-width: 85%;
        position: relative;
        left: -2px;
    }
    
    header .container {
        padding: 0 4px;
        width: 98%;
        justify-content: flex-start;
    }
    
    nav {
        gap: 0;
        justify-content: space-between;
        width: 100%;
        padding: 0;
    }
    
    .custom-logo {
        transform: scale(0.95);
        transform-origin: left center;
        margin-left: 0;
        padding-left: 0;
    }
    
    .logo-text {
        width: max-content;
        max-width: calc(100vw - 65px);
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
}

/* Fix for section headings on mobile - Add at the end of the file */
@media screen and (max-width: 768px) {
    /* Ensure all section headings remain visible */
    .section-intro, 
    .section-intro .section-tagline,
    .section-intro .section-title,
    .section-intro .golden-line {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    /* Special fix for contact section */
    .contact-info .section-intro.text-left {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        margin-bottom: 30px !important;
    }
    
    .contact-info .section-intro.text-left .section-tagline,
    .contact-info .section-intro.text-left .section-title {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    /* Add padding for the contact section to ensure headings are visible */
    .contact-section {
        padding-top: 100px !important;
    }
    
    /* Ensure headings have enough vertical space */
    .section-intro {
        margin-bottom: 40px !important;
    }
}

/* Contact headings for different screen sizes */
.mobile-contact-heading {
    display: none;
    margin-bottom: 30px;
}

.desktop-contact-heading {
    display: block;
}

@media screen and (max-width: 768px) {
    .mobile-contact-heading {
        display: block;
        text-align: center;
        margin-bottom: 30px;
    }
    
    .desktop-contact-heading {
        display: none;
    }
} 