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

/* Mobile Status Bar Support */
@supports (padding: max(0px)) {
    body {
        padding-top: 0;
        padding-bottom: env(safe-area-inset-bottom);
        padding-left: env(safe-area-inset-left);
        padding-right: env(safe-area-inset-right);
    }

    .header {
        padding-top: env(safe-area-inset-top, 0);
    }

    .hero {
        padding-top: max(80px, calc(80px + env(safe-area-inset-top)));
    }
}

:root {
    --primary-color: #ff6b35;
    --secondary-color: #ffc107;
    --accent-color: #ff9800;
    --text-dark: #1a1a1a;
    --text-light: #4a4a4a;
    --text-on-light: #2d2d2d;
    --bg-light: #fff8e1;
    --bg-white: #ffffff;
    --border-color: #ffe082;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-hover: 0 10px 25px rgba(255, 107, 53, 0.25);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s ease;
    --border-radius: 12px;
    --border-radius-lg: 16px;
    --spacing-unit: 1rem;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--bg-white);
    overflow-x: hidden;
    letter-spacing: -0.01em;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(255, 107, 53, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 193, 7, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(255, 152, 0, 0.06) 0%, transparent 50%);
    background-size: 100% 100%, 100% 100%, 100% 100%;
    background-attachment: fixed;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        repeating-linear-gradient(45deg, transparent, transparent 2px, rgba(255, 107, 53, 0.02) 2px, rgba(255, 107, 53, 0.02) 4px),
        repeating-linear-gradient(-45deg, transparent, transparent 2px, rgba(255, 193, 7, 0.02) 2px, rgba(255, 193, 7, 0.02) 4px);
    pointer-events: none;
    z-index: 0;
}

main {
    position: relative;
    z-index: 1;
}

/* Accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary-color);
    color: white;
    padding: 8px;
    text-decoration: none;
    z-index: 100;
}

.skip-link:focus {
    top: 0;
}

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

/* Header & Navigation */
.header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
    border-bottom: 1px solid rgba(255, 107, 53, 0.1);
    margin-top: 0;
}

.navbar {
    padding: 0.75rem 0;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    text-decoration: none;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-img {
    height: 50px;
    width: auto;
    transition: var(--transition);
}

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

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo h1 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
    line-height: 1.1;
}

.logo .tagline {
    font-size: 0.8rem;
    color: var(--text-light);
    font-weight: 500;
    letter-spacing: 0.1em;
}

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

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-menu a:hover::after,
.nav-menu a:focus::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    gap: 4px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 50%, var(--secondary-color) 100%);
    color: white;
    padding: 50px 0 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: auto;
    display: flex;
    align-items: center;
    margin-top: 0;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(255, 255, 255, 0.08) 0%, transparent 50%),
        repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(255, 255, 255, 0.03) 10px, rgba(255, 255, 255, 0.03) 20px);
    pointer-events: none;
    z-index: 0;
}

.hero::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 1440 320"><path fill="%23ffffff" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,154.7C960,171,1056,181,1152,165.3C1248,149,1344,107,1392,85.3L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
    opacity: 0.3;
}

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

.hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -0.03em;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    margin-bottom: 2.5rem;
    opacity: 0.95;
    line-height: 1.7;
    font-weight: 400;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), #ff8533);
    color: white;
    border: none;
}

.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;
}

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

.btn-primary:hover,
.btn-primary:focus {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
    background: linear-gradient(135deg, #ff8533, var(--primary-color));
}

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

.btn-secondary:hover,
.btn-secondary:focus {
    background-color: white;
    color: var(--primary-color);
    transform: translateY(-2px);
}

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

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

.section-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-on-light);
    max-width: 600px;
    margin: 0 auto;
}

/* About Section */
.about {
    background: linear-gradient(135deg, var(--bg-light) 0%, rgba(255, 248, 225, 0.5) 100%);
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(255, 107, 53, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 80% 20%, rgba(255, 193, 7, 0.05) 0%, transparent 40%);
    pointer-events: none;
    z-index: 0;
}

.about .container {
    position: relative;
    z-index: 1;
}

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

.about-text h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    margin-top: 2rem;
}

.about-text h3:first-child {
    margin-top: 0;
}

.about-text p {
    margin-bottom: 1.5rem;
    color: var(--text-on-light);
    line-height: 1.8;
}

.members-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0 2rem 0;
}

.members-list li {
    padding: 0.75rem 0;
    color: var(--text-on-light);
    font-size: 1.1rem;
    border-bottom: 1px solid rgba(255, 107, 53, 0.1);
    transition: var(--transition);
}

.members-list li:last-child {
    border-bottom: none;
}

.members-list li:hover {
    padding-left: 1rem;
    color: var(--primary-color);
}

.members-list li strong {
    color: var(--primary-color);
    font-weight: 600;
}

.about-stats {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, var(--bg-white), var(--bg-light));
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(255, 107, 53, 0.1);
    transition: var(--transition);
}

.stat-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-on-light);
    font-weight: 500;
}

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

.service-card {
    background: linear-gradient(135deg, var(--bg-white) 0%, rgba(255, 255, 255, 0.95) 100%);
    padding: 1.75rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
    border: 1px solid rgba(255, 107, 53, 0.1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.service-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    transition: var(--transition);
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

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

.service-card p {
    color: var(--text-on-light);
    line-height: 1.8;
}

/* Projects Section */
.projects {
    background: linear-gradient(135deg, rgba(255, 248, 225, 0.5) 0%, var(--bg-light) 100%);
    position: relative;
}

.projects::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        repeating-linear-gradient(90deg, transparent, transparent 50px, rgba(255, 107, 53, 0.02) 50px, rgba(255, 107, 53, 0.02) 51px),
        repeating-linear-gradient(0deg, transparent, transparent 50px, rgba(255, 193, 7, 0.02) 50px, rgba(255, 193, 7, 0.02) 51px);
    pointer-events: none;
    z-index: 0;
}

.projects .container {
    position: relative;
    z-index: 1;
}

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

.project-card {
    background: linear-gradient(135deg, var(--bg-white) 0%, rgba(255, 255, 255, 0.95) 100%);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(255, 107, 53, 0.1);
    backdrop-filter: blur(10px);
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.project-image {
    height: 200px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-placeholder {
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
}

.project-content {
    padding: 1.5rem;
}

.project-content h3 {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.project-content p {
    color: var(--text-on-light);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.project-tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background-color: var(--secondary-color);
    color: #000000;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

/* Partners Section */
.partners {
    background: linear-gradient(135deg, var(--bg-light) 0%, rgba(255, 248, 225, 0.6) 100%);
    position: relative;
}

.partners::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(ellipse at top left, rgba(255, 107, 53, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse at bottom right, rgba(255, 193, 7, 0.06) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.partners .container {
    position: relative;
    z-index: 1;
}

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

.partner-card {
    background: linear-gradient(135deg, var(--bg-white), var(--bg-light));
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    text-align: center;
    border: 2px solid rgba(255, 107, 53, 0.15);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.partner-card::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.partner-card h3 {
    font-size: 1.75rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.partner-card p {
    color: var(--text-on-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.partner-benefits {
    font-style: italic;
    color: var(--text-dark);
    border-left: 4px solid var(--primary-color);
    padding-left: 1.5rem;
    margin-top: 2rem;
}

/* Contact Section */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 2.5rem;
}

.contact-info h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.contact-item {
    margin-bottom: 1.5rem;
}

.contact-item strong {
    display: block;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.contact-item a {
    color: #d84315;
    text-decoration: none;
    transition: var(--transition);
    font-weight: 500;
}

.contact-item a:hover,
.contact-item a:focus {
    text-decoration: underline;
}

.contact-item address {
    font-style: normal;
    color: var(--text-light);
    line-height: 1.8;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.social-link {
    padding: 0.5rem 1rem;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: var(--transition);
}

.social-link:hover,
.social-link:focus {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
}

/* Contact Form */
.contact-form {
    background: linear-gradient(135deg, var(--bg-light), var(--bg-white));
    padding: 1.75rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(255, 107, 53, 0.1);
    backdrop-filter: blur(10px);
}

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

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

.form-group label span {
    color: #d84315;
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
    background-color: var(--bg-white);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
    transform: translateY(-1px);
}

.form-group textarea {
    resize: vertical;
}

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

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

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

.footer-logo-img {
    height: 40px;
    width: auto;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: white;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

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

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

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section ul li a:hover,
.footer-section ul li a:focus {
    color: white;
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

.footer-association {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

.footer-association strong {
    color: white;
    font-weight: 600;
}

/* Responsive Design */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        flex-direction: column;
        background-color: var(--bg-white);
        width: 100%;
        box-shadow: var(--shadow);
        padding: 2rem 0;
        transition: var(--transition);
        gap: 0;
    }

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

    .nav-menu li {
        width: 100%;
        text-align: center;
        padding: 1rem 0;
    }

    .nav-menu a {
        display: block;
        padding: 0.5rem 0;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .about-stats {
        flex-direction: row;
        justify-content: space-around;
    }

    .stat-item {
        flex: 1;
    }

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

    .services-grid,
    .projects-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 40px 0 30px;
        margin-top: 0;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .navbar {
        padding: 0.5rem 0;
    }

    .header {
        padding-top: env(safe-area-inset-top, 0);
    }

    .about-stats {
        flex-direction: column;
    }

    .hero-cta {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        text-align: center;
    }
}

/* Print Styles */
@media print {

    .header,
    .footer,
    .hero-cta,
    .contact-form,
    .mobile-menu-toggle {
        display: none;
    }

    .section {
        page-break-inside: avoid;
    }
}


/* Mobile Optimizations */
@media (max-width: 768px) {

    /* Improve touch targets */
    .nav-menu a,
    .btn {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* Prevent text size adjustment on iOS */
    html {
        -webkit-text-size-adjust: 100%;
        text-size-adjust: 100%;
    }

    /* Improve scrolling on iOS */
    body {
        -webkit-overflow-scrolling: touch;
    }

    /* Better tap highlighting */
    a,
    button {
        -webkit-tap-highlight-color: rgba(255, 107, 53, 0.3);
    }
}

/* Mobile Status Bar Color Support */
@media (prefers-color-scheme: light) {
    :root {
        --status-bar-bg: #ff6b35;
    }
}

@media (prefers-color-scheme: dark) {
    :root {
        --status-bar-bg: #d84315;
    }
}

/* iOS Safari specific fixes */
@supports (-webkit-touch-callout: none) {
    .hero {
        min-height: -webkit-fill-available;
    }

    .section {
        min-height: -webkit-fill-available;
    }
}

/* Projects Gallery Page Styles */
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 50%, var(--secondary-color) 100%);
    color: white;
    padding: 100px 0 60px;
    margin-top: 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><g fill="%23ffffff" fill-opacity="0.05" fill-rule="evenodd"><circle cx="3" cy="3" r="3" /><circle cx="13" cy="13" r="3" /></g></svg>');
    opacity: 0.3;
}

.page-header .section-title,
.page-header .section-subtitle {
    color: white;
    position: relative;
    z-index: 1;
}

.filter-section {
    background-color: var(--bg-light);
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(255, 107, 53, 0.1);
}

.filter-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    background-color: var(--bg-white);
    border: 2px solid rgba(255, 107, 53, 0.2);
    border-radius: var(--border-radius);
    color: var(--text-dark);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.95rem;
}

.filter-btn:hover,
.filter-btn:focus {
    border-color: var(--primary-color);
    background-color: rgba(255, 107, 53, 0.1);
    transform: translateY(-2px);
}

.filter-btn.active {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.gallery-section {
    padding: 40px 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    background: linear-gradient(135deg, var(--bg-white) 0%, rgba(255, 255, 255, 0.95) 100%);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(255, 107, 53, 0.1);
    backdrop-filter: blur(10px);
    opacity: 1;
    transform: scale(1);
}

.gallery-item:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: var(--shadow-lg);
    border-color: rgba(255, 107, 53, 0.3);
}

.gallery-media {
    position: relative;
    width: 100%;
    padding-top: 75%;
    /* 4:3 aspect ratio */
    overflow: hidden;
    background-color: var(--bg-light);
}

.gallery-media img,
.gallery-media .video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-media img {
    transition: transform 0.5s ease;
}

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

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

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

.gallery-view-btn {
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
    font-size: 1rem;
}

.gallery-view-btn:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-hover);
}

.video-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.video-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.video-play-overlay:hover {
    background: rgba(0, 0, 0, 0.6);
}

.play-icon {
    font-size: 4rem;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    transition: var(--transition);
}

.video-play-overlay:hover .play-icon {
    transform: scale(1.2);
}

.gallery-content {
    padding: 1.25rem;
}

.gallery-content h3 {
    font-size: 1.25rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.gallery-content p {
    color: var(--text-on-light);
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
    line-height: 1.6;
}

/* Lightbox Modal */
.lightbox-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

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

.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-image {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.lightbox-caption {
    margin-top: 1.5rem;
    text-align: center;
    color: white;
    max-width: 800px;
}

.lightbox-caption h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: white;
}

.lightbox-caption p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 10001;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255, 107, 53, 0.9);
    border-color: var(--primary-color);
    transform: scale(1.1);
}

.lightbox-close {
    top: 20px;
    right: 20px;
}

.lightbox-prev {
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-next {
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-modal.active .lightbox-prev,
.lightbox-modal.active .lightbox-next {
    transform: translateY(-50%);
}

/* Active nav link */
.nav-menu a.active {
    color: var(--primary-color);
    font-weight: 600;
}

.nav-menu a.active::after {
    width: 100%;
}

/* Responsive Gallery */
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 1rem;
    }

    .filter-tabs {
        gap: 0.5rem;
    }

    .filter-btn {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }

    .lightbox-prev,
    .lightbox-next {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .lightbox-close {
        width: 40px;
        height: 40px;
        top: 10px;
        right: 10px;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-content {
        padding: 1rem;
    }
}

/* Director's Message Section */
.director-message {
    background: linear-gradient(135deg, var(--bg-white) 0%, #fff5f2 100%);
    position: relative;
    padding: 100px 0;
    overflow: hidden;
}

.director-message::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.05) 0%, transparent 70%);
    border-radius: 50%;
}

.director-wrapper {
    display: flex;
    align-items: center;
    gap: 5rem;
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.director-image-container {
    flex: 0 0 320px;
    position: relative;
}

.director-img {
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
    border-radius: 30px;
    box-shadow: 20px 20px 60px #d9d9d9, -20px -20px 60px #ffffff;
    border: 8px solid var(--bg-white);
    transform: rotate(-3deg);
    transition: var(--transition);
}

.director-img:hover {
    transform: rotate(0deg) scale(1.05);
}

.director-quote-icon {
    position: absolute;
    top: -30px;
    left: -20px;
    font-size: 8rem;
    color: var(--primary-color);
    font-family: serif;
    line-height: 1;
    opacity: 0.15;
}

.director-text {
    flex: 1;
}

.director-text .section-title {
    text-align: left;
    margin-bottom: 2rem;
}

.message-content p {
    font-size: 1.2rem;
    line-height: 2;
    color: var(--text-on-light);
    margin-bottom: 1.5rem;
    font-style: italic;
    position: relative;
    font-weight: 300;
}

.director-signature {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid rgba(255, 107, 53, 0.1);
}

.director-signature h4 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.director-signature p {
    font-size: 1rem;
    color: var(--text-light);
    font-style: normal;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Detailed Services Grid */
.services-detailed-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

.service-detail-card {
    background: var(--bg-white);
    border-radius: var(--border-radius-lg);
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(255, 107, 53, 0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
}

.service-detail-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(255, 107, 53, 0.1);
    border-color: var(--primary-color);
}

.service-detail-header {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.service-detail-header .service-icon {
    font-size: 3.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.service-detail-header h3 {
    font-size: 1.6rem;
    color: var(--text-on-light);
    margin: 0;
    font-weight: 700;
}

.service-detail-body p {
    margin-bottom: 1.5rem;
    color: var(--text-on-light);
    font-size: 1rem;
}

.service-detail-body ul {
    list-style: none;
    padding: 0;
}

.service-detail-body li {
    padding-left: 2rem;
    position: relative;
    margin-bottom: 1rem;
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.5;
}

.service-detail-body li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6rem;
    width: 8px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 50%;
}

.services-footer {
    text-align: center;
    margin-top: 5rem;
    padding: 3rem;
    background: rgba(255, 107, 53, 0.03);
    border-radius: var(--border-radius-lg);
    border: 1px dashed var(--primary-color);
    color: var(--text-on-light);
    font-weight: 500;
}

/* Products Page Styles */
.category-title {
    font-size: 2.5rem;
    color: var(--text-on-light);
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
}

.category-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--primary-color);
}

.product-category {
    margin-bottom: 6rem;
}

.product-detail-card {
    display: grid;
    grid-template-columns: 450px 1fr;
    gap: 5rem;
    background: var(--bg-white);
    border-radius: 40px;
    padding: 4rem;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.02);
    align-items: center;
    transition: all 0.5s ease;
    margin-bottom: 4rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.product-detail-card:nth-child(even) {
    grid-template-columns: 1fr 450px;
}

.product-detail-card:nth-child(even) .product-img-wrapper {
    order: 2;
}

.product-detail-card:hover {
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
}

.product-img-wrapper {
    width: 100%;
    max-width: 450px;
    height: 500px;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.8s ease;
}

.product-detail-card:hover .product-img-wrapper img {
    transform: scale(1.1);
}

.product-info h3 {
    font-size: 2.2rem;
    color: var(--text-on-light);
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.product-info p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.product-info ul {
    list-style: none;
    padding: 0;
    margin-bottom: 3rem;
}

.product-info li {
    padding-left: 2.5rem;
    position: relative;
    margin-bottom: 1.25rem;
    color: var(--text-on-light);
    font-weight: 500;
}

.product-info li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: -2px;
    width: 24px;
    height: 24px;
    background: rgba(255, 107, 53, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

/* Removed redundant page-header override to fix text visibility */

/* Responsive adjustments */
@media (max-width: 1200px) {
    .product-detail-card {
        grid-template-columns: 350px 1fr;
        gap: 3rem;
        padding: 3rem;
    }

    .product-detail-card:nth-child(even) {
        grid-template-columns: 1fr 350px;
    }

    .product-img-wrapper {
        height: 400px;
    }
}

@media (max-width: 992px) {

    .product-detail-card,
    .product-detail-card:nth-child(even) {
        grid-template-columns: 1fr;
        text-align: center;
        max-width: 600px;
        padding: 2.5rem;
    }

    .product-detail-card:nth-child(even) .product-img-wrapper {
        order: 0;
    }

    .product-img-wrapper {
        max-width: 100%;
        height: 350px;
        margin: 0 auto 2rem;
    }

    .product-info li {
        text-align: left;
    }
}

@media (max-width: 768px) {
    .director-wrapper {
        flex-direction: column;
        text-align: center;
        gap: 3rem;
    }

    .director-image-container {
        flex: 0 0 auto;
        width: 100%;
        max-width: 280px;
    }

    .services-detailed-grid {
        grid-template-columns: 1fr;
    }

    .page-header .section-title {
        font-size: 2.5rem;
    }
}

/* Floating Actions */
.floating-actions {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 9999;
}

.floating-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 24px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
    position: relative;
}

.floating-btn:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.floating-whatsapp {
    background-color: #25d366;
}

.floating-call {
    background-color: #ff6b35;
}

.floating-btn::after {
    content: attr(data-label);
    position: absolute;
    right: 75px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    pointer-events: none;
}

.floating-btn:hover::after {
    opacity: 1;
    visibility: visible;
}

/* Animations */
@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

.floating-whatsapp {
    animation: pulse 2s infinite;
}

@media (max-width: 480px) {
    .floating-actions {
        bottom: 20px;
        right: 20px;
        gap: 10px;
    }

    .floating-btn {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
}

/* Under Development Popup */
.development-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.development-popup.active {
    opacity: 1;
    visibility: visible;
}

.dev-popup-content {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 3rem;
    border-radius: 24px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    box-shadow: 0 25px 50px -12px rgba(255, 107, 53, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transform: scale(0.9) translateY(20px);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
}

.development-popup.active .dev-popup-content {
    transform: scale(1) translateY(0);
}

.dev-popup-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    display: block;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.dev-popup-content h2 {
    color: var(--primary-color);
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.dev-popup-content p {
    color: var(--text-on-light);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.btn-close-popup {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 12px 40px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.btn-close-popup:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4);
    background: #ff8533;
}

.dev-popup-bg {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.05) 0%, transparent 70%);
    z-index: -1;
    pointer-events: none;
}