/* Global Styles */
:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
    --text-color: #333;
    --light-bg: #d9f7fa;
    --white: #ffffff;
    --transition-slow: 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    --transition-medium: 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    --transition-fast: 0.2s ease;
    --ease-in-out: cubic-bezier(0.645, 0.045, 0.355, 1);
    --ease-out-back: cubic-bezier(0.34, 1.56, 0.64, 1);
    --ease-in-out-quad: cubic-bezier(0.455, 0.03, 0.515, 0.955);
    --animation-short: 0.3s;
    --animation-medium: 0.5s;
    --animation-long: 0.8s;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

/* Navigation */
.navbar {
    background-color: var(--white);
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.logo {
    display: flex;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    max-height: 4.5em;
    width: auto;
    border-radius: 50%;
    border: 2px solid var(--secondary-color);
    background-color: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-right: 1rem;
    padding: 0;
}

.logo img:hover {
    transform: scale(1.05);
    box-shadow: 0 3px 8px rgba(0,0,0,0.5);
}

.logo h1 {
    color: var(--primary-color);
    font-size: 1.5rem;
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 1.2rem;
    margin-left: 2rem;
    transition: all var(--transition-medium);
    position: relative;
}

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

.nav-links a:hover {
    color: var(--secondary-color);
    transform: translateY(-2px);
}

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

.nav-links a.active {
    color: var(--secondary-color);
    font-weight: 600;
}

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

.lang-switch {
    background: none;
    border: 2px solid var(--secondary-color);
    color: var(--secondary-color);
    padding: 0.5rem 1rem;
    border-radius: 5px;
    cursor: pointer;
    margin-left: 1rem;
    transition: all var(--transition-medium);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.lang-switch::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: var(--secondary-color);
    transition: all var(--transition-medium);
    z-index: -1;
}

.lang-switch:hover {
    color: var(--white);
}

.lang-switch:hover::before {
    left: 0;
}

.lang-switch:active {
    transform: scale(0.95);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
    width: 30px;
    height: 30px;
    justify-content: center;
    position: relative;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background-color: var(--primary-color);
    transition: transform 0.3s var(--ease-in-out), opacity 0.3s var(--ease-in-out);
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.hamburger span:nth-child(1) {
    top: 8px;
}

.hamburger span:nth-child(2) {
    top: 14px;
}

.hamburger span:nth-child(3) {
    top: 20px;
}

/* Hamburger animation */
.hamburger.active span:nth-child(1) {
    top: 14px;
    transform: translateX(-50%) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    top: 14px;
    transform: translateX(-50%) rotate(-45deg);
}

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

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.hero-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 2rem;
    transform: translateZ(0);
}

.hero-content h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-content a {
    margin-right: 1rem;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: var(--secondary-color);
    color: var(--white);
    text-decoration: none;
    font-size: 1.1rem;
    transition: transform var(--animation-short) var(--ease-out-back), 
                box-shadow var(--animation-short) var(--ease-in-out),
                background-color var(--animation-short) linear;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background-color: rgba(255, 255, 255, 0.2);
    transition: height var(--transition-medium);
    z-index: -1;
}

.cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    border-color: var(--white);
}

.cta-button:hover::before {
    height: 100%;
}

.cta-button:active {
    transform: translateY(-2px);
}

/* Hero social buttons */
.hero .social-buttons {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-top: 25px;
}

.hero .social-button {
    display: inline-block;
    font-size: 40px !important;  /* Overriding inline style */
    color: #ffffff !important;   /* Overriding inline style */
    transition: transform 0.3s ease, color 0.3s ease, text-shadow 0.3s ease;
}

.hero .social-button:hover {
    transform: translateY(-8px) scale(1.1);
    color: #00d9ff !important;
    text-shadow: 0 0 15px rgba(0, 217, 255, 0.6);
}

/* Services Section */
.services {
    padding: 5rem 5%;
    background-color: var(--light-bg);
}

.services h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
    position: relative;
    font-size: 2.2rem;
}

.services h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background-color: var(--secondary-color);
    margin: 0.8rem auto 0;
    border-radius: 2px;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    padding: 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transition: all var(--transition-medium);
    position: relative;
    top: 0;
    display: flex;
    flex-direction: column;
    transform: translateZ(0);
    height: 100%;
}

.service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.service-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.service-card h3 {
    margin: 0 0 1rem;
    color: var(--primary-color);
    font-size: 1.3rem;
    line-height: 1.4;
    font-weight: 600;
    transition: all var(--transition-medium);
}

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

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.service-card:hover h3 {
    color: var(--secondary-color);
}

.service-divider {
    width: 50px;
    height: 3px;
    background-color: var(--secondary-color);
    margin: 0.5rem 0;
    border-radius: 2px;
    transition: all var(--transition-medium);
}

.service-card:hover .service-divider {
    width: 80px;
}

/* Services Detail Page */
.services-detail {
    padding: 5rem 5%;
    background-color: var(--light-bg);
}

.services-detail h1 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--primary-color);
    position: relative;
    font-size: 2.5rem;
    margin-top: 5rem;
}

.services-detail h1::after {
    content: '';
    display: block;
    width: 100px;
    height: 3px;
    background-color: var(--secondary-color);
    margin: 0.8rem auto 2rem;
    border-radius: 2px;
}

.service-detail-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.service-detail-item {
    margin-bottom: 5rem;
    padding: 2rem;
    border-radius: 10px;
    background-color: var(--white);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    scroll-margin-top: 100px;
}

.service-detail-item:last-child {
    margin-bottom: 0;
}

.service-detail-header {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.service-detail-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    background-color: rgba(52, 152, 219, 0.1);
    border-radius: 50%;
    margin-right: 1.5rem;
}

.service-detail-icon i {
    font-size: 1.8rem;
    color: var(--secondary-color);
}

.service-detail-title {
    flex: 1;
}

.service-detail-title h2 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.service-detail-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
}

.service-detail-content p {
    margin-bottom: 1.5rem;
}

.service-detail-content ul {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.service-detail-content li {
    margin-bottom: 0.5rem;
}

.service-detail-image {
    margin: 2rem 0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.service-detail-image img {
    width: 100%;
    height: auto;
    display: block;
}

.cta-container {
    text-align: center;
    margin-top: 3rem;
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--secondary-color);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    z-index: 99;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

/* Gallery Section */
.gallery {
    padding: 5rem 5%;
}

.gallery h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    padding: 2rem;
}

.gallery-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
    transform: translateZ(0);
}

.gallery-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    opacity: 0;
    transition: opacity var(--transition-medium);
    z-index: 1;
}

.gallery-item::after {
    content: '👁️';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    font-size: 2rem;
    color: var(--white);
    z-index: 2;
    transition: transform var(--transition-medium);
}

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

.gallery-item:hover::after {
    transform: translate(-50%, -50%) scale(1);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--animation-medium) var(--ease-in-out);
    will-change: transform;
}

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

.gallery-item.pulse {
    animation: pulse 0.5s ease-in-out;
}

/* Contact Section */
.contact {
    padding: 5rem 5%;
    background-color: var(--light-bg);
}

.contact h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.contact-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 5rem;
}

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

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    transform: translateZ(0);
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--secondary-color);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 50%;
}

.contact-form input,
.contact-form textarea {
    padding:1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: all var(--transition-fast);
}

.contact-form textarea {
    height: 150px;
    resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
    outline: none;
    transform: translateY(-2px);
}

/* Form focus effect */
.contact-form > * {
    position: relative;
}

.contact-form > *.focused::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, var(--secondary-color), var(--accent-color));
    transform: scaleX(1);
    transform-origin: left;
    transition: transform var(--transition-medium);
}

.submit-button {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 1rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: all var(--transition-medium);
    position: relative;
    overflow: hidden;
}

.submit-button::after {
    content: '→';
    position: absolute;
    top: 50%;
    right: -20px;
    transform: translateY(-50%);
    opacity: 0;
    transition: all var(--transition-medium);
}

.submit-button:hover {
    background-color: #2980b9;
    padding-right: 2.5rem;
}

.submit-button:hover::after {
    right: 1rem;
    opacity: 1;
}

.submit-button:active {
    transform: scale(0.98);
}

.submit-button .fa-spinner {
    margin-right: 0.5rem;
    animation: spin 1s linear infinite;
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: var(--white);
    text-align: center;
    padding: 2rem;
}

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

.about h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

.about-content p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: var(--text-color);
}

.about-content p:last-child {
    margin-bottom: 0;
}

/* Page Header */
.page-header {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('assets/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    height: 25vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    margin-top: 60px;
}

.page-header h1 {
    font-size: 2.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.page-header-image {
    padding-top: 2rem;
    display: block;
    object-fit: contain;
    width: 100%;
    height: 40vh;
}

/* Gallery and About Page Headers */
.gallery-page-header,
.about-page-header {
    width: 100%;
    background: linear-gradient(rgb(255, 255, 255), rgb(217, 247, 250));
    height: auto;
    padding: 0;
    overflow: hidden;
    position: relative;
}

/* About Page */
.about-page {
    padding: 5rem 5%;
    background-color: var(--light-bg);
}

.about-page .about-content {
    margin: 0 auto;
    line-height: 1.8;
}

.about-page .about-content h2 {
    color: var(--primary-color);
    margin-bottom: 2rem;
    text-align: center;
    font-size: 2rem;
}

.about-page .about-content p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: var(--text-color);
}

.about-page .about-content p:last-child {
    margin-bottom: 0;
}

/* Gallery Page */
.gallery-page {
    padding: 5rem 5%;
    background-color: var(--light-bg);
}

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

/* Timeline Gallery */
.timeline-gallery {
    padding: 5rem 5%;
    background-color: var(--light-bg);
}

.timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem 0;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background-color: var(--primary-color);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
    opacity: 0.4;
    border-radius: 4px;
}

.timeline-item {
    position: relative;
    width: 100%;
    margin-bottom: 4rem;
    display: flex;
    transform: translateZ(0);
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-item:nth-child(odd) {
    flex-direction: row;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-date-content {
    width: 50%;
    padding-right: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.timeline-item:nth-child(even) .timeline-date-content {
    padding-right: 0;
    padding-left: 3rem;
}

.timeline-date {
    display: inline-block;
    margin-bottom: 1.5rem;
}

.timeline-date span {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 0.6rem 1.2rem;
    border-radius: 4px;
    font-weight: 600;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1;
    min-width: 120px;
    text-align: center;
    display: inline-block;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

.timeline-text {
    max-width: 85%;
}

.timeline-text h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
    line-height: 1.3;
    font-weight: 600;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
}

.timeline-text p {
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 0;
    color: var(--text-color);
}

.timeline-img-container {
    width: 50%;
    padding-left: 3rem;
    position: relative;
}

.timeline-item:nth-child(even) .timeline-img-container {
    padding-left: 0;
    padding-right: 3rem;
}

.timeline-img-container::before {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: -0.8rem;
    width: 1.2rem;
    height: 1.2rem;
    background-color: var(--white);
    border: 4px solid var(--secondary-color);
    border-radius: 50%;
    z-index: 1;
    box-shadow: 0 0 0 4px rgba(52, 152, 219, 0.1);
}

.timeline-item:nth-child(even) .timeline-img-container::before {
    left: auto;
    right: -0.8rem;
}

.timeline-img-container::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 1.5rem;
    height: 4px;
    background-color: var(--secondary-color);
    z-index: 0;
    opacity: 0.7;
}

.timeline-item:nth-child(odd) .timeline-img-container::after {
    left: -1.8rem;
    transform: translateY(-50%);
}

.timeline-item:nth-child(even) .timeline-img-container::after {
    right: -1.8rem;
    transform: translateY(-50%);
}

.timeline-img {
    margin-bottom: 1.5rem;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: box-shadow var(--animation-medium) var(--ease-in-out);
}

.timeline-img img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform var(--animation-medium) var(--ease-in-out);
    will-change: transform;
}

.timeline-img:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

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

/* Thank You Page */
.thank-you-page {
    padding: 8rem 5%;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: var(--white);
}

.thank-you-content {
    max-width: 600px;
    margin: 0 auto;
}

.thank-you-content i {
    font-size: 5rem;
    color: var(--secondary-color);
    margin-bottom: 2rem;
    display: block;
    animation: fadeInUp var(--animation-medium) var(--ease-out-back);
}

.thank-you-content h1 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    animation: fadeInUp var(--animation-medium) var(--ease-out-back) 0.2s both;
}

.thank-you-content p {
    font-size: 1.2rem;
    color: var(--text-color);
    margin-bottom: 2.5rem;
    line-height: 1.8;
    animation: fadeInUp var(--animation-medium) var(--ease-out-back) 0.4s both;
}

.thank-you-content .cta-button {
    animation: fadeInUp var(--animation-medium) var(--ease-out-back) 0.6s both;
}

/* Add scroll-to-top button styles */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--secondary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s var(--ease-in-out), visibility 0.3s var(--ease-in-out), transform 0.3s var(--ease-out-back);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    z-index: 999;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Form Status Messages */
.form-status {
    margin: 1rem 0;
    display: none;
}

.form-status .error {
    color: #e74c3c;
    background-color: rgba(231, 76, 60, 0.1);
    border-left: 4px solid #e74c3c;
    padding: 1rem;
    border-radius: 4px;
    font-size: 0.95rem;
    font-weight: 500;
}

.form-status .success {
    color: #27ae60;
    background-color: rgba(39, 174, 96, 0.1);
    border-left: 4px solid #27ae60;
    padding: 1rem;
    border-radius: 4px;
    font-size: 0.95rem;
    font-weight: 500;
}

/* Animations */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
        will-change: transform, opacity;
    }
    100% {
        opacity: 1;
        transform: translateY(0);
        will-change: auto;
    }
}

@keyframes fadeInRight {
    0% {
        opacity: 0;
        transform: translateX(-30px);
        will-change: transform, opacity;
    }
    100% {
        opacity: 1;
        transform: translateX(0);
        will-change: auto;
    }
}

@keyframes fadeInLeft {
    0% {
        opacity: 0;
        transform: translateX(30px);
        will-change: transform, opacity;
    }
    100% {
        opacity: 1;
        transform: translateX(0);
        will-change: auto;
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
        will-change: opacity;
    }
    100% {
        opacity: 1;
        will-change: auto;
    }
}

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

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

@keyframes spin {
    0% { 
        transform: rotate(0deg);
        will-change: transform;
    }
    100% { 
        transform: rotate(360deg);
        will-change: auto;
    }
}

/* Utility Classes */
.fadeIn {
    animation: fadeIn 0.5s ease forwards;
}

/* Consolidated Media Queries */
@media (max-width: 1150px) {
    /* Navigation */
    .hamburger {
        display: flex;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--white);
        padding: 1rem;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        flex-direction: column;
        align-items: center;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        margin: 0.5rem 0;
        width: 100%;
        text-align: center;
        padding: 0.5rem;
    }

    .lang-switch {
        margin: 0.5rem 0;
    }

    .navbar {
        padding: 0.7rem 1rem;
    }

    .logo h1 {
        font-size: 1.2rem;
    }

    .logo img {
        max-height: 65px;
    }

    /* Services Detail Page - Mobile Optimization */
    .services-detail {
        padding: 3rem 1rem 1rem;
    }

    .services-detail h1 {
        font-size: 1.8rem;
        margin-top: 4rem;
    }

    .service-detail-container {
        padding: 1rem;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }

    .service-detail-item {
        margin-bottom: 2rem;
        padding: 1.2rem;
        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    }

    .service-detail-header {
        flex-direction: column;
        margin-bottom: 1.5rem;
        text-align: center;
    }

    .service-detail-icon {
        margin-right: 0;
        margin-bottom: 1rem;
        width: 60px;
        height: 60px;
    }

    .service-detail-icon i {
        font-size: 1.5rem;
    }

    .service-detail-title h2 {
        font-size: 1.4rem;
        text-align: center;
    }

    .service-detail-content {
        font-size: 1rem;
        line-height: 1.6;
    }

    .service-detail-content ul {
        margin-left: 1rem;
    }

    .cta-container {
        margin-top: 2rem;
    }

    /* Hero Section */
    .hero {
        height: 100vh;
        padding-top: 60px;
    }

    .hero-content h2 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .cta-button {
        padding: 0.8rem 1.6rem;
        font-size: 1rem;
    }

    /* Services Section */
    .service-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .service-card img {
        height: 180px;
    }

    .service-content {
        padding: 1.2rem;
    }

    .service-card h3 {
        font-size: 1.2rem;
        margin-bottom: 0.7rem;
    }

    .service-card p {
        font-size: 0.95rem;
        line-height: 1.5;
    }

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

    .service-divider {
        width: 50px;
        height: 3px;
        background-color: var(--secondary-color);
        margin: 0.5rem 0;
        border-radius: 2px;
        transition: all var(--transition-medium);
    }

    .service-card:hover .service-divider {
        width: 80px;
    }

    /* Gallery Section */
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        padding: 1rem;
    }

    .gallery-page {
        padding: 3rem 1rem;
    }
    
    .gallery-page .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }

    /* Contact Section */
    .contact-container {
        flex-direction: column;
        gap: 4rem;
    }

    .contact-info, 
    .contact-form {
        width: 100%;
    }

    .contact-item {
        padding: 0.8rem;
        border-bottom: 1px solid rgba(0, 0, 0, 0.5);
    }
    
    .contact-item i {
        font-size: 1.4rem;
        margin-right: 0.8rem;
        width: 2rem;
        text-align: center;
    }
    
    .contact-item p, 
    .contact-item a {
        font-size: 1rem;
    }
    
    .contact-form input,
    .contact-form textarea {
        padding: 0.8rem;
        margin-bottom: 1rem;
        font-size: 0.95rem;
    }
    
    .contact-form .submit-button {
        width: 100%;
        padding: 0.8rem;
        font-size: 1rem;
    }

    /* Page Headers */
    .page-header {
        height: 20vh;
        margin-top: 80px;
    }

    .page-header h1 {
        font-size: 1.8rem;
    }

    .page-header-image {
        max-width: 100%;
        max-height: 180px;
        object-fit: cover;
        object-position: center;
    }

    .gallery-page-header,
    .about-page-header {
        height: auto;
        margin-top: 60px;
    }

    /* About Page */
    .about-content {
        padding: 0 1rem;
    }

    .about-content p {
        font-size: 1rem;
    }

    .about-page {
        padding: 3rem 1rem;
    }

    .about-page .about-content p {
        font-size: 1rem;
    }

    /* Gallery Page Header - Mobile Improvements */
    .gallery-page-header {
        position: relative;
        width: 100%;
        overflow: hidden;
    }
    
    .gallery-page-header .page-header-image {
        height: 100%;
        object-fit: cover;
        object-position: center;
        display: block;
        transition: transform 0.3s ease;
    }
    
    /* Mobile Card Layout (replacing timeline) */
    .timeline-gallery {
        padding: 1.5rem 1rem;
    }
    
    .timeline::after {
        display: none; /* Hide timeline connector */
    }
    
    .timeline {
        display: flex;
        flex-direction: column;
        gap: 1.8rem; /* Increased spacing between cards */
    }
    
    .timeline-item,
    .timeline-item:nth-child(even),
    .timeline-item:nth-child(odd) {
        flex-direction: column;
        width: 100%;
        padding: 0;
        margin-bottom: 0;
        border-radius: 14px;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
        background-color: #ffffff;
        overflow: hidden;
        position: relative;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    
    .timeline-item.fadeIn {
        animation: cardFadeIn 0.6s ease forwards;
    }
    
    .timeline-date-content,
    .timeline-item:nth-child(even) .timeline-date-content,
    .timeline-item:nth-child(odd) .timeline-date-content {
        width: 100%;
        text-align: left;
        padding: 0;
        order: 2;
    }
    
    .timeline-img-container,
    .timeline-item:nth-child(even) .timeline-img-container,
    .timeline-item:nth-child(odd) .timeline-img-container {
        width: 100%;
        padding: 0;
        margin: 0;
        order: 1;
    }
    
    /* Remove timeline visual elements */
    .timeline-img-container::before,
    .timeline-item:nth-child(even) .timeline-img-container::before,
    .timeline-img-container::after,
    .timeline-item:nth-child(odd) .timeline-img-container::after,
    .timeline-item:nth-child(even) .timeline-img-container::after {
        display: none;
    }
    
    /* Date badge styling - more prominent */
    .timeline-date {
        position: absolute;
        top: 12px;
        right: 12px;
        margin: 0;
        z-index: 5;
    }
    
    .timeline-date span {
        padding: 0.4rem 1rem;
        font-size: 0.9rem;
        min-width: auto;
        font-weight: 600;
        background-color: var(--secondary-color);
        color: var(--white);
        border-radius: 30px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
    }
    
    /* Image styling - enhanced for better display */
    .timeline-img {
        margin: 0;
        border-radius: 0;
        overflow: hidden;
        box-shadow: none;
        position: relative;
        height: 0;
        padding-bottom: 60%; /* Adjusted for better image display */
    }
    
    .timeline-img img {
        width: 100%;
        height: 100%;
        display: block;
        object-fit: cover;
        object-position: center;
        position: absolute;
        top: 0;
        left: 0;
    }
    
    /* Text content styling - more breathing room */
    .timeline-text {
        width: 100%;
        max-width: 100%;
        padding: 1.2rem 1.2rem 1.5rem;
    }
    
    .timeline-text h2 {
        font-size: 1.4rem;
        margin-bottom: 0.8rem;
        color: var(--primary-color);
        font-weight: 600;
        padding-bottom: 0;
        line-height: 1.3;
    }
    
    .timeline-text h2::after {
        display: none;
    }
    
    .timeline-text p {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 0;
        color: var(--text-color);
        opacity: 0.9;
    }
    
    /* Card hover/touch effect */
    .timeline-item:active {
        transform: scale(0.98);
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    }
    
    /* Mobile touch interactions */
    .timeline-img:hover,
    .timeline-img:hover img {
        transform: none;
        box-shadow: none;
    }
    
    /* Timeline Gallery "Load More" Button */
    .load-more-container {
        width: 100%;
        display: flex;
        justify-content: center;
        margin: 1.5rem 0 2rem;
    }
    
    .load-more-btn {
        padding: 0.8rem 1.5rem;
        background-color: var(--white);
        color: var(--primary-color);
        border: 2px solid var(--secondary-color);
        border-radius: 30px;
        font-weight: 600;
        font-size: 1rem;
        cursor: pointer;
        transition: all 0.3s var(--ease-out-back);
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        position: relative;
        overflow: hidden;
        z-index: 1;
    }
    
    .load-more-btn::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 0;
        height: 100%;
        background-color: var(--secondary-color);
        transition: width 0.3s ease;
        z-index: -1;
    }
    
    .load-more-btn:active {
        transform: scale(0.96);
    }
    
    .load-more-btn:active::before {
        width: 100%;
    }
    
    .load-more-btn.loading {
        pointer-events: none;
        opacity: 0.7;
    }
    
    .load-more-btn .spinner {
        display: none;
        margin-left: 8px;
    }
    
    .load-more-btn.loading .spinner {
        display: inline-block;
        animation: spin 1s linear infinite;
    }

    /* Thank You Page */
    .thank-you-page {
        padding: 6rem 5% 4rem;
    }
    
    .thank-you-content i {
        font-size: 4rem;
        margin-bottom: 1.5rem;
    }
    
    .thank-you-content h1 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .thank-you-content p {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
}

/* FAQ Section */
.faq-section {
    padding: 4rem 2rem;
    background-color: #f9f9f9;
}

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

.faq-section h2 {
    text-align: center;
    margin-bottom: 2.5rem;
    color: #2c3e50;
    font-size: 2.2rem;
    position: relative;
}

.faq-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background-color: var(--primary-color);
}

.faq-items {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.faq-item {
    background-color: white;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
}

.faq-item h3 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.faq-item p {
    color: #555;
    line-height: 1.6;
}

@media (max-width: 800px) {
    .faq-section {
        padding: 3rem 1rem;
    }
    
    .faq-section h2 {
        font-size: 1.8rem;
    }
    
    .faq-item {
        padding: 1.2rem;
    }
    
    .faq-item h3 {
        font-size: 1.1rem;
    }
}

/* Thank You Page Styles */
.cta-container { 
    text-align: center; 
    margin: 3rem auto; 
    width: 100%; 
    display: flex; 
    justify-content: center; 
} 

.cta-container .submit-button { 
    display: inline-block; 
    min-width: 250px; 
    text-decoration: none; 
    text-align: center; 
}

/* FAQ Section Styles */
.faq-section {
    // ... existing code ...
}

/* Lightbox Styling */
.lightbox-container {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.lightbox-img {
    display: block;
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border: 3px solid white;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.3s ease-in-out;
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: -10px;
    color: white;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s ease;
}

.lightbox-close:hover {
    color: var(--secondary-color);
    transform: scale(1.2);
}

@media (max-width: 800px) {
    .lightbox-img {
        max-height: 80vh;
    }
    
    .lightbox-close {
        top: -35px;
        right: 0;
        font-size: 30px;
    }
}

/* Gallery Detail Page */
.gallery-detail {
    padding: 4rem 2rem;
    background-color: var(--light-bg);
}

.gallery-detail-container {
    max-width: 1200px;
    margin: 0 auto;
}

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

.gallery-detail-header h1 {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.gallery-detail-header h1::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -10px;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--secondary-color);
}

.gallery-description {
    font-size: 1.1rem;
    color: var(--text-color);
    max-width: 800px;
    margin: 1.5rem auto 0.5rem;
    line-height: 1.6;
}

.gallery-date {
    display: inline-block;
    font-size: 0.95rem;
    color: var(--secondary-color);
    margin-top: 0.5rem;
    font-weight: 500;
}

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

.gallery-image-item {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    position: relative;
    aspect-ratio: 4/3;
}

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

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

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

.back-link-container {
    text-align: center;
    margin-top: 2rem;
}

.back-link {
    display: inline-flex;
    align-items: center;
    color: var(--primary-color);
    font-weight: 500;
    text-decoration: none;
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    background-color: #fff;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.back-link i {
    margin-right: 0.5rem;
}

.back-link:hover {
    background-color: var(--primary-color);
    color: #fff;
    transform: translateY(-2px);
}

@media (max-width: 800px) {
    .gallery-detail {
        padding: 3rem 1rem;
    }
    
    .gallery-detail-header h1 {
        font-size: 1.8rem;
    }
    
    .gallery-description {
        font-size: 1rem;
    }
    
    .gallery-images-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1rem;
    }
}

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