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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Helvetica', 'Madefor Text', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #3B3A3A;
    background-color: #FFFFFF;
    overflow-x: hidden;
}

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

/* Skip to Content Button */
.skip-to-content {
    position: absolute;
    top: -40px;
    left: 6px;
    background: #000;
    color: #fff;
    padding: 8px;
    text-decoration: none;
    border-radius: 4px;
    z-index: 10000;
}

.skip-to-content:focus {
    top: 6px;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.nav-brand .logo {
    height: 100px;
    width: auto;
}

/* Navigation Styles */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: #3B3A3A;
    font-weight: 500;
    font-size: 25px;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #B5B969;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #B5B969;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Contact Button */
.contact-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: #B5B969;
    text-decoration: none;
    padding: 12px 24px;
    border: 1px solid #B5B969;
    border-radius: 25px;
    font-weight: 500;
    font-size: 16px;
    letter-spacing: 0.7em;
    transition: all 0.3s ease;
}

.contact-btn:hover {
    background: #B5B969;
    color: #3B3A3A;
    transform: translateY(-2px);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: #3B3A3A;
    margin: 3px 0;
    transition: 0.3s;
}

/* Mobile Navigation */
.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #1a1a2e;
    backdrop-filter: blur(10px);
    z-index: 2000;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
}

.mobile-nav.active {
    transform: translateX(0);
}

.mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-logo {
    height: 48px;
    width: auto;
}

.mobile-nav-close {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    cursor: pointer;
    padding: 10px;
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-nav-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.mobile-nav-menu {
    list-style: none;
    padding: 2rem 1.5rem;
}

.mobile-nav-link {
    display: block;
    padding: 1.2rem 1rem;
    color: white;
    text-decoration: none;
    font-size: 20px;
    font-weight: 500;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.mobile-nav-link:hover {
    color: #B5B969;
    background: rgba(181, 185, 105, 0.1);
    padding-left: 1.5rem;
}

.phone-link {
    color: #B5B969 !important;
    font-weight: 700;
    font-size: 22px;
    margin-top: 1rem;
    background: rgba(181, 185, 105, 0.15) !important;
    border-radius: 10px;
    text-align: center;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(59, 58, 58, 0.8) 0%, rgba(181, 185, 105, 0.6) 100%);
}

.hero-content {
    text-align: center;
    color: #FFFFFF;
    z-index: 1;
    padding: 2rem;
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    margin-bottom: 2rem;
    font-weight: 300;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.4s both;
}

/* Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    padding: 15px 30px;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    border-radius: 25px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: #B5B969;
    color: #3B3A3A;
}

.btn-primary:hover {
    background: #979A4F;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(181, 185, 105, 0.3);
}

.btn-secondary {
    background: transparent;
    color: #FFFFFF;
    border: 2px solid #FFFFFF;
}

.btn-secondary:hover {
    background: #FFFFFF;
    color: #3B3A3A;
    transform: translateY(-2px);
}

/* Section Styles */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    color: #3B3A3A;
    margin-bottom: 1rem;
}

.section-divider {
    width: 60px;
    height: 3px;
    background: #B5B969;
    margin: 0 auto;
}

/* Why Choose Us Section */
.why-choose {
    background: #F8F9FA;
}

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

.why-choose-item {
    text-align: center;
    padding: 2rem;
    background: #FFFFFF;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.why-choose-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.why-choose-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: #B5B969;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
}

.why-choose-item h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #3B3A3A;
}

.why-choose-item p {
    color: #666;
    line-height: 1.6;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-item {
    background: #FFFFFF;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.service-image {
    height: 250px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0;
}

.service-image img[src] {
    opacity: 1;
}

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

.service-content {
    padding: 2rem;
}

.service-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #3B3A3A;
}

.service-content p {
    color: #666;
    line-height: 1.6;
}

/* Projects Section */
.projects {
    background: #F8F9FA;
}

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

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

.project-item:hover {
    transform: translateY(-5px);
}

.project-image {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0;
}

.project-image img[src] {
    opacity: 1;
}

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

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 30%, rgba(26, 26, 46, 0.95) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.project-overlay h3 {
    color: #FFFFFF;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.project-overlay p {
    color: #E0E0E0;
    font-size: 0.95rem;
    line-height: 1.4;
}

.project-title {
    text-align: center;
    padding: 12px 10px;
    font-size: 1rem;
    font-weight: 600;
    color: #1a1a2e;
    background: #B5B969;
}

.project-item {
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* Contact Section */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #3B3A3A;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-item svg {
    color: #B5B969;
    flex-shrink: 0;
}

.contact-item a,
.contact-item span {
    color: #3B3A3A;
    text-decoration: none;
    font-size: 1.1rem;
}

.contact-item a:hover {
    color: #B5B969;
}

/* Contact Form */
.contact-form {
    background: #F8F9FA;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #3B3A3A;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

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

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

/* Footer */
.footer {
    background: #3B3A3A;
    color: #FFFFFF;
    padding: 3rem 0 1rem;
}

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

.footer-brand {
    text-align: center;
}

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

.footer-brand p {
    color: #ccc;
    line-height: 1.6;
}

.footer-links h4,
.footer-contact h4 {
    color: #B5B969;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.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: #B5B969;
}

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

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

.footer-contact a:hover {
    color: #F1F78C;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #555;
    color: #ccc;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .desktop-nav {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .mobile-nav {
        display: block;
    }
    
    .contact-btn {
        display: none;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 200px;
        justify-content: center;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .why-choose-grid,
    .services-grid,
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    section {
        padding: 60px 0;
    }
    
    .section-header {
        margin-bottom: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

/* Focus and Accessibility */
:focus {
    outline: 2px solid #B5B969;
    outline-offset: 2px;
}

/* FAQ Section */
.faq {
    padding: 80px 0;
    background: #F8F9FA;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: #FFFFFF;
    border-radius: 10px;
    margin-bottom: 1rem;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.faq-question {
    width: 100%;
    padding: 1.5rem;
    background: none;
    border: none;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    color: #3B3A3A;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: #F8F9FA;
}

.faq-question:focus {
    outline: 2px solid #B5B969;
    outline-offset: -2px;
}

.faq-icon {
    transition: transform 0.3s ease;
    color: #B5B969;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 0 1.5rem 1.5rem;
}

.faq-answer p {
    color: #666;
    line-height: 1.6;
}

/* Form Row Layout */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

/* Form Select */
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    font-family: inherit;
    background: white;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.form-group select:focus {
    outline: none;
    border-color: #B5B969;
}

/* Footer Legal and Social */
.footer-legal {
    margin-bottom: 2rem;
}

.footer-legal h4 {
    margin-bottom: 1rem;
    color: #F1F78C;
}

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

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

.footer-legal ul li a {
    color: #FFFFFF;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-legal ul li a:hover {
    color: #F1F78C;
}

.social-links {
    margin-top: 1.5rem;
}

.social-links h4 {
    margin-bottom: 1rem;
    color: #F1F78C;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #FFFFFF;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background: #B5B969;
    transform: translateY(-2px);
}

/* Comprehensive Solutions Section */
.comprehensive-solutions {
    padding: 80px 0;
    background: #F8F9FA;
}

.solutions-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.solutions-intro p {
    font-size: 18px;
    color: #666;
    line-height: 1.6;
}

/* Call Us Section */
.call-us {
    padding: 60px 0;
    background: #FFFFFF;
    text-align: center;
}

.call-us-content h3 {
    font-size: 32px;
    color: #3B3A3A;
    margin-bottom: 1rem;
}

.call-us-content p {
    font-size: 18px;
    color: #666;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Email Us Section */
.email-us {
    padding: 60px 0;
    background: #F8F9FA;
    text-align: center;
}

.email-us-content h3 {
    font-size: 32px;
    color: #3B3A3A;
    margin-bottom: 1rem;
}

.email-us-content p {
    font-size: 18px;
    color: #666;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Inquiries Section */
.inquiries {
    padding: 60px 0;
    background: #FFFFFF;
}

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

.inquiries-content h3 {
    font-size: 32px;
    color: #3B3A3A;
    margin-bottom: 1rem;
}

.inquiries-content p {
    font-size: 18px;
    color: #666;
    margin-bottom: 2rem;
}

.inquiries-info {
    background: #F8F9FA;
    padding: 2rem;
    border-radius: 10px;
    text-align: left;
}

.inquiries-info p {
    margin-bottom: 1rem;
    color: #3B3A3A;
}

.inquiries-info a {
    color: #B5B969;
    text-decoration: none;
    font-weight: 500;
}

.inquiries-info a:hover {
    text-decoration: underline;
}

/* Enhanced Projects Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

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

.project-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.project-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

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

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

.project-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(26, 26, 46, 0.95), transparent);
    color: white;
    padding: 2rem 1.5rem 1.5rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.project-item:hover .project-overlay {
    transform: translateY(0);
}

.project-overlay h3 {
    font-size: 18px;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.project-overlay p {
    font-size: 14px;
    opacity: 0.95;
    line-height: 1.4;
}

/* Print Styles */
@media print {
    .header,
    .mobile-nav,
    .hero,
    .contact-form,
    .faq,
    .call-us,
    .email-us,
    .inquiries,
    .gallery-modal {
        display: none;
    }
    
    section {
        padding: 20px 0;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
}

/* Project Gallery Modal Styles */
.project-gallery-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-gallery-modal.active {
    display: block;
    opacity: 1;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
}

.gallery-container {
    position: relative;
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
}

.gallery-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10025;
    color: white;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    opacity: 0;
}

.gallery-container:hover .gallery-close {
    opacity: 1;
}

.gallery-close:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: scale(1.1);
}

.gallery-close:active {
    transform: scale(0.95);
}

.gallery-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.gallery-header {
    text-align: center;
    color: white;
    position: absolute;
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10025;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-container:hover .gallery-header {
    opacity: 1;
}

.gallery-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.gallery-description {
    font-size: 1.1rem;
    opacity: 0.9;
}

.gallery-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.gallery-main {
    flex: 1;
    position: relative;
    background: transparent;
    min-height: 0;
}

.gallery-image-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
    z-index: 1;
}

#gallery-main-image {
    width: auto;
    height: auto;
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 1;
}

/* Random transition effects */
#gallery-main-image.fade-transition {
    animation: fadeInOut 0.8s ease-in-out;
}

#gallery-main-image.slide-transition {
    animation: slideInRandom 1s ease-in-out;
}

#gallery-main-image.zoom-transition {
    animation: zoomRandom 1.2s ease-in-out;
}

#gallery-main-image.rotate-transition {
    animation: rotateRandom 1.5s ease-in-out;
}

#gallery-main-image.flip-transition {
    animation: flipRandom 1s ease-in-out;
}

@keyframes fadeInOut {
    0% { opacity: 0; transform: scale(0.9); }
    50% { opacity: 1; transform: scale(1.05); }
    100% { opacity: 1; transform: scale(1); }
}

@keyframes slideInRandom {
    0% { opacity: 0; transform: translateX(var(--random-x, -50px)) translateY(var(--random-y, 30px)) scale(0.8); }
    50% { opacity: 1; transform: translateX(0) translateY(0) scale(1.1); }
    100% { opacity: 1; transform: translateX(0) translateY(0) scale(1); }
}

@keyframes zoomRandom {
    0% { opacity: 0; transform: scale(0.3) rotate(var(--random-rotate, 0deg)); }
    50% { opacity: 1; transform: scale(1.2) rotate(var(--random-rotate, 5deg)); }
    100% { opacity: 1; transform: scale(1) rotate(0deg); }
}

@keyframes rotateRandom {
    0% { opacity: 0; transform: scale(0.5) rotateY(0deg) rotateX(var(--random-x-rotate, 0deg)); }
    50% { opacity: 1; transform: scale(1.1) rotateY(180deg) rotateX(var(--random-x-rotate, 10deg)); }
    100% { opacity: 1; transform: scale(1) rotateY(360deg) rotateX(0deg); }
}

@keyframes flipRandom {
    0% { opacity: 0; transform: perspective(1000px) rotateX(var(--random-flip, 90deg)) scale(0.7); }
    50% { opacity: 1; transform: perspective(1000px) rotateX(0deg) scale(1.15); }
    100% { opacity: 1; transform: perspective(1000px) rotateX(0deg) scale(1); }
}

/* Slideshow controls */
.gallery-slideshow-controls {
    position: absolute;
    top: 20px;
    left: 20px;
    display: flex;
    gap: 10px;
    z-index: 10025;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-container:hover .gallery-slideshow-controls {
    opacity: 1;
}

.slideshow-btn {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.4);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: white;
    transition: all 0.3s ease;
    font-size: 16px;
}

.slideshow-btn:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: scale(1.15);
}

.slideshow-btn:active {
    transform: scale(0.95);
}

.slideshow-btn.active {
    background: rgba(181, 185, 105, 0.6);
    border-color: #B5B969;
}

.slideshow-speed-control {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 25px;
    padding: 8px 18px;
    color: white;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
}

.slideshow-speed-control input[type="range"] {
    width: 80px;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    outline: none;
    -webkit-appearance: none;
}

.slideshow-speed-control input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 12px;
    height: 12px;
    background: white;
    border-radius: 50%;
    cursor: pointer;
}

.slideshow-speed-control input[type="range"]::-moz-range-thumb {
    width: 12px;
    height: 12px;
    background: white;
    border-radius: 50%;
    cursor: pointer;
    border: none;
}

.gallery-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: none;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top: 3px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

.gallery-info-overlay {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 10025;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-container:hover .gallery-info-overlay {
    opacity: 1;
}

.gallery-counter {
    color: white;
    font-size: 0.9rem;
    font-weight: 500;
}

.gallery-progress {
    width: 150px;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    overflow: hidden;
}

.gallery-progress-bar {
    height: 100%;
    background: white;
    border-radius: 2px;
    transition: width 0.3s ease;
}

.gallery-footer {
    margin-top: 20px;
    text-align: center;
}

.gallery-message {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

/* Empty state for gallery */
.gallery-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    padding: 40px;
}

.gallery-empty-state svg {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    opacity: 0.5;
}

.gallery-empty-state h4 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.gallery-empty-state p {
    font-size: 1rem;
    line-height: 1.6;
}

/* Responsive Gallery */
@media (max-width: 768px) {
    .gallery-container {
        padding: 10px;
    }
    
    .gallery-close {
        top: 10px;
        right: 10px;
        width: 50px;
        height: 50px;
        background: rgba(255, 255, 255, 0.3);
    }
    
    .gallery-title {
        font-size: 1.3rem;
        margin-top: 60px;
    }
    
    .gallery-description {
        font-size: 0.85rem;
    }
    
    .gallery-slideshow-controls {
        flex-wrap: wrap;
        gap: 8px;
        left: 10px;
        top: 70px;
    }
    
    .slideshow-btn {
        width: 50px;
        height: 50px;
    }
    
    .slideshow-speed-control {
        width: 100%;
        justify-content: center;
        margin-top: 5px;
        padding: 10px 15px;
    }
    
    .gallery-info-overlay {
        bottom: 10px;
        padding: 12px 18px;
        min-width: 180px;
    }
    
    .gallery-counter {
        font-size: 1rem;
    }
    
    .gallery-progress {
        width: 120px;
    }
}

@media (max-width: 480px) {
    .gallery-header {
        margin-bottom: 15px;
    }
    
    .gallery-title {
        font-size: 1.1rem;
        margin-top: 80px;
    }
    
    .gallery-description {
        font-size: 0.75rem;
    }
    
    .gallery-close {
        width: 45px;
        height: 45px;
    }
}
}

/* Gallery Modal Styles */
.gallery-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* Dynamic Image Effects */
@keyframes imageEntrance {
    0% {
        opacity: 0;
        transform: scale(0.8) rotateX(10deg) translateY(20px);
        filter: blur(10px);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.05) rotateX(0deg) translateY(-5px);
        filter: blur(2px);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotateX(0deg) translateY(0px);
        filter: blur(0px);
    }
}

@keyframes imageFloat {
    0%, 100% {
        transform: translateY(0px) scale(1);
    }
    25% {
        transform: translateY(-8px) scale(1.02);
    }
    75% {
        transform: translateY(4px) scale(0.98);
    }
}

@keyframes imagePulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.9;
    }
}

@keyframes imageGlow {
    0%, 100% {
        filter: brightness(1) drop-shadow(0 0 20px rgba(181, 185, 105, 0.3));
        transform: scale(1);
    }
    50% {
        filter: brightness(1.2) drop-shadow(0 0 30px rgba(181, 185, 105, 0.6));
        transform: scale(1.02);
    }
}

@keyframes imageShake {
    0%, 100% {
        transform: translateX(0px) scale(1);
    }
    10%, 30%, 50%, 70%, 90% {
        transform: translateX(-2px) scale(1.01);
    }
    20%, 40%, 60%, 80% {
        transform: translateX(2px) scale(0.99);
    }
}

@keyframes imageZoom {
    0%, 100% {
        transform: scale(1) rotate(0deg);
        border-radius: 8px;
    }
    25% {
        transform: scale(1.1) rotate(1deg);
        border-radius: 12px;
    }
    75% {
        transform: scale(0.95) rotate(-1deg);
        border-radius: 6px;
    }
}

.imageFloat {
    animation: imageFloat 3s ease-in-out infinite;
}

.imagePulse {
    animation: imagePulse 2s ease-in-out infinite;
}

.imageGlow {
    animation: imageGlow 2.5s ease-in-out infinite;
}

.imageShake {
    animation: imageShake 0.5s ease-in-out infinite;
}

.imageZoom {
    animation: imageZoom 3s ease-in-out infinite;
}

.gallery-modal.active {
    opacity: 1;
    visibility: visible;
}

.gallery-content {
    position: relative;
    width: 90%;
    max-width: 1200px;
    height: 85vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.gallery-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: white;
    transition: background 0.3s ease, transform 0.2s ease;
    z-index: 10;
}

.gallery-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.gallery-close svg {
    width: 24px;
    height: 24px;
}

.gallery-image-container {
    flex: 1;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.gallery-image-container img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.gallery-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.gallery-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: white;
    transition: all 0.3s ease;
}

.gallery-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.gallery-btn:active {
    transform: scale(0.95);
}

.gallery-btn svg {
    width: 24px;
    height: 24px;
}

.gallery-play-pause {
    position: relative;
    width: 60px;
    height: 60px;
}

.gallery-info {
    text-align: center;
    color: white;
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
}

.gallery-info h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 8px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.gallery-info p {
    font-size: 1rem;
    opacity: 0.9;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* Enhanced Project Item Styles */
.project-item {
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.project-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.project-item[data-has-no-images="true"] {
    opacity: 0.6;
    cursor: not-allowed;
}

.project-item[data-has-no-images="true"]:hover {
    transform: none;
    box-shadow: none;
}

.image-indicator {
    margin-top: 10px;
    padding: 8px 12px;
    background: rgba(181, 185, 105, 0.2);
    border-radius: 20px;
    font-size: 12px;
    color: white;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.loading-text {
    display: inline-block;
    animation: loadingPulse 1.5s ease-in-out infinite;
}

@keyframes loadingPulse {
    0%, 100% {
        opacity: 0.6;
    }
    50% {
        opacity: 1;
    }
}

.image-count {
    font-weight: 600;
    color: #B5B969;
}

/* Enhanced Gallery Image Container */
.gallery-image-container {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    perspective: 1000px;
}

.gallery-image-container img {
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 12px;
}

.gallery-image-container img.imageFloat {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.gallery-image-container img.imageGlow {
    box-shadow: 0 20px 80px rgba(181, 185, 105, 0.3);
}

.gallery-image-container img.imageZoom {
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.5);
}

/* Project item hover enhancement */
.project-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(181, 185, 105, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.project-item:hover::before {
    opacity: 1;
}

.project-overlay {
    position: relative;
    z-index: 2;
}

/* Mobile Responsive Gallery */
@media (max-width: 768px) {
    .gallery-content {
        width: 95%;
        height: 90vh;
    }
    
    .gallery-controls {
        gap: 15px;
    }
    
    .gallery-btn {
        width: 50px;
        height: 50px;
    }
    
    .gallery-btn svg {
        width: 20px;
        height: 20px;
    }
    
    .gallery-close {
        width: 40px;
        height: 40px;
        top: 15px;
        right: 15px;
    }
    
    .gallery-close svg {
        width: 20px;
        height: 20px;
    }
    
    .gallery-info {
        bottom: 20px;
        padding: 0 20px;
    }
    
    .gallery-info h3 {
        font-size: 1.2rem;
    }
    
    .gallery-info p {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .gallery-controls {
        gap: 10px;
    }
    
    .gallery-btn {
        width: 45px;
        height: 45px;
    }
    
    .gallery-btn svg {
        width: 18px;
        height: 18px;
    }
    
    .gallery-info h3 {
        font-size: 1rem;
    }
    
    .gallery-info p {
        font-size: 0.8rem;
    }
}

/* Testimonials Section */
.testimonials {
    background: #FFFFFF;
    padding: 100px 0;
}

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

.testimonial-card {
    background: #F8F9FA;
    border-radius: 16px;
    padding: 2.5rem;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: #B5B969;
    transform: scaleY(0);
    transition: transform 0.4s ease;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.testimonial-card:hover::before {
    transform: scaleY(1);
}

.testimonial-rating {
    display: flex;
    gap: 4px;
    margin-bottom: 1.5rem;
}

.testimonial-rating svg {
    transition: transform 0.3s ease;
}

.testimonial-card:hover .testimonial-rating svg {
    transform: scale(1.1);
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    font-style: italic;
    margin-bottom: 2rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-avatar {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #B5B969 0%, #979A4F 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.2rem;
}

.testimonial-info h4 {
    font-size: 1.1rem;
    color: #3B3A3A;
    margin-bottom: 0.25rem;
}

.testimonial-info span {
    font-size: 0.9rem;
    color: #888;
}

/* Blog Section */
.blog {
    background: #F8F9FA;
    padding: 100px 0;
}

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

.blog-card {
    background: #FFFFFF;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.blog-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

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

.blog-card:hover .blog-image img {
    transform: scale(1.1);
}

.blog-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: #B5B969;
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-content {
    padding: 2rem;
}

.blog-date {
    font-size: 0.85rem;
    color: #999;
    display: block;
    margin-bottom: 0.75rem;
}

.blog-content h3 {
    font-size: 1.3rem;
    color: #3B3A3A;
    margin-bottom: 1rem;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.blog-card:hover .blog-content h3 {
    color: #B5B969;
}

.blog-content p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.blog-read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #B5B969;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.blog-read-more:hover {
    gap: 0.8rem;
    color: #979A4F;
}

.blog-read-more::after {
    content: '\2192';
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-read-more::after {
    transform: translateX(4px);
}

/* Enhanced Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    color: #3B3A3A;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #B5B969;
    border-radius: 2px;
}

.section-divider {
    display: none;
}

/* Enhanced Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 30px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background: linear-gradient(135deg, #B5B969 0%, #979A4F 100%);
    color: #FFFFFF;
    box-shadow: 0 4px 15px rgba(181, 185, 105, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(181, 185, 105, 0.5);
}

.btn-secondary {
    background: transparent;
    color: #FFFFFF;
    border: 2px solid #FFFFFF;
}

.btn-secondary:hover {
    background: #FFFFFF;
    color: #3B3A3A;
    transform: translateY(-3px);
}

/* Enhanced Services */
.service-item {
    background: #FFFFFF;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
}

.service-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.service-image {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.service-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(to top, rgba(0,0,0,0.3), transparent);
}

.service-content {
    padding: 2rem;
}

.service-content h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: #3B3A3A;
}

/* Enhanced Project Cards */
.project-item {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
}

.project-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

/* Enhanced Why Choose Us */
.why-choose-item {
    text-align: center;
    padding: 2.5rem;
    background: #FFFFFF;
    border-radius: 16px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.why-choose-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #B5B969, #979A4F);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.why-choose-item:hover::before {
    transform: scaleX(1);
}

.why-choose-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.why-choose-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #B5B969 0%, #979A4F 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    box-shadow: 0 8px 20px rgba(181, 185, 105, 0.3);
}

.why-choose-icon svg {
    width: 40px;
    height: 40px;
}

/* Enhanced Contact Form */
.contact-form {
    background: #FFFFFF;
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: #B5B969;
    box-shadow: 0 0 0 3px rgba(181, 185, 105, 0.15);
}

/* Enhanced Header */
.header {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
}

.nav-link {
    position: relative;
    font-weight: 500;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #B5B969, #979A4F);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.nav-link:hover::after {
    width: 100%;
}

/* Enhanced Hero */
.hero-overlay {
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.85) 0%, rgba(59, 58, 58, 0.7) 50%, rgba(181, 185, 105, 0.5) 100%);
}

.hero-title {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* Enhanced Footer */
.footer {
    background: linear-gradient(180deg, #2d2d2d 0%, #1a1a1a 100%);
}

.social-icons a {
    width: 44px;
    height: 44px;
}

.social-icons a:hover {
    background: #B5B969;
    transform: translateY(-4px);
}

/* Responsive Enhancements */
@media (max-width: 992px) {
    .testimonials-grid,
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .testimonials-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonial-card {
        padding: 2rem;
    }
    
    .blog-content {
        padding: 1.5rem;
    }
    
    .contact-form {
        padding: 2rem;
    }
}

/* Testimonial Form */
.testimonial-form-section {
    max-width: 700px;
    margin: 4rem auto 0;
    padding: 3rem;
    background: #FFFFFF;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.testimonial-form-section h3 {
    text-align: center;
    font-size: 1.8rem;
    color: #3B3A3A;
    margin-bottom: 0.5rem;
}

.testimonial-form-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.testimonial-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.testimonial-form .form-group {
    margin-bottom: 1.5rem;
}

.testimonial-form .form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #3B3A3A;
    font-weight: 600;
    font-size: 0.95rem;
}

.testimonial-form .form-group input,
.testimonial-form .form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background: #fafafa;
}

.testimonial-form .form-group input:focus,
.testimonial-form .form-group textarea:focus {
    outline: none;
    border-color: #B5B969;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(181, 185, 105, 0.15);
}

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

.testimonial-form .btn {
    width: 100%;
    padding: 16px;
    font-size: 1.1rem;
}

.testimonial-form .form-message {
    margin-top: 1rem;
    text-align: center;
    padding: 1rem;
    border-radius: 8px;
}

.testimonial-form .form-message.success {
    background: #d4edda;
    color: #155724;
}

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

/* Star Rating Input */
.rating-input {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 0.5rem;
}

.rating-input input {
    display: none;
}

.rating-input label {
    cursor: pointer;
    padding: 0.25rem;
    transition: transform 0.2s ease;
}

.rating-input label:hover,
.rating-input label:hover ~ label,
.rating-input input:checked ~ label {
    transform: scale(1.1);
}

.rating-input label svg {
    display: block;
    fill: none;
    stroke: #B5B969;
    stroke-width: 2;
    transition: all 0.2s ease;
}

.rating-input input:checked ~ label svg,
.rating-input label:hover svg,
.rating-input label:hover ~ label svg {
    fill: #B5B969;
}

@media (max-width: 768px) {
    .testimonial-form-section {
        padding: 2rem;
        margin: 3rem 1rem 0;
    }
    
    .testimonial-form .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .rating-input {
        justify-content: center;
    }
}

/* CTA Button */
.testimonial-cta {
    text-align: center;
    margin-top: 3rem;
}

.testimonial-cta-btn {
    padding: 18px 36px;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

/* Contact CTA */
.contact-cta {
    margin-top: 2rem;
    text-align: center;
}

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

/* Form Close Button */
.form-close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.1);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: #666;
}

.form-close-btn:hover {
    background: rgba(0, 0, 0, 0.2);
    color: #333;
    transform: rotate(90deg);
}

/* Testimonial Form Section - Position Relative */
.testimonial-form-section {
    position: relative;
}

/* Contact Form - Position Relative */
.contact-form {
    position: relative;
}

.contact-form h3 {
    margin-bottom: 1.5rem;
    text-align: center;
    font-size: 1.5rem;
    color: #3B3A3A;
}