body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    background-image: url(image/mainheader.png); 
    /* Add this to your existing CSS */
html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

/* Make all sections full width */
section {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
}



/* Reset box-sizing */
* {
    box-sizing: border-box;
}

}

.container {
    width: 100%;
    max-width: none;
    padding: 0 20px;
}

/* Static Header Styles */
header {
    position: fixed; /* Makes header fixed at top */
    top: 0;
    left: 0;
    width: 100%;
    height: 150px; /* Fixed height */
    z-index: 1000; /* Keeps header above everything */
    transition: all 0.3s ease;
    
}

/* When NOT scrolled - transparent header with hero background */
header:not(.scrolled) {
    background: transparent;
    box-shadow: none;
}

/* When scrolled - solid header */
header.scrolled {
    background-image: url(image/mainheader.png); /* Solid background when scrolled */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 60px;
    position: relative;
    z-index: 2;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 24px;
    letter-spacing: 0.5px;
    color: white;
}

.logo img {
    width: 150px;
    height: auto;
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.05);
}

.logo span {
    color: #4CAF50;
}

nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;

}

nav li {
    margin-left: 40px;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: 100;
    font-size: 18px;
    font-family: 'Montserrat', sans-serif;
    transition: all 0.3s ease;
    position: relative;
    padding: 8px 4px;
    border-radius: 6px;
    
}

nav a:hover {
    color: #4CAF50;
    background: rgba(76, 175, 80, 0.1);
    transform: translateY(-2px);
}

nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: #4CAF50;
    bottom: -5px;
    left: 0;
    transition: width 0.3s;
}

nav a:hover::after {
    width: 100%;
}

/* Hamburger Menu Styles */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

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

.hamburger.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Header Mobile Styles */
@media (max-width: 768px) {
    header {
        height: 80px;
    }
    
    .header-container {
        padding: 15px 20px;
        justify-content: space-between;
    }
    
    .logo img {
        width: 70px;
    }
    
    .logo {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    header {
        height: 70px;
    }
    
    .header-container {
        padding: 10px 15px;
    }
    
    .logo img {
        width: 60px;
    }
    
    .logo {
        font-size: 16px;
    }
}

/* Hero Section - adjusted for fixed header */
.hero {
    background-image: url(image/mainhero.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    color: white;
    width: 100%;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

/* Hero background overlay for header when at top */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.55);
    z-index: 1;
}

.hero-content {
    width: 100%;
    max-width: 1400px;
    box-sizing: border-box;
    position: relative;
    z-index: 2; /* Above the overlay */
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 40px;
    font-weight: 800;
    line-height: 1.1;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
    letter-spacing: -0.5px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 50px;
}

/* Mobile Hero Styles */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 28px;
        margin-bottom: 20px;
        padding: 0 20px;
    }
    
    .hero-description {
        font-size: 18px;
        padding: 0 20px;
        margin-bottom: 20px;
    }
    
    .hero-divider {
        width: 150px;
        margin: 0 auto 30px;
    }
    
    .hero-content {
        padding-top: 100px; /* Account for fixed header */
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 24px;
        line-height: 1.3;
    }
    
    .hero-description {
        font-size: 16px;
        line-height: 1.6;
    }
}

.hero-tagline {
    font-size: 28px;
    font-weight: 300;
    margin-bottom: 40px;
    color: #f0f0f0;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.hero-divider {
    width: 150px;
    height: 5px;
    background: linear-gradient(90deg, #4CAF50, #66BB6A);
    margin: 0 auto 50px;
    border: none;
    border-radius: 3px;
    box-shadow: 0 2px 10px rgba(76, 175, 80, 0.3);
}

.hero-description {
    font-size: 22px;
    max-width: 800px;
    margin: 0 auto 30px;
    line-height: 1.6;
    color: #f0f0f0;
    font-weight: 300;
    letter-spacing: 0.3px;
}

.hero-description:last-of-type {
    margin-bottom: 0;
}



/* About Section */
.content-section {
    display: flex;
    min-height: 100vh;
    width: 100%;
    background-image: url(image/about2.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    gap: 60px;
    padding: 100px 80px 60px 80px;
    box-sizing: border-box;
    max-width: 1600px;
    margin: 0 auto;
}

.image-container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
}

.image-container img {
    width: 100%;
    max-width: 650px;
    height: 500px;
    object-fit: cover;
    margin: 0;
    
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.image-container img:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.text-container {
    flex: 1;
    padding-top:60px;
    box-sizing: border-box;

}

.text-container h2 {
    font-size: 42px;
    color: white;
    margin-bottom: 35px;
    font-weight: 600;
    line-height: 1.2;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: -0.5px;
}

.text-container p {
    font-size: 20px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 25px;
    font-weight: 300;
    letter-spacing: 0.2px;
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        max-width: 300px;
        height: 100vh;
        background: rgba(44, 52, 76, 0.98);
        backdrop-filter: blur(10px);
        transition: right 0.3s ease;
        z-index: 1000;
        padding: 80px 20px 20px;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    }
    
    nav.active {
        right: 0;
    }
    
    nav ul {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }
    
    nav li {
        margin: 0;
    }
    
    nav a {
        font-size: 20px;
        color: white;
        padding: 10px 20px;
        border-radius: 5px;
        transition: all 0.3s ease;
    }
    
    nav a:hover {
        background: rgba(76, 175, 80, 0.2);
        color: #4CAF50;
    }
    
    nav a::after {
        display: none;
    }
}

/* Responsive Styles */
@media (max-width: 768px) {
    .content-section {
        flex-direction: column;
        padding: 40px 30px 20px 30px; /* Reduced padding for mobile */
        gap: 30px;
    }
    
    .image-container, 
    .text-container {
        width: 100%;
        padding: 0;
    }
    
    .image-container img {
        height: 50vh;
        max-width: 100%;
    }
    
    .text-container h2 {
        font-size: 32px;
        text-align: center;
    }
    
    .text-container p {
        font-size: 17px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .content-section {
        padding: 30px 20px 15px 20px; /* Even smaller padding for mobile */
    }
    
    .image-container img {
        height: 40vh;
    }
}

/* About Section - Unique class names to avoid conflicts */
.about-section {
    background-image: url(image/bgh2.jpg);
    display: flex;
    min-height: 100vh;
    width: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    gap: 60px;
    padding: 100px 80px 60px 80px;
    box-sizing: border-box;
    max-width: 1600px;
    margin: 0 auto;
}

/* This keeps text left, image right */
.about-section {
    flex-direction: row;
}

.about-image-container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
}

.about-image {
   width: 100%;
     max-width: 650px;
     height: 500px;
     object-fit: cover;
     margin: 0;
     
     box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
     transition: transform 0.3s ease, box-shadow 0.3s ease;
 }

 .about-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
 }

.about-text-container {
    flex: 1;
    padding-top:60px;
    box-sizing: border-box;
    
}

.section-title {
    font-size: 46px;
    color: #4CAF50;
    margin-bottom: 35px;
    font-weight: 700;
    line-height: 1.2;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: -0.5px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.section-description {
    font-size: 20px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 25px;
    font-weight: 400;
    max-width: 600px;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .about-section {
        flex-direction: column;
        padding: 40px 20px 20px 20px;
        gap: 30px;
    }
    
    .about-image-container,
    .about-text-container {
        width: 100%;
        padding: 0;
    }
    
    .about-image {
        height: 50vh;
        max-width: 100%;
    }
    
    .section-title {
        font-size: 28px;
        text-align: center;
        margin-bottom: 20px;
    }
    
    .section-description {
        font-size: 16px;
        text-align: center;
        margin-bottom: 20px;
    }
}

@media (max-width: 480px) {
    .about-section {
        padding: 30px 20px 15px 20px;
    }
    
    .about-image {
        height: 40vh;
    }
}
/*professional service*/
.service-card {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1200px;
    margin: 80px auto;
    border: 2px solid white;
   

    
 
 
}

.service-card:hover {
    transform: translateY(-10px) scale(1.02);
  
}

.service-card .image-container {
    flex: 1;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 50%;
}

.service-card .image-container img {
    width: 100%;
    height:600px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.service-card .content-container {
    flex: 1;
    box-sizing: border-box;
}

.service-card .content-container {
    padding: 60px 50px;
}

.service-card .content-container h1 {
    font-size: 36px;
    color: white;
    margin-bottom: 25px;
    font-weight: 700;
    line-height: 1.2;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: -0.3px;
}

.service-card .content-container p {
    font-size: 18px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
    text-align: left;
    font-weight: 300;
}

.service-card .content-container p:last-child {
    margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .service-card {
        margin: 40px 20px;
        max-width: calc(100% - 40px);
    }
}

@media (max-width: 900px) {
    .service-card {
        flex-direction: column;
        margin: 30px 20px;
        max-width: calc(100% - 40px);
    }
    
    .service-card .image-container {
        max-width: 100%;
        width: 100%;
    }
    
    .service-card .image-container img {
        height: 350px;
    }
    
    .service-card .content-container {
        padding: 30px;
    }
    
    .service-card .content-container h1 {
        font-size: 26px;
        text-align: center;
        margin-bottom: 15px;
    }
    
    .service-card .content-container p {
        font-size: 16px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .service-card {
        margin: 20px auto;
        max-width: 95%;
     
    }
    
    .service-card .image-container img {
        height: 250px;
    }
    
    .service-card .content-container {
        padding: 25px 20px;
    }
    
    .service-card .content-container h1 {
        font-size: 24px;
    }
    
    .service-card .content-container p {
        font-size: 15px;
        line-height: 1.6;
    }
}




.co2-section {
    background-image: url(image/lasr.jpg);
    display: flex;
    min-height: 100vh;
    width: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 100px 0 60px 0;
    position: relative;
}





.co2-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 80px 60px;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(15px);
    
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.co2-content h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 42px;
    color: white;
    margin-bottom: 40px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    letter-spacing: -0.5px;
}

.co2-content p {
    font-size: 20px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 30px;
    text-align: left;
    font-weight: 300;
    letter-spacing: 0.2px;
}

.co2-content p:last-child {
    margin-bottom: 0;
}

.co2-content p strong {
    color: #2c3e50;
    font-weight: 600;
}

/* Highlight CO₂ text */
.co2-content h2 {
    position: relative;
    padding-bottom: 20px;
}

.co2-content h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background-color: #4CAF50;
}

/* Responsive Design */
@media (max-width: 768px) {
    .co2-section {
        padding: 60px 20px;
        min-height: auto;
    }
    
    .co2-container {
        padding: 40px 25px;
        backdrop-filter: blur(3px);
    }
    
    .co2-content h2 {
        font-size: 26px;
        text-align: center;
    }
    
    .co2-content p {
        font-size: 16px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .co2-section {
        padding: 40px 10px;
        min-height: 400px;
    }
    
    .co2-container {
        padding: 30px 20px;
    }
    
    .co2-content h2 {
        font-size: 24px;
    }
    
    .co2-content p {
        font-size: 15px;
        line-height: 1.7;
    }
    
    .co2-bg-image img {
        filter: brightness(0.3);
    }
}

/*footer-section/

/* Contact Section */
.contact-section {
    background: linear-gradient(135deg, rgb(44, 52, 76), rgb(35, 42, 60));
    padding: 100px 40px 80px 40px;
    width: 100%;
    font-family: 'Open Sans', sans-serif;
    position: relative;
}

.contact-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

/* Contact Form Section */
.contact-form-section {
    display: flex;
    flex-direction: column;
}

.contact-form-content {
    background: rgba(86, 93, 112, 0.8);
    backdrop-filter: blur(10px);
    padding: 50px;
  
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
    height: 100%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-form-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

.contact-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
    line-height: 1.2;
    letter-spacing: -0.3px;
}

.contact-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 35px;
    line-height: 1.6;
    padding-bottom: 20px;
    font-weight: 300;
}

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

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    flex: 1;
}

.form-label {
    display: block;
    font-size: 14px;
    color: white;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    
    font-size: 14px;
    box-sizing: border-box;
    font-family: 'Open Sans', sans-serif;
    transition: border-color 0.3s;
}

.form-input:focus {
    outline: none;
    border-color: #4CAF50;
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
}

.form-textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
  
    font-size: 14px;
    box-sizing: border-box;
    font-family: 'Open Sans', sans-serif;
    resize: vertical;
    min-height: 120px;
    transition: border-color 0.3s;
}

.form-textarea:focus {
    outline: none;
    border-color: #4CAF50;
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
}

.form-footer {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.required-note {
    font-size: 12px;
    color: white;
    margin-bottom: 15px;
    font-style: italic;
}

.send-button {
    color: gray;
    border: none;
    padding: 16px 40px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    transition: all 0.3s ease;
    display: block;
    width: 100%;
    box-shadow: 0 5px 15px rgba(76, 175, 80, 0.3);
}

.send-button:hover {
    background: black;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(76, 175, 80, 0.4);
    color: white;
}


/* Map & Contact Info Section */
.map-contact-section {
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* Map Container */
.map-container {
    background: rgba(44, 52, 76, 0.8);
    backdrop-filter: blur(10px);
   
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.map-wrapper {
    width: 100%;
    height: 450px;
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;
    display: block;
    border: none;
}

/* Contact Info Container */
.contact-info-container {
    background: rgba(44, 52, 76, 0.8);
    backdrop-filter: blur(10px);
    padding: 40px 50px;
  
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
    flex-grow: 1;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-top: none;
}

.contact-info-content {
    height: 100%;
}

.contact-info-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color:white;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #4CAF50;
}

.contact-details p {
    margin: 0 0 15px 0;
    font-size: 15px;
    color: white;
    line-height: 1.6;
}

.contact-details strong {
    color: white;
    font-weight: 600;
}

/* Footer */
footer {
    background: linear-gradient(135deg, rgb(44, 52, 76), rgb(35, 42, 60));
    padding: 30px 20px;
    width: 100%;
    margin-top: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Section animations */
.content-section, .about-section, .co2-section, .contact-section {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out forwards;
}

.content-section { animation-delay: 0.2s; }
.about-section { animation-delay: 0.4s; }
.co2-section { animation-delay: 0.6s; }
.contact-section { animation-delay: 0.8s; }

/* Service card animation */
.service-card {
    opacity: 0;
    transform: translateY(50px) scale(0.95);
    animation: fadeInUp 0.8s ease-out forwards;
}

.service-card:nth-child(1) { animation-delay: 0.3s; }

/* Enhanced hover effects */
.text-container:hover h2,
.service-card .content-container:hover h1 {
    color: #4CAF50;
    transition: color 0.3s ease;
}

.section-title:hover {
    transform: translateX(10px);
    transition: transform 0.3s ease;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.copyright {
    color: rgba(255, 255, 255, 0.8);
    font-size: 16px;
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    letter-spacing: 0.5px;
}

/* Contact Section Mobile Improvements */
@media (max-width: 768px) {
    .contact-section {
        padding: 40px 20px;
    }
    
    .contact-form-content {
        padding: 30px 25px;
    }
    
    .contact-title {
        font-size: 24px;
        text-align: center;
    }
    
    .contact-subtitle {
        font-size: 15px;
        text-align: center;
        margin-bottom: 25px;
    }
    
    .form-row {
        flex-direction: column;
        gap: 15px;
    }
    
    .contact-info-container {
        padding: 25px;
    }
    
    .contact-info-title {
        font-size: 18px;
        text-align: center;
    }
    
    .contact-details p {
        font-size: 14px;
        text-align: center;
    }
    
    .map-wrapper {
        height: 300px;
    }
}

@media (max-width: 480px) {
    .contact-section {
        padding: 30px 15px;
    }
    
    .contact-form-content {
        padding: 25px 20px;
    }
    
    .contact-title {
        font-size: 22px;
    }
    
    .contact-subtitle {
        font-size: 14px;
    }
    
    .contact-info-title {
        font-size: 16px;
    }
    
    .contact-details p {
        font-size: 13px;
    }
    
    .map-wrapper {
        height: 250px;
    }
    
    .send-button {
        padding: 12px 25px;
        font-size: 14px;
    }
}

/* Responsive Design */
@media (max-width: 992px) {
    .contact-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .map-wrapper {
        height: 350px;
    }
}

@media (max-width: 768px) {
    .contact-section {
        padding: 40px 15px;
    }
    
    .contact-form-content {
        padding: 30px;
    }
    
    .form-row {
        flex-direction: column;
        gap: 15px;
    }
    
    .contact-title {
        font-size: 24px;
    }
    
    .contact-info-container {
        padding: 25px 30px;
    }
    
    .map-wrapper {
        height: 300px;
    }
}

@media (max-width: 480px) {
    .contact-section {
        padding: 30px 15px;
    }
    
    .contact-form-content {
        padding: 25px;
    }
    
    .contact-title {
        font-size: 22px;
    }
    
    .contact-info-title {
        font-size: 18px;
    }
    
    .contact-details p {
        font-size: 14px;
    }
    
    .map-wrapper {
        height: 250px;
    }
    
    footer {
        padding: 20px 15px;
    }
}


/* CSS Variables for Consistent Styling */
:root {
    --primary: #0a2c4e; /* Dark blue */
    --secondary: #e6a300; /* Gold accent */
    --accent: #c8102e; /* Red accent */
    --light: #f8f9fa;
    --dark: #1a1a1a;
    --gray: #6c757d;
    --white: #ffffff;
    --transition: all 0.3s ease;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --border-radius: 4px;
    --container-width: 1200px;
}

/* Base Reset & Typography */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    line-height: 1.6;
    color: var(--dark);
    background-color: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
    font-weight: 800;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: white;
}

h3 {
    font-size: 1.8rem;
}

p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.accent {
    color: white;
}

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */

/* Services Hero Section */
.services-hero {
    padding: 180px 0 100px;
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;

}

.services-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    filter: brightness(0.4);
    z-index: -1;
}

.services-hero-content {
    max-width: 800px;
    margin: 0 auto;
 
}

.services-hero h1 {
    margin-bottom: 1.5rem;
    font-size: 3rem;
}

.services-hero p {
    font-size: 1.3rem;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto 2rem;
}

/* Why Choose OTI Section */
.why-choose-oti {
    padding: 100px 0;
    background-image: url('image/header.jpg');
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    position: relative;
}

.why-choose-oti::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.why-choose-oti > .container {
    position: relative;
    z-index: 2;
}

.section-header2 h2 {
    color: white;
}

.section-header2 p {
    color:white;
}

.section-header2 {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
    margin-top: 70px;
    
}
.section-header h2 {
    color: black;
}


.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
    margin-top: 70px;
    
}

.section-header p {
    color: black;
    font-size: 1.2rem;
}

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

.advantage-card {
    background-color: var(--white);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    border-top: 4px solid transparent;
}

.advantage-card:hover {
    transform: translateY(-10px);
    border-top-color: var(--secondary);
}

.advantage-icon {
    font-size: 2.5rem;
    color: rgb(240, 234, 234);
    margin-bottom: 20px;
}

.advantage-card h3 {
    margin-bottom: 15px;
    color: rgb(11, 6, 54);
}

/* Services Grid */
#services {
    padding: 100px 0;
    background-color: var(--white);
    
}

.services-grid {
    display: flex;
    flex-direction: column;
    gap: 60px;
    margin-top: 50px;
}

.service-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    background-color: var(--light);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.service-img {
    height: 400px;
    background-size: cover;
    background-position: center;
    transition: var(--transition);
}

.service-block:hover .service-img {
    transform: scale(1.05);
}

.service-content {
    padding: 40px;
}

.service-number {
    display: inline-block;
    background-color: rgb(4, 4, 26);
    color: white;
    font-weight: 800;
    font-size: 1.5rem;
    width: 50px;
    height: 50px;
    line-height: 50px;
    text-align: center;
    border-radius: 50%;
    margin-right: 15px;
}

.service-features {
    list-style: none;
    margin: 25px 0;
}

.service-features li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: rgb(4, 4, 26);
    font-weight: bold;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    margin-top: 20px;
}

.service-link:hover {
    color: var(--secondary);
    gap: 15px;
}

/* CTA Banner */
.cta-banner {
    background-image: url(image/lasr.jpg);
    padding: 80px 40px;
    text-align: center;
    border-radius: var(--border-radius);
    margin-bottom: 100px;
}

.cta-banner h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    color: white;
}

.cta-banner p {
    font-size: 1.3rem;
    max-width: 700px;
    margin: 0 auto 30px;
    opacity: 0.9;
    color: white;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    font-size: 1rem;
    text-align: center;
    cursor: pointer;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 100;
    transition: var(--transition);
}

.whatsapp-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: #25D366;
    color: var(--white);
    padding: 15px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
    transition: var(--transition);
}

.whatsapp-btn:hover {
    background-color: #128C7E;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.4);
}

.whatsapp-text {
    display: inline-block;
}

.whatsapp-btn i {
    font-size: 1.5rem;
}

/* Footer */
footer {
    background-color: var(--primary);
    color: var(--white);
    padding: 30px 0;
    text-align: center;
}

.footer-content {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.copyright {
    opacity: 0.8;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 992px) {
    h1 {
        font-size: 2.8rem;
    }
    
    h2 {
        font-size: 2.2rem;
    }
    
    .services-hero {
        padding: 150px 0 80px;
    }
    
    .service-block {
        grid-template-columns: 1fr;
    }
    
    .service-img {
        height: 300px;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    nav {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: var(--primary);
        padding: 20px;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        z-index: 999;
    }
    
    nav.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    nav ul {
        flex-direction: column;
        gap: 15px;
    }
    
    .services-hero h1 {
        font-size: 2.3rem;
    }
    
    .advantages-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-banner h2 {
        font-size: 2.2rem;
    }
    
    .whatsapp-text {
        display: none;
    }
    
    .whatsapp-btn {
        padding: 15px;
        border-radius: 50%;
        width: 60px;
        height: 60px;
        justify-content: center;
    }
    
    .whatsapp-btn i {
        font-size: 1.8rem;
        margin: 0;
    }
}

@media (max-width: 576px) {
    .services-hero {
        padding: 130px 0 60px;
    }
    
    .services-hero h1 {
        font-size: 2rem;
    }
    
    .services-hero p,
    .cta-banner p {
        font-size: 1.1rem;
    }
    
    .cta-banner {
        padding: 60px 20px;
    }
    
    .cta-banner h2 {
        font-size: 1.8rem;
    }
    
    .service-content {
        padding: 30px 20px;
    }
    
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
    }
}

/* Animation for service images */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-block {
    animation: fadeInUp 0.6s ease-out;
}

.service-block:nth-child(2) {
    animation-delay: 0.2s;
}

.service-block:nth-child(3) {
    animation-delay: 0.4s;
}

/*contact styling*/

        

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

       
        .contact-btn {
    /* Remove the background color and make it look like other links */
    background: transparent;
    color: var(--dark);
    padding: 8px 0;
    border-radius: 0;
    font-weight: 500;
}

.contact-btn:hover {
    background: transparent;
    transform: none;
    box-shadow: none;
    color: var(--secondary);
}

.mobile-contact-btn {
    /* Remove orange background for mobile */
    background: transparent;
    color: var(--dark);
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 500;
    margin-top: 0;
}
        .mobile-menu-btn {
            display: none;
            background: none;
            border: none;
            font-size: 1.5rem;
            color: var(--primary);
            cursor: pointer;
        }

        /* Contact Page Hero */
        .contact-hero {
            
            background-size: cover;
            color: var(--white);
            padding: 180px 0 100px;
            min-height: 60vh;
            display: flex;
            align-items: center;
            text-align: center;
        }

        .contact-hero-content {
            max-width: 800px;
            margin: 0 auto;
        }

        .contact-hero h1 {
            color: var(--white);
            font-size: 40px;
        }

        .contact-hero p {
            color: rgba(255, 255, 255, 0.9);
            font-size: 1.2rem;
            margin-bottom: 40px;
        }

        /* Contact Section */
        .contact-section {
            padding: 100px 0;
            background: var(--light);
        }

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

        /* Contact Form */
        .contact-form-container {
            background: var(--white);
            padding: 50px;
            border-radius: 12px;
            box-shadow: var(--shadow);
        }

        .form-header {
            margin-bottom: 40px;
        }

        .form-header h2 {
            color: var(--primary);
            margin-bottom: 15px;
        }

        .form-group {
            margin-bottom: 25px;
        }

        .form-label {
            display: block;
            margin-bottom: 8px;
            font-weight: 500;
            color: var(--dark);
        }

        .form-input,
        .form-textarea,
        .form-select {
            width: 100%;
            padding: 14px 18px;
            border: 2px solid var(--light-gray);
            border-radius: 6px;
            font-size: 1rem;
            font-family: 'Inter', sans-serif;
            transition: var(--transition);
            background: var(--white);
        }

        .form-input:focus,
        .form-textarea:focus,
        .form-select:focus {
            outline: none;
            border-color: var(--primary);
            box-shadow: 0 0 0 3px rgba(13, 71, 161, 0.1);
        }

        .form-textarea {
            min-height: 150px;
            resize: vertical;
        }

        .form-row {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 20px;
        }

        /* Button Styles */
        .btn {
            display: inline-block;
            padding: 14px 32px;
            border-radius: 4px;
            text-decoration: none;
            font-weight: 600;
            font-size: 1rem;
            transition: var(--transition);
            border: 2px solid transparent;
            cursor: pointer;
            text-align: center;
        }

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

        .btn.primary:hover {
            background: var(--secondary-dark);
            transform: translateY(-2px);
            box-shadow: var(--shadow);
        }

        .btn.submit {
            width: 100%;
            padding: 16px;
            font-size: 1.1rem;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
        }

        /* Contact Info */
        .contact-info-sidebar {
            display: flex;
            flex-direction: column;
            gap: 30px;
        }

        .contact-info-card {
            background: var(--white);
            border-radius: 12px;
            padding: 40px;
            box-shadow: var(--shadow);
        }

        .contact-info-card h3 {
            color: var(--primary);
            margin-bottom: 30px;
            padding-bottom: 15px;
            border-bottom: 2px solid var(--light-gray);
        }

        .contact-method {
            display: flex;
            align-items: flex-start;
            gap: 20px;
            margin-bottom: 30px;
            padding-bottom: 20px;
            border-bottom: 1px solid var(--light-gray);
        }

        .contact-method:last-child {
            border-bottom: none;
            margin-bottom: 0;
            padding-bottom: 0;
        }

        .contact-icon {
            width: 50px;
            height: 50px;
            background: var(--primary);
            color: var(--white);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.2rem;
            flex-shrink: 0;
        }

        .contact-icon.emergency {
            background: var(--secondary);
        }

        .contact-details h4 {
            color: var(--dark);
            margin-bottom: 5px;
        }

        .contact-details p {
            color: var(--gray);
            margin-bottom: 8px;
            font-size: 1rem;
        }

        .contact-link {
            color: var(--primary);
            text-decoration: none;
            font-weight: 500;
            transition: var(--transition);
        }

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

        
        /* Directions Button */
        .directions-btn {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            background: var(--secondary);
            color: var(--white);
            padding: 12px 25px;
            border-radius: 6px;
            font-weight: 600;
            text-decoration: none;
            transition: var(--transition);
            margin-top: 20px;
        }

        .directions-btn:hover {
            background: var(--secondary-dark);
            transform: translateY(-2px);
            box-shadow: var(--shadow);
        }

       
        /* Form Success/Error Messages */
        .form-message {
            padding: 15px;
            border-radius: 6px;
            margin-bottom: 20px;
            display: none;
        }

        .form-message.success {
            background: #d4edda;
            color: #155724;
            border: 1px solid #c3e6cb;
            display: block;
        }

        .form-message.error {
            background: #f8d7da;
            color: #721c24;
            border: 1px solid #f5c6cb;
            display: block;
        }

        

        @media (max-width: 768px) {
            section {
                padding: 60px 0;
            }
            
            h1 {
                font-size: 2.2rem;
            }
            
            h2 {
                font-size: 1.8rem;
            }
            
            .contact-hero {
                padding: 150px 0 80px;
                min-height: 50vh;
            }
            
            .contact-form-container {
                padding: 30px;
            }
            
            .form-row {
                grid-template-columns: 1fr;
                gap: 0;
            }
            
           

        @media (max-width: 480px) {
            .contact-method {
                flex-direction: column;
                text-align: center;
                gap: 15px;
            }
            
            .contact-icon {
                align-self: center;
            }
            
            .emergency-banner {
                padding: 30px 20px;
            }
            
            .location-details {
                padding: 30px 20px;
            }
        }

        /* Animations */
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .contact-form-container,
        .contact-info-card,
        .location-details {
            animation: fadeInUp 0.6s ease-out forwards;
            opacity: 0;
        }

        .contact-form-container { animation-delay: 0.1s; }
        .contact-info-card { animation-delay: 0.2s; }
        .location-details { animation-delay: 0.3s; }

    
    
    }


    /*extended*/
    /* Form Section */
.contact-section {
    padding: 100px 0;
    background-color: var(--light);
    background-image: url('https://images.unsplash.com/photo-1581091226825-a6a2a5aee158?auto=format&fit=crop&q=80&w=500');
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    position: relative;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.9);
    z-index: 1;
}

.contact-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 50px;
    position: relative;
    z-index: 2;
}

/* Contact Form */
.contact-form-container {
    background-color: var(--white);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    
}

.form-header {
    margin-bottom: 30px;
    text-align: center;
}

.form-header h2 {
    color: var(--primary);
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

.form-header p {
    color: var(--gray);
    font-family: 'Open Sans', sans-serif;
}

.form-message {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: var(--border-radius);
    display: none;
    font-weight: 600;
    text-align: center;
    font-family: 'Open Sans', sans-serif;
    border: 2px solid transparent;
}

.form-message.success {
    background-color: #d4edda;
    color: rgb(12, 12, 48);
    border-color: #c3e6cb;
}

.form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border-color: #f5c6cb;
}

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-label {
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--primary);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

.form-label:after {
    content: ' *';
    color: var(--accent);
    display: none;
}

.form-label[required]:after {
    display: inline;
}

/* Custom Input Styling */
.form-input,
.form-select,
.form-textarea {
    padding: 14px 16px;
    border: 2px solid #e0e0e0;
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
    font-family: 'Open Sans', sans-serif;
    background-color: #fafafa;
    color: var(--dark);
    outline: none;
    width: 100%;
    box-sizing: border-box;
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: #999;
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    border-color: var(--secondary);
    background-color: var(--white);
    box-shadow: 0 0 0 3px rgba(230, 163, 0, 0.15);
    outline: none;
}

/* Focus border animation */
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    animation: border-pulse 1.5s infinite;
}

@keyframes border-pulse {
    0%, 100% {
        border-color: var(--secondary);
    }
    50% {
        border-color: #ffc107;
    }
}

/* Specific styles for different input types */
.form-input {
    border: 2px solid #d1d5db;
    background: linear-gradient(to bottom, #f8f9fa 0%, #ffffff 100%);
}

.form-select {
    border: 2px solid #d1d5db;
    background: linear-gradient(to bottom, #f8f9fa 0%, #ffffff 100%);
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%230a2c4e' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 12px;
    padding-right: 40px;
}

.form-textarea {
    border: 2px solid #d1d5db;
    background: linear-gradient(to bottom, #f8f9fa 0%, #ffffff 100%);
    min-height: 150px;
    resize: vertical;
    line-height: 1.5;
}

/* Hover states */
.form-input:hover,
.form-select:hover,
.form-textarea:hover {
    border-color: #b0b7c1;
    background-color: #f5f5f5;
}

/* Disabled state */
.form-input:disabled,
.form-select:disabled,
.form-textarea:disabled {
    background-color: #e9ecef;
    border-color: #ced4da;
    color: #6c757d;
    cursor: not-allowed;
}

/* Error state for inputs */
.form-input.error,
.form-select.error,
.form-textarea.error {
    border-color: var(--accent);
    background-color: rgba(200, 16, 46, 0.05);
}

/* Valid state for inputs */
.form-input.valid,
.form-select.valid,
.form-textarea.valid {
    border-color: #28a745;
    background-color: rgba(40, 167, 69, 0.05);
}

/* Submit Button */
.btn.primary {
    background-color: rgb(8, 8, 36);
    color: var(--white);
    border: 2px solid var(--secondary);
    padding: 16px 32px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    border-radius: var(--border-radius);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-top: 10px;
}

.btn.primary:hover {
    background-color: #d49400;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(230, 163, 0, 0.3);
}

.btn.primary:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(230, 163, 0, 0.3);
}

.btn.primary:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn.primary i {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

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

/* Responsive adjustments for form */
@media (max-width: 768px) {
    .contact-form-container {
        padding: 25px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .form-input,
    .form-select,
    .form-textarea {
        padding: 12px 14px;
        font-size: 0.95rem;
    }
    
    .btn.primary {
        padding: 14px 24px;
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .contact-form-container {
        padding: 20px;
        border-width: 1px;
    }
    
    .form-header h2 {
        font-size: 1.8rem;
    }
    
    .form-label {
        font-size: 0.9rem;
    }
    
    .form-input,
    .form-select,
    .form-textarea {
        padding: 10px 12px;
        font-size: 0.9rem;
    }
    
    .form-textarea {
        min-height: 120px;
    }
}

/* Form validation styles */
.form-group {
    position: relative;
}

.form-group .error-message {
    color: var(--accent);
    font-size: 0.85rem;
    margin-top: 5px;
    font-family: 'Open Sans', sans-serif;
    display: none;
}

.form-group.error .error-message {
    display: block;
}

/* Form success animation */
@keyframes formSuccess {
    0% {
        transform: scale(0.95);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.contact-form.success {
    animation: formSuccess 0.5s ease-out;
}

/* Loading spinner for submit button */
.btn.primary .spinner {
    display: none;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: var(--white);
    animation: spin 1s ease-in-out infinite;
}

.btn.primary.loading .spinner {
    display: inline-block;
}

.btn.primary.loading .button-text {
    display: none;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}
/* ===== RESPONSIVE FIXES ===== */
* { box-sizing: border-box; }

header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 999;
  background: #000;
}

body { padding-top: 90px; }

.logo {
  position: relative;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.hamburger span {
  height: 3px;
  width: 25px;
  background: #fff;
  margin: 4px 0;
}

nav ul.open { display: flex; }

@media (max-width: 768px) {
  .hamburger { display: flex; }

  nav ul {
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    flex-direction: column;
    background: #000;
    display: none;
    padding: 20px 0;
  }

  nav li {
    margin: 15px 0;
    text-align: center;
  }
}

/* ===== FINAL MOBILE FIX ===== */
html, body {
  width: 100%;
  overflow-x: hidden;
}

header, nav {
  width: 100%;
  max-width: 100vw;
}

section, .container, .wrapper {
  max-width: 100%;
  overflow-x: hidden;
}

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

@media (max-width: 480px) {
  body {
    overflow-x: hidden;
  }

  nav ul {
    right: 0;
    left: 0;
    margin: 0;
  }
}
