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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', 'Noto Sans Devanagari', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

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

/* Navigation Styles */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: linear-gradient(135deg, #472705 0%, #5a3206 50%, #6b3d07 100%);
    backdrop-filter: blur(15px);
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 
        0 4px 25px rgba(71, 39, 5, 0.4),
        0 2px 10px rgba(0, 0, 0, 0.15);
    border-bottom: 2px solid rgba(234, 133, 10, 0.3);
}

.navbar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(234, 133, 10, 0.1) 25%, 
        rgba(255, 107, 53, 0.1) 50%, 
        rgba(234, 133, 10, 0.1) 75%, 
        transparent 100%);
    pointer-events: none;
}

.navbar:hover {
    box-shadow: 
        0 6px 35px rgba(71, 39, 5, 0.5),
        0 3px 15px rgba(234, 133, 10, 0.2);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 80px;
    position: relative;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    transition: transform 0.3s ease;
}

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

.nav-logo img {

  width: 60px;
    height: 60px;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(234, 133, 10, 0.4);
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.2);
    object-fit: cover;
}

.nav-logo:hover img {
    box-shadow: 0 6px 25px rgba(234, 133, 10, 0.6);
    border-color: rgba(234, 133, 10, 0.5);
    transform: scale(1.1);
}

.nav-brand {
    color: #fff;
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, #fff 0%, #ffd700 50%, #ea850a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 35px;
    margin: 0;
    padding: 0;
}

.nav-links li a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 12px 20px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.nav-links li a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #ea850a, #ff6b35);
    border-radius: 30px;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s ease;
    z-index: -1;
}

.nav-links li a:hover::before {
    opacity: 1;
    transform: scale(1);
}

.nav-links li a:hover {
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(234, 133, 10, 0.4);
    border-color: rgba(234, 133, 10, 0.5);
}

.nav-links li a i {
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.nav-links li a:hover i {
    transform: scale(1.2);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 10px;
    border-radius: 8px;
    background: rgba(234, 133, 10, 0.1);
    border: 1px solid rgba(234, 133, 10, 0.3);
    transition: all 0.3s ease;
}

.nav-toggle:hover {
    background: rgba(234, 133, 10, 0.2);
    transform: scale(1.05);
}

.bar {
    width: 28px;
    height: 3px;
    background: linear-gradient(90deg, #fff, #ffd700);
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.nav-toggle:hover .bar {
    background: linear-gradient(90deg, #ea850a, #ff6b35);
}

/* Hero Section */
.hero-section {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.3)), url('marga.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
}

/* Fix for mobile devices - background-attachment: fixed doesn't work well on mobile */
@media (max-width: 768px) {
    .hero-section {
        background-attachment: scroll;
        min-height: 100vh;
        background-position: center center;
        background-repeat: no-repeat;
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(71, 39, 5, 0.8), rgba(234, 133, 10, 0.6));
}

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

.hero-title {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.3;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* Nepali text specific styling */
.hero-title .welcome-text {
    font-family: 'Noto Sans Devanagari', 'Poppins', sans-serif;
    font-size: 1.5rem;
    color: #ffd700;
    display: block;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

.hero-title .main-title {
    font-family: 'Noto Sans Devanagari', 'Poppins', sans-serif;
    background: linear-gradient(135deg, #fff, #ffd700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 2.8rem;
    line-height: 1.4;
    letter-spacing: 0.5px;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #ffd700;
    font-weight: 400;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.welcome-text {
    font-size: 1.5rem;
    color: #ffd700;
    display: block;
    margin-bottom: 10px;
}

.main-title {
    background: linear-gradient(135deg, #fff, #ffd700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #ffd700;
    font-weight: 400;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
}

.btn-primary {
    background: linear-gradient(135deg, #ea850a, #ff6b35);
    color: white;
    border: 2px solid #ea850a;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(234, 133, 10, 0.4);
}

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

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

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

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #472705;
    font-weight: 700;
    position: relative;
}

.section-divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #ea850a, #ff6b35);
    margin: 0 auto 20px;
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* About Section */
.about-section {
    background: white;
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-description {
    font-size: 1.1rem;
    margin-bottom: 30px;
    text-align: justify;
    color: #555;
    line-height: 1.8;
}

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

.stat-item {
    text-align: center;
    padding: 30px 20px;
    background: linear-gradient(135deg, #ea850a, #ff6b35);
    border-radius: 15px;
    color: white;
    transition: transform 0.3s ease;
}

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

.stat-item i {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
}

/* Services Section */
.services-section {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    position: relative;
    overflow: hidden;
}

.services-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23ea850a" opacity="0.05"/><circle cx="75" cy="75" r="1" fill="%23472705" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 35px;
    margin-top: 60px;
    position: relative;
    z-index: 2;
}

.service-card {
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    padding: 45px 35px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 
        0 15px 35px rgba(0, 0, 0, 0.08),
        0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(234, 133, 10, 0.1);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(234, 133, 10, 0.1), transparent);
    transition: left 0.6s ease;
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 
        0 25px 50px rgba(234, 133, 10, 0.15),
        0 10px 25px rgba(0, 0, 0, 0.1);
    border-color: rgba(234, 133, 10, 0.3);
}

.service-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, #ea850a, #ff6b35);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
    position: relative;
    box-shadow: 0 8px 25px rgba(234, 133, 10, 0.3);
}

.service-icon::after {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(135deg, #ff6b35, #ea850a);
    border-radius: 50%;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover .service-icon::after {
    opacity: 1;
}

.service-card:hover .service-icon {
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 12px 35px rgba(234, 133, 10, 0.4);
}

.service-icon i {
    font-size: 2.2rem;
    color: white;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon i {
    transform: scale(1.1);
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 18px;
    color: #472705;
    font-weight: 600;
    transition: color 0.3s ease;
    position: relative;
}

.service-card h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #ea850a, #ff6b35);
    transition: width 0.3s ease;
}

.service-card:hover h3::after {
    width: 60px;
}

.service-card:hover h3 {
    color: #ea850a;
}

.service-card p {
    color: #666;
    line-height: 1.7;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.service-card:hover p {
    color: #555;
}

/* Add some animation keyframes */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.service-card:nth-child(odd) {
    animation: float 6s ease-in-out infinite;
}

.service-card:nth-child(even) {
    animation: float 6s ease-in-out infinite reverse;
    animation-delay: -3s;
}

/* Pause animation on hover */
.service-card:hover {
    animation-play-state: paused;
}

/* Enhanced section header for services */
.services-section .section-header {
    position: relative;
    z-index: 2;
}

.services-section .section-title {
    background: linear-gradient(135deg, #472705, #ea850a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Add responsive improvements */
@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        margin-top: 40px;
    }
    
    .service-card {
        padding: 35px 25px;
    }
    
    .service-icon {
        width: 80px;
        height: 80px;
    }
    
    .service-icon i {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .service-card {
        padding: 30px 20px;
        border-radius: 15px;
    }
    
    .service-card h3 {
        font-size: 1.2rem;
    }
    
    .service-card p {
        font-size: 0.95rem;
    }
}

/* Gallery Section */
.gallery-section {
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 50%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.gallery-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="camera" width="50" height="50" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23ea850a" opacity="0.03"/></pattern></defs><rect width="100" height="100" fill="url(%23camera)"/></svg>');
    pointer-events: none;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 60px;
    position: relative;
    z-index: 2;
}

.gallery-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 4/3;
    background: #f8f9fa;
    box-shadow: 
        0 15px 35px rgba(0, 0, 0, 0.08),
        0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid rgba(234, 133, 10, 0.1);
    cursor: pointer;
}

.gallery-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 
        0 25px 50px rgba(234, 133, 10, 0.15),
        0 10px 25px rgba(0, 0, 0, 0.1);
    border-color: rgba(234, 133, 10, 0.3);
}

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

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

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(71, 39, 5, 0.8) 0%, 
        rgba(234, 133, 10, 0.7) 50%, 
        rgba(255, 107, 53, 0.8) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s ease;
    backdrop-filter: blur(5px);
}

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

.gallery-content {
    text-align: center;
    color: white;
    padding: 20px;
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.gallery-item:hover .gallery-content {
    transform: translateY(0);
}

.gallery-content h4 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 10px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.gallery-content p {
    font-size: 1rem;
    opacity: 0.95;
    line-height: 1.4;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Enhanced section header for gallery */
.gallery-section .section-title {
    background: linear-gradient(135deg, #472705, #ea850a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Gallery grid animations */
.gallery-item:nth-child(1) { animation-delay: 0.1s; }
.gallery-item:nth-child(2) { animation-delay: 0.2s; }
.gallery-item:nth-child(3) { animation-delay: 0.3s; }
.gallery-item:nth-child(4) { animation-delay: 0.4s; }
.gallery-item:nth-child(5) { animation-delay: 0.5s; }
.gallery-item:nth-child(6) { animation-delay: 0.6s; }
.gallery-item:nth-child(7) { animation-delay: 0.7s; }
.gallery-item:nth-child(8) { animation-delay: 0.8s; }

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

.gallery-item {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

/* Responsive design for gallery */
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
        margin-top: 40px;
    }
    
    .gallery-item {
        border-radius: 15px;
    }
    
    .gallery-content h4 {
        font-size: 1.2rem;
    }
    
    .gallery-content p {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .gallery-content {
        padding: 15px;
    }
    
    .gallery-content h4 {
        font-size: 1.1rem;
    }
    
    .gallery-content p {
        font-size: 0.85rem;
    }
}

/* Contact Section */
.contact-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #fff 50%, #f1f3f4 100%);
    position: relative;
    overflow: hidden;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(234, 133, 10, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(71, 39, 5, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

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

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.contact-card {
    background: linear-gradient(135deg, #472705 0%, #5a3206 50%, #6b3d07 100%);
    color: white;
    padding: 50px 40px;
    border-radius: 25px;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 20px 40px rgba(71, 39, 5, 0.3),
        0 10px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(234, 133, 10, 0.2);
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(234, 133, 10, 0.2) 0%, transparent 70%);
    transform: translate(50%, -50%);
}

.contact-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.15) 0%, transparent 70%);
    transform: translate(-50%, 50%);
}

.contact-card h3 {
    font-size: 1.8rem;
    margin-bottom: 35px;
    background: linear-gradient(135deg, #ffd700 0%, #ea850a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    position: relative;
    z-index: 2;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
    font-size: 1.1rem;
    position: relative;
    z-index: 2;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: rgba(234, 133, 10, 0.1);
    transform: translateX(10px);
    border-color: rgba(234, 133, 10, 0.3);
}

.contact-item i {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ea850a;
    font-size: 1.3rem;
    background: rgba(234, 133, 10, 0.2);
    border-radius: 50%;
    padding: 8px;
    transition: all 0.3s ease;
}

.contact-item:hover i {
    background: rgba(234, 133, 10, 0.3);
    transform: scale(1.1);
}

.form {
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    padding: 50px 40px;
    border-radius: 25px;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.08),
        0 10px 20px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(234, 133, 10, 0.1);
    position: relative;
    overflow: hidden;
}

.form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ea850a, #ff6b35, #ea850a);
    background-size: 200% 100%;
    animation: gradientShift 3s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.form-group {
    margin-bottom: 30px;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: #472705;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
    background: #fff;
    position: relative;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #ea850a;
    box-shadow: 
        0 0 0 4px rgba(234, 133, 10, 0.1),
        0 4px 12px rgba(234, 133, 10, 0.15);
    transform: translateY(-2px);
}

.form-group input:focus + label,
.form-group textarea:focus + label {
    color: #ea850a;
}

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

.form .btn-primary {
    width: 100%;
    padding: 16px 30px;
    font-size: 1.1rem;
    background: linear-gradient(135deg, #ea850a 0%, #ff6b35 100%);
    border: none;
    border-radius: 12px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

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

.form .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(234, 133, 10, 0.4);
}

.map-container {
    grid-column: 1 / -1;
    margin-top: 60px;
    position: relative;
}

.map-container::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: linear-gradient(45deg, #ea850a, #ff6b35, #ea850a, #472705);
    background-size: 400% 400%;
    border-radius: 25px;
    animation: gradientRotate 6s ease infinite;
    z-index: -1;
}

@keyframes gradientRotate {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.map-container iframe {
    width: 100%;
    height: 450px;
    border: none;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 2;
}

/* Enhanced section header for contact */
.contact-section .section-title {
    background: linear-gradient(135deg, #472705, #ea850a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #472705, #2c1803);
    color: white;
    padding: 60px 0 20px;
}

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

.footer-section h3,
.footer-section h4 {
    margin-bottom: 20px;
    color: #ffd700;
}

.footer-section p {
    line-height: 1.6;
    opacity: 0.9;
}

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

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #ea850a;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: #ea850a;
}

.social-link i {
    font-size: 1.2rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: linear-gradient(135deg, #472705 0%, #5a3206 100%);
        backdrop-filter: blur(15px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 50px;
        gap: 20px;
        transition: left 0.3s ease;
        z-index: 999;
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .nav-links li a {
        width: 250px;
        justify-content: center;
        font-size: 1.1rem;
        padding: 15px 25px;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-container {
        padding: 0 20px;
        min-height: 70px;
    }
    
    .nav-brand {
        font-size: 1.4rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-title .welcome-text {
        font-size: 1.3rem;
    }
    
    .hero-title .main-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-card {
        padding: 40px 30px;
    }
    
    .form {
        padding: 40px 30px;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .map-container iframe {
        height: 350px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .nav-container {
        padding: 0 15px;
        min-height: 65px;
    }
    
    .nav-brand {
        font-size: 1.2rem;
    }
    
    .nav-logo img {
        width: 45px;
        height: 45px;
    }
    
    .hero-section {
        height: 100vh;
        background-attachment: scroll;
        background-size: cover;
        background-position: center top;
        background-repeat: no-repeat;
    }
    
    .hero-title {
        font-size: 1.5rem;
    }
    
    .hero-title .welcome-text {
        font-size: 1.1rem;
    }
    
    .hero-title .main-title {
        font-size: 1.4rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .service-card,
    .contact-card,
    .form {
        padding: 30px 20px;
    }
    
    .contact-card h3 {
        font-size: 1.5rem;
    }
    
    .contact-item {
        padding: 12px 15px;
        font-size: 1rem;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 14px 16px;
    }
    
    .map-container iframe {
        height: 300px;
        border-radius: 15px;
    }
    
    .nav-links li a {
        width: 200px;
        font-size: 1rem;
        padding: 12px 20px;
    }
}

/* Additional Enhancements */

/* Navbar scroll indicator */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, #ea850a, #ff6b35);
    z-index: 1001;
    transition: width 0.1s ease;
}

/* Loading animation for contact form */
.form .btn-primary.loading {
    position: relative;
    color: transparent;
}

.form .btn-primary.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid #fff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* Enhanced form field focus effects */
.form-group {
    position: relative;
}

.form-group::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #ea850a, #ff6b35);
    transition: width 0.3s ease;
}

.form-group:focus-within::after {
    width: 100%;
}

/* Contact card hover effects */
.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 25px 50px rgba(71, 39, 5, 0.4),
        0 15px 25px rgba(0, 0, 0, 0.15);
}

/* Animated icons in contact items */
.contact-item i {
    animation: pulse 2s infinite;
}

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

.contact-item:hover i {
    animation: none;
    transform: scale(1.2) rotate(10deg);
}

/* Navigation link active state */
.nav-links li a.active {
    background: rgba(234, 133, 10, 0.2);
    border-color: rgba(234, 133, 10, 0.5);
    color: #ffd700;
}

/* Floating animation for navigation brand */
@keyframes brandFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-3px); }
}

.nav-brand {
    animation: brandFloat 3s ease-in-out infinite;
}

/* Enhanced section divider */
.contact-section .section-divider {
    background: linear-gradient(90deg, #ea850a, #ff6b35, #ea850a);
    background-size: 200% 100%;
    animation: gradientMove 3s ease-in-out infinite;
}

@keyframes gradientMove {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}
