/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    background: 
        radial-gradient(circle at 85% 10%, rgba(203, 189, 141, 0.02) 0%, transparent 50%),
        radial-gradient(circle at 15% 90%, rgba(1, 32, 49, 0.02) 0%, transparent 50%);
    background-attachment: fixed;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Color Variables */
:root {
    --primary-color: #012031;
    --accent-color: #cbbd8d;
    --text-dark: #333;
    --text-light: #666;
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --border-color: #e9ecef;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3rem;
    font-weight: 700;
}

h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
}

h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
}

p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

/* Enhanced Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1.05rem;
    letter-spacing: 0.01em;
    text-align: center;
    min-width: 160px;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    box-shadow: 0 4px 12px rgba(1, 32, 49, 0.3);
    border: 2px solid var(--primary-color);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover {
    background-color: #001a28;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(1, 32, 49, 0.4);
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-secondary,
.btn-secondary[disabled] {
    color: var(--accent-color) !important;
    background-color: transparent !important;
    border: 2px solid var(--accent-color) !important;
    cursor: pointer;
    opacity: 1 !important;
    filter: none !important;
    box-shadow: none !important;

}

.btn-secondary:hover,
.btn-secondary:focus {
    color: #000 !important;
    background-color: var(--accent-color) !important;
    border-color: var(--accent-color) !important;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: var(--primary-color);
    padding: 1rem 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-link {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    font-family: 'Georgia', serif;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

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

.nav-link:focus {
    outline: none;
    box-shadow: none;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    position: absolute;
    right: 20px;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--white);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section - Enhanced Design */
.hero {
    background: linear-gradient(135deg, rgba(1, 32, 49, 0.85) 0%, rgba(0, 26, 40, 0.9) 100%), url('images/Top background.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--white);
    padding: 120px 0 80px;
    text-align: center;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(203, 189, 141, 0.1) 0%, transparent 70%);
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(1, 32, 49, 0.3) 100%);
    z-index: 1;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 10;
}

.hero h1 {
    margin-bottom: 1.5rem;
    color: var(--white);
    font-weight: 700;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transform: translateY(30px);
    font-size: 4.0rem; /* Bigger header */
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transform: translateY(30px);
}

.hero-description {
    font-size: 1.15rem;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transform: translateY(30px);
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(30px);
}

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

/* Scroll animation class */
.animate-in {
    opacity: 1 !important;
    transform: translateY(0) !important;
}



/* Sections */
section {
    padding: 80px 0;
    position: relative;
}

/* Subtle section dividers */
section:not(.hero):not(.footer)::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
    opacity: 0.6;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Services Section */
.services {
    background-color: var(--light-gray);
}

.services h2 {
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    border: 2px solid var(--accent-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 15px;
    right: 15px;
    width: 8px;
    height: 8px;
    background: var(--accent-color);
    border-radius: 50%;
    opacity: 0.3;
    transition: opacity 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(203, 189, 141, 0.4);
}

.service-card:hover::before {
    opacity: 0.8;
}

.service-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.service-card p {
    margin-bottom: 0;
    line-height: 1.6;
    color: var(--text-light);
}

/* About Section */
.about {
    background-color: var(--white);
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    margin-bottom: 2rem;
}

.about-text p {
    margin-bottom: 1rem;
}

.about-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.highlight {
    text-align: center;
    padding: 1.5rem;
    background-color: var(--light-gray);
    border-radius: 8px;
}

.highlight h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.about-image {
    text-align: center;
}

.about-logo {
    max-width: 200px;
    height: auto;
    border-radius: 10px;
}

/* Portfolio Section */
.portfolio {
    background-color: var(--light-gray);
}

/* Portfolio Hero Section */
.portfolio-hero {
    background: linear-gradient(135deg, rgba(1, 32, 49, 0.9) 0%, rgba(0, 26, 40, 0.9) 100%);
    color: var(--white);
    padding: 120px 0 80px;
    text-align: center;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.portfolio-hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.portfolio-hero h1 {
    margin-bottom: 1rem;
    color: var(--white);
    opacity: 0;
    transform: translateY(30px);
}

.portfolio-hero .hero-subtitle {
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
    font-weight: 500;
    opacity: 0;
    transform: translateY(30px);
}

.portfolio-hero .hero-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: #ccc;
    opacity: 0;
    transform: translateY(30px);
}

.portfolio-hero .hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(30px);
}

.portfolio h2 {
    text-align: center;
    margin-bottom: 1rem;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.portfolio-item {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.portfolio-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-color), rgba(203, 189, 141, 0.3));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.portfolio-item:hover::after {
    opacity: 1;
}

.portfolio-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    border-radius: 12px; /* Rounded edges */
    border: 2px solid var(--accent-color); /* Accent outline */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    transition: all 0.3s ease-in-out;
    will-change: transform, box-shadow;
}

.portfolio-image:hover {
    transform: scale(1.02); /* Slight scale on hover */
    box-shadow: 0 8px 20px rgba(203, 189, 141, 0.3), 0 0 0 2px var(--accent-color); /* Glow effect */
    border-color: var(--accent-color);
}

.portfolio-placeholder {
    height: 250px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #f8f9fa;
    color: var(--text-light);
    text-align: center;
    padding: 2rem;
}

.portfolio-placeholder p {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.portfolio-placeholder small {
    color: #999;
}

.portfolio-cta {
    text-align: center;
    margin-top: 2rem;
}

.btn-see-more {
    background-color: var(--accent-color);
    color: var(--primary-color);
    border: 2px solid var(--accent-color);
    font-weight: 600;
    padding: 14px 32px;
    font-size: 1.1rem;
}

.btn-see-more:hover {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(1, 32, 49, 0.3);
}

/* Portfolio Gallery Section */
.portfolio-gallery {
    padding: 80px 0;
    background-color: var(--light-gray);
}



.portfolio-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    contain: layout style paint; /* Performance optimization */
}

.portfolio-gallery-item {
    min-height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    contain: layout style; /* Performance optimization */
}

.portfolio-gallery-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    opacity: 1;
    transition: all 0.3s ease-in-out;
    will-change: opacity, transform, box-shadow;
    transform: translateZ(0); /* Hardware acceleration */
    backface-visibility: hidden; /* Performance optimization */
    border-radius: 12px; /* Rounded edges */
    border: 2px solid var(--accent-color); /* Accent outline */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow */
}

.portfolio-gallery-image:hover {
    transform: translateZ(0) scale(1.02); /* Slight scale on hover */
    box-shadow: 0 8px 20px rgba(203, 189, 141, 0.3), 0 0 0 2px var(--accent-color); /* Glow effect */
    border-color: var(--accent-color);
}

/* Quote Hero Section */
.quote-hero {
    background: linear-gradient(135deg, rgba(1, 32, 49, 0.9) 0%, rgba(0, 26, 40, 0.9) 100%);
    color: var(--white);
    padding: 120px 0 60px;
    text-align: center;
}

.quote-hero-content {
    max-width: 600px;
    margin: 0 auto;
    padding: 0 20px;
}

.quote-hero h1 {
    margin-bottom: 1rem;
    color: var(--white);
    opacity: 0;
    transform: translateY(30px);
}

.quote-hero .hero-subtitle {
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
    font-weight: 500;
    opacity: 0;
    transform: translateY(30px);
}

.quote-hero .hero-description {
    font-size: 1.1rem;
    margin-bottom: 0;
    color: #ccc;
    opacity: 0;
    transform: translateY(30px);
}

/* Quote Form Section */
.quote-form-section {
    padding: 80px 0;
    background-color: var(--light-gray);
}

.quote-form-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    max-width: 1000px;
    margin: 0 auto;
}

.quote-form {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: translateY(25px);
}

.form-group {
    margin-bottom: 1.5rem;
    opacity: 0;
    transform: translateY(25px);
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--border-color);
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
}

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

.form-actions {
    text-align: center;
    margin-top: 2rem;
}

.quote-contact-info {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    opacity: 0;
    transform: translateY(25px);
}

.quote-contact-info h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.quote-contact-info p {
    margin-bottom: 1.5rem;
}

.contact-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-option {
    display: block;
    padding: 1rem;
    background-color: var(--light-gray);
    border-radius: 5px;
    text-decoration: none;
    color: var(--text-dark);
    transition: background-color 0.3s ease;
}

.contact-option:hover {
    background-color: var(--accent-color);
    color: var(--primary-color);
}

.contact-option strong {
    color: var(--primary-color);
}

/* Contact Section */
.contact {
    background-color: var(--white);
}

.contact h2 {
    text-align: center;
    margin-bottom: 1rem;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background-color: var(--light-gray);
    border-radius: 8px;
}

.contact-icon {
    min-width: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-icon svg {
    width: 24px;
    height: 24px;
}

.contact-details h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.contact-details a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-details a:hover {
    color: var(--primary-color);
}

.contact-cta {
    text-align: center;
    padding: 2rem;
    background-color: var(--light-gray);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-cta h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.contact-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

/* Fix for contact section buttons - make secondary button solid */
.contact-buttons .btn-secondary {
    background-color: var(--accent-color);
    color: var(--primary-color);
    border: 2px solid var(--accent-color);
    backdrop-filter: none;
}

.contact-buttons .btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(1, 32, 49, 0.3);
}

/* Footer */
.footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 3rem 0 1rem;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
    opacity: 0.5;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo-img {
    height: 60px;
    width: auto;
    margin-bottom: 1rem;
}

.footer-logo p {
    color: #ccc;
}

.footer-links h4,
.footer-contact h4 {
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.footer-links-grid {
    display: flex;
    gap: 2rem;
}

.footer-links-column {
    flex: 1;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-color);
}

.footer-contact p {
    color: #ccc;
    margin-bottom: 0.5rem;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 1rem;
    text-align: center;
}

.footer-bottom p {
    color: #999;
    margin: 0;
}

/* Modern, visible scrollbar for all scrollable areas */
::-webkit-scrollbar {
    width: 10px;
    background: #f8f9fa;
}
::-webkit-scrollbar-thumb {
    background: var(--accent-color);
    border-radius: 8px;
}
::-webkit-scrollbar-thumb:hover {
    background: #b3a46e;
}

/* For Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--accent-color) #f8f9fa;
}

/* Ensure scroll-behavior is smooth everywhere */
html {
  scroll-behavior: smooth;
}

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

.portfolio-hero h1,
.portfolio-hero .hero-subtitle,
.portfolio-hero .hero-description,
.portfolio-hero .hero-buttons {
    opacity: 1;
    transform: translateY(0);
    animation: fadeInUp 0.6s cubic-bezier(0.4,0,0.2,1) forwards;
}

.portfolio-gallery-image {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.5s cubic-bezier(0.4,0,0.2,1), transform 0.5s cubic-bezier(0.4,0,0.2,1);
    will-change: opacity, transform;
}

.gallery-pagination {
    text-align: center;
    margin: 2rem 0;
    padding: 1rem 0;
}

.gallery-pagination .btn {
    margin: 0 0.5rem;
    min-width: 120px;
}

.gallery-pagination span {
    display: inline-block;
    margin: 0 1rem;
    font-weight: 500;
    color: var(--text-secondary);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
    }
    
    .portfolio-gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
    }
    
    .hero-content {
        max-width: 700px;
        padding: 0 30px;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
        position: absolute;
        right: 20px;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--primary-color);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.15);
        padding: 2rem 0;
        z-index: 999;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 1.2rem 0;
    }
    
    .nav-link {
        font-size: 1.1rem;
        padding: 0.5rem 1rem;
    }

    /* Enhanced Hero for Mobile */
    .hero {
        padding: 100px 0 60px;
        min-height: 90vh;
        background-attachment: scroll; /* Better mobile performance */
    }
    
    /* Simplify graphics on mobile for performance */
    body {
        background-attachment: scroll;
    }
    
    .hero-content {
        max-width: 100%;
        padding: 0 25px;
    }

    h1 {
        font-size: 2.8rem;
        line-height: 1.1;
    }

    h2 {
        font-size: 2.2rem;
        line-height: 1.2;
    }
    
    h3 {
        font-size: 1.4rem;
    }

    .hero-subtitle {
        font-size: 1.4rem;
        margin-bottom: 1.5rem;
        line-height: 1.3;
    }
    
    .hero-description {
        font-size: 1rem;
        line-height: 1.5;
        margin-bottom: 2.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1.2rem;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
        padding: 15px 30px;
        font-size: 1.1rem;
    }

    /* Layout Adjustments */
    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 2rem;
    }
    
    .service-card {
        padding: 1.8rem;
        text-align: center;
    }
    
    .quote-form_container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .quote-form,
    .quote-contact-info {
        padding: 2rem;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .portfolio-gallery-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .portfolio-gallery-image {
        height: 250px;
    }

    .about-highlights {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    /* Form Improvements */
    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    .contact-item {
        padding: 1.5rem;
        text-align: center;
    }
    

}

@media (max-width: 480px) {
    .hamburger {
        display: flex;
        position: absolute;
        right: 20px;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--primary-color);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.15);
        padding: 2rem 0;
        z-index: 999;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 1.2rem 0;
    }
    
    .nav-link {
        font-size: 1.1rem;
        padding: 0.5rem 1rem;
    }

    /* Enhanced Hero for Mobile */
    .hero {
        padding: 100px 0 60px;
        min-height: 90vh;
        background-attachment: scroll; /* Better mobile performance */
    }
    
    /* Simplify graphics on mobile for performance */
    body {
        background-attachment: scroll;
    }
    
    .hero-content {
        max-width: 100%;
        padding: 0 25px;
    }

    h1 {
        font-size: 2.8rem;
        line-height: 1.1;
    }

    h2 {
        font-size: 2.2rem;
        line-height: 1.2;
    }
    
    h3 {
        font-size: 1.4rem;
    }

    .hero-subtitle {
        font-size: 1.4rem;
        margin-bottom: 1.5rem;
        line-height: 1.3;
    }
    
    .hero-description {
        font-size: 1rem;
        line-height: 1.5;
        margin-bottom: 2.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1.2rem;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
        padding: 15px 30px;
        font-size: 1.1rem;
    }

    /* Layout Adjustments */
    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 2rem;
    }
    
    .service-card {
        padding: 1.8rem;
        text-align: center;
    }
    
    .quote-form_container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .quote-form,
    .quote-contact-info {
        padding: 2rem;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .portfolio-gallery-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .portfolio-gallery-image {
        height: 250px;
    }

    .about-highlights {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    /* Form Improvements */
    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    .contact-item {
        padding: 1.5rem;
        text-align: center;
    }
}

@media (max-width: 320px) {
    .hero {
        padding: 70px 0 40px;
        min-height: 80vh;
    }
    
    .hero-content {
        padding: 0 15px;
    }
    
    h1 {
        font-size: 2.1rem;
        line-height: 1;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }
    
    .hero-description {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-buttons .btn {
        padding: 12px 20px;
        font-size: 0.95rem;
        min-width: 140px;
    }
    
    .nav-menu {
        padding: 1rem 0;
    }
    
    .service-card,
    .quote-form,
    .quote-contact-info {
        padding: 1.2rem;
    }
    
    .container {
        padding: 0 12px;
    }
}

/* Focus States for Accessibility */
.btn:focus,
.contact-details a:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}
