/* SAMAYY Event Management - Main Stylesheet */
/* BigRock Compatible Version */


/* CSS Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fafafa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 500;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
    color: #666;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background-color: #1976d2;
    color: white;
}

.btn-primary:hover {
    background-color: #1565c0;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(25, 118, 210, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: #1976d2;
    border: 2px solid #1976d2;
}

.btn-secondary:hover {
    background-color: #1976d2;
    color: white;
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: #1976d2;
    border: 1px solid #1976d2;
}

.btn-outline:hover {
    background-color: #1976d2;
    color: white;
}

/* Navigation */
.navbar {
    background-color: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #1976d2;
}

.logo-img {
    height: 67px; /* Increased height by 10% (61px + 10% = 67px) for better visibility */
    width: 174px; /* Maintained width for layout consistency */
    margin-right: 12px; /* Slightly increased margin */
    border-radius: 4px;
    /* Clean logo appearance without border */
    background-color: transparent;
    padding: 0;
    /* Border removed for cleaner look */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    /* Debug: Logo dimensions updated to maintain page structure */
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1976d2;
    /* Hide text when logo image is used */
    display: none;
}

/* Show logo text only if logo image fails to load */
.logo-img:not([src]) + .logo-text,
.logo-img[src=""] + .logo-text {
    display: inline;
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    padding: 10px 0;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #1976d2;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: #1976d2;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    position: relative;
    height: 85vh;
    overflow: hidden;
    margin-top: 70px;
    background: linear-gradient(45deg, rgba(25, 118, 210, 0.8), rgba(25, 118, 210, 0.6)); /* Fallback background */
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-static {
    position: relative;
    height: 100%;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(25, 118, 210, 0.7), rgba(25, 118, 210, 0.5));
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.hero-content {
    text-align: center;
    color: white;
    max-width: 800px;
    padding: 0 20px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: white;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}


/* Section Styles */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    color: #1976d2;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* About Preview Section */
.about-preview {
    background-color: white;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin: 30px 0;
}

.feature {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.feature .material-icons {
    color: #1976d2;
    font-size: 2rem;
}

.feature h4 {
    color: #333;
    margin-bottom: 0.5rem;
}

.feature p {
    color: #666;
    margin-bottom: 0;
}

.about-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}

/* Services Preview Section */
.services-preview {
    background-color: #f5f5f5;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.service-card {
    background-color: white;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.15);
}

.service-card .material-icons {
    font-size: 3rem;
    color: #1976d2;
    margin-bottom: 20px;
}

.service-card h3 {
    color: #333;
    margin-bottom: 15px;
}

.service-card p {
    color: #666;
    margin-bottom: 0;
}

.services-cta {
    text-align: center;
}

/* Featured Gallery Section */
.featured-gallery {
    background-color: white;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    aspect-ratio: 4/3; /* Fixed aspect ratio for consistent dimensions */
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: #f8f9fa;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Specific styling for homepage gallery items */
.homepage-gallery-item {
    height: 280px; /* Fixed height for consistency */
    min-height: 280px;
    max-height: 280px;
}

.homepage-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensure images fill the container properly */
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.homepage-gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(25, 118, 210, 0.8), transparent);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay .material-icons {
    color: white;
    font-size: 3rem;
}

/* Gallery info styling for homepage */
.gallery-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 20px 15px 15px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-info {
    transform: translateY(0);
}

.gallery-info h4 {
    color: white;
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.gallery-cta {
    text-align: center;
}

/* Testimonials Preview Section */
.testimonials-preview {
    background-color: #f5f5f5;
}

.testimonials-slider {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial-card {
    background-color: white;
    padding: 40px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.testimonial-text {
    font-size: 1.1rem;
    font-style: italic;
    color: #666;
    margin-bottom: 30px;
    line-height: 1.6;
}

.more-link {
    color: #1976d2;
    cursor: pointer;
    font-weight: 600;
    text-decoration: underline;
    margin-left: 5px;
    transition: color 0.3s ease;
}

.more-link:hover {
    color: #1565c0;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.author-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info h4 {
    color: #333;
    margin-bottom: 5px;
}

.author-info p {
    color: #666;
    margin-bottom: 0;
    font-size: 0.9rem;
}

/* ===== CONTACT CTA SECTION ===== */
.contact-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, #1565c0, #0d47a1);
    color: white;
    text-align: center;
    margin: 0;
}

.contact-cta .cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.contact-cta .cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 30px;
}

.contact-cta .btn {
    min-width: 180px;
    padding: 15px 30px;
    font-size: 1.1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.contact-cta .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* Responsive Design for Contact CTA */
@media (max-width: 768px) {
    .contact-cta {
        padding: 60px 0;
    }
    
    .contact-cta h2 {
        font-size: 2rem;
    }
    
    .contact-cta .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .contact-cta .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .testimonials-slider {
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 600px;
    }
    
    .testimonial-card {
        padding: 30px 20px;
    }
}

.cta-content h2 {
    color: white;
    margin-bottom: 1rem;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn-primary {
    background-color: white;
    color: #1976d2;
}

.cta-buttons .btn-primary:hover {
    background-color: #f5f5f5;
}

.cta-buttons .btn-secondary {
    color: white;
    border-color: white;
}

.cta-buttons .btn-secondary:hover {
    background-color: white;
    color: #1976d2;
}

/* Testimonials CTA Button */
.testimonials-cta .btn-primary {
    background: #1976d2;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(25, 118, 210, 0.3);
}

.testimonials-cta .btn-primary:hover {
    background: #1565c0;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(25, 118, 210, 0.4);
    color: white;
    text-decoration: none;
}

.testimonials-cta .btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(25, 118, 210, 0.3);
}

.testimonials-cta .btn-primary .material-icons {
    font-size: 18px;
    transition: transform 0.3s ease;
}

.testimonials-cta .btn-primary:hover .material-icons {
    transform: translateX(2px);
}

/* Footer */
/* ===== STATS COUNTER SECTION ===== */
.stats-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #1976d2 0%, #1565c0 100%);
    color: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    text-align: center;
}

.stat-item {
    padding: 20px;
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-10px);
}

.stat-icon {
    margin-bottom: 15px;
}

.stat-icon .material-icons {
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.2);
    padding: 20px;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin: 15px 0 5px 0;
    color: white;
}

.stat-label {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 500;
}

/* ===== WHY CHOOSE US SECTION - ENHANCED BOXY DESIGN ===== */
.why-choose-us {
    padding: 80px 0;
    background: #f8f9fa;
}

.reasons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.reason-card {
    background: white;
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(25, 118, 210, 0.1);
    position: relative;
    overflow: hidden;
}

.reason-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #1976d2, #42a5f5);
    border-radius: 12px 12px 0 0;
}

.reason-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    border-color: #1976d2;
}

.reason-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #1976d2, #42a5f5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    box-shadow: 0 4px 15px rgba(25, 118, 210, 0.3);
    transition: all 0.3s ease;
}

.reason-icon .material-icons {
    font-size: 36px;
    color: white;
}

.reason-card:hover .reason-icon {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(25, 118, 210, 0.4);
}

.reason-card h3 {
    color: #333;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    transition: color 0.3s ease;
}

.reason-card:hover h3 {
    color: #1976d2;
}

.reason-card p {
    color: #666;
    line-height: 1.7;
    font-size: 1rem;
    margin: 0;
}

/* Responsive Design for Why Choose Us */
@media (max-width: 768px) {
    .reasons-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 30px;
    }
    
    .reason-card {
        padding: 30px 20px;
    }
    
    .reason-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 20px;
    }
    
    .reason-icon .material-icons {
        font-size: 28px;
    }
    
    .reason-card h3 {
        font-size: 1.3rem;
    }
}

/* ===== SERVICES PREVIEW SECTION ===== */
.services-preview {
    padding: 80px 0;
    background: #f8f9fa;
    margin: 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.services-cta {
    text-align: center;
    margin-top: 40px;
}

/* ===== FEATURED GALLERY SECTION ===== */
.featured-gallery {
    padding: 80px 0;
    background: white;
    margin: 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Exactly 3 columns in single row */
    gap: 30px; /* Increased gap for better spacing */
    margin: 40px 0;
    max-width: 1200px; /* Limit maximum width for better proportions */
    margin-left: auto;
    margin-right: auto;
}

.gallery-cta {
    text-align: center;
    margin-top: 40px;
}

/* ===== TESTIMONIALS PREVIEW SECTION ===== */
.testimonials-preview {
    padding: 80px 0;
    background: #f8f9fa;
    margin: 0;
}

.testimonials-slider {
    margin: 40px 0;
}

/* ===== CLIENTS SECTION ===== */
.clients-section {
    padding: 80px 0;
    background: white;
    margin: 0;
}

.clients-note {
    max-width: 800px;
    margin: 30px auto;
    padding: 20px;
    background: #e3f2fd;
    border-radius: 12px;
    border-left: 4px solid #1976d2;
}

.note-text {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #1565c0;
    font-size: 0.95rem;
    margin: 0;
}

.note-text .material-icons {
    font-size: 1.5rem;
}

.client-categories {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-top: 40px;
}

.category-tag {
    background: linear-gradient(135deg, #1976d2 0%, #1565c0 100%);
    color: white;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 500;
    font-size: 0.95rem;
    box-shadow: 0 4px 15px rgba(25, 118, 210, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.category-tag:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(25, 118, 210, 0.4);
}

/* ===== FAQ SECTION ===== */
.faq-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.faq-grid {
    max-width: 900px;
    margin: 40px auto 0;
}

.faq-item {
    background: white;
    border-radius: 12px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.faq-question {
    padding: 20px 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    background: white;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: #f8f9fa;
}

.faq-question h3 {
    margin: 0;
    font-size: 1.1rem;
    color: #333;
    font-weight: 600;
}

.faq-question .material-icons {
    color: #1976d2;
    font-size: 1.8rem;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question .material-icons {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 25px 20px 25px;
    max-height: 500px;
}

.faq-answer p {
    margin: 0;
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* ===== FOOTER ===== */
.footer {
    background-color: #333;
    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-logo {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 20px;
}

.footer-logo img {
    height: 60px;
    width: 120px;
    object-fit: contain;
}

.footer-logo p {
    color: #ccc;
    margin-bottom: 0;
}

.footer-section h4 {
    color: white;
    margin-bottom: 20px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #1976d2;
}

.contact-info p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    color: #ccc;
}

.contact-info .material-icons {
    color: #1976d2;
}

.social-links {
    margin-top: 20px;
}

.social-links a {
    display: inline-block;
    color: #ccc;
    margin-right: 15px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.social-links a:hover {
    color: #1976d2;
    transform: scale(1.1);
}

.social-icon {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.social-links a:hover .social-icon {
    transform: scale(1.1);
    opacity: 0.8;
}

.footer-bottom {
    border-top: 1px solid #555;
    padding-top: 20px;
    text-align: center;
    color: #ccc;
}

/* Vasanisha Credit */
.vasanisha-credit {
    color: #333 !important;
    font-size: 0.8rem !important;
    font-style: italic !important;
    margin-top: 10px !important;
    margin-bottom: 0 !important;
}

.vasanisha-credit a {
    color: #1976d2;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.vasanisha-credit a:hover {
    color: #1565c0;
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .logo-img {
        width: 150px; /* Proportionally smaller on tablets (50% increase from 100px) */
        height: 58px; /* Increased height by 10% (53px + 10% = 58px) */
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0,0,0,0.05);
        padding: 20px 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: repeat(3, 1fr); /* Keep 3 columns on tablet */
        gap: 20px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-logo {
        justify-content: center;
        margin-bottom: 30px;
    }
    
    .footer-logo img {
        height: 50px;
        width: 100px;
    }

    h1 { font-size: 2rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.25rem; }

    section {
        padding: 60px 0;
    }

    .container {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .logo-img {
        width: 135px; /* Proportionally smaller on mobile (50% increase from 90px) */
        height: 53px; /* Increased height by 10% (48px + 10% = 53px) */
    }
    
    .footer-logo img {
        height: 45px;
        width: 90px;
    }
    
    .hero-title {
        font-size: 2rem;
    }

    .section-header h2 {
        font-size: 1.5rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr; /* Single column on mobile for better UX */
        gap: 15px;
    }
    
    .homepage-gallery-item {
        height: 250px; /* Slightly smaller on mobile */
        min-height: 250px;
        max-height: 250px;
    }

    .btn {
        padding: 10px 20px;
        font-size: 12px;
    }
}

/* Loading States */
.loading {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px;
}

.loading::after {
    content: '';
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #1976d2;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Error States */
.error {
    background-color: #ffebee;
    color: #c62828;
    padding: 20px;
    border-radius: 4px;
    text-align: center;
    margin: 20px 0;
}

/* Success States */
.success {
    background-color: #e8f5e8;
    color: #2e7d32;
    padding: 20px;
    border-radius: 4px;
    text-align: center;
    margin: 20px 0;
}
