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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Oxygen', Roboto, Segoe UI, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

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

/* Header Styles */
.header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0rem 0 px;
}

.logo-mark {
    display: inline-block;
    height: 3.15em;
    width: auto;
    flex-shrink: 0;
    vertical-align: middle;
    filter: var(--logo-filter, none);
    transition: filter 0.3s ease;
}







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

.theme-toggle-wrapper {
    display: flex;
    align-items: center;
    margin-left: auto;
}

.theme-toggle {
    background: none;
    border: 2px solid #2c3e50;
    border-radius: 50px;
    width: 50px;
    height: 30px;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.theme-toggle:hover {
    border-color: #3498db;
    transform: scale(1.05);
}

.theme-toggle-icon {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
    display: block;
}

.theme-toggle.dark .theme-toggle-icon {
    content: '☀️';
}

.nav-menu a {
    text-decoration: none;
    color: #333;color: #2c3e50;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a:hover {
    color: #3498db;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #3498db;
    transition: width 0.3s ease;
}

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

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

.nav-toggle span {
    width: 25px;
    height: 3px;
    background-color: #333;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    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: 1;
    max-width: 800px;
    padding: 0 20px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: rgb(221, 220, 220);
    color: #667eea;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: fadeInUp 1s ease 0.4s both;
}

.hero-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(117, 116, 10, 0.866);
}

.page-hero {
    height: 70vh;
    min-height: 420px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.page-hero::before {
    background: rgba(0, 0, 0, 0.35);
    opacity: 1;
}

.page-hero .hero-content {
    width: 100%;
    text-align: center;
}

.page-hero .content-title {
    color: #fff;
    margin-bottom: 0;
    text-shadow: 0 3px 12px rgba(0, 0, 0, 0.35);
}

body.services-page .page-hero {
    background-image: url('images/services_hero.webp');
}

body.about-page .page-hero {
    background-image: url('images/about_hero.webp');
}

body.faq-page .page-hero {
    background-image: url('images/faq_hero.webp');
}

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

/* Content Section */
.content-section {
    padding: 5rem 0;
    background-color: #f8f9fa;
}

.content-wrapper {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.content-wrapper-reversed {
    flex-direction: row-reverse;
}

.content-image {
    flex: 1;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.content-image img,
.content-image video {
    width: 100%;
    height: auto;
    display: block;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.content-image img.fade-in,
.content-image video.fade-in {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease, transform 0.3s ease;
}

.content-image:hover img.fade-in,
.content-image:hover video.fade-in {
    transform: translateY(0) scale(1.05);
}

.content-text {
    flex: 1;
}

.content-title {
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.content-title.fade-in {
    opacity: 1;
    transform: translateY(0);
}

.hero .content-title {
    opacity: 1 !important;
    transform: none !important;
}

h1.content-title {
    font-size: 3.2rem;
}

h2.content-title {
    font-size: 2.2rem;
}

h3.content-title {
    font-size: 1.8rem;
}

.content-description {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 1rem;
    line-height: 1.8;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.content-description.fade-in {
    opacity: 1;
    transform: translateY(0);
}

/* Footer */
.footer {
    background-color: #2c3e50;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-logo a {
    font-size: 1.8rem;
    font-weight: bold;
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-logo a:hover {
    color: #3498db;
}

.footer-links {
    display: flex;
    gap: 3rem;
    flex-wrap: wrap;
}

.footer-column h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #ecf0f1;
}

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

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

.footer-column ul li a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.footer-column ul li a:hover {
    color: #3498db;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: left 0.3s ease;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
        gap: 1rem;
    }

    body.dark-mode .nav-menu {
        background-color: #2d2d2d;
    }

    .theme-toggle-wrapper {
        margin-left: 0;
        justify-content: center;
    }

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

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

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

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

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

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

    .content-wrapper {
        flex-direction: column;
        gap: 2rem;
    }

    .page-hero {
        height: 60vh;
        min-height: 340px;
    }

    h1.content-title {
        font-size: 2.6rem;
    }

    h2.content-title {
        font-size: 1.8rem;
    }

    h3.content-title {
        font-size: 1.5rem;
    }

    .footer-content {
        flex-direction: column;
    }

    .footer-links {
        flex-direction: column;
        gap: 2rem;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

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

    .hero-button {
        padding: 0.8rem 2rem;
        font-size: 0.9rem;
    }

    .page-hero {
        height: 55vh;
        min-height: 300px;
    }

    .content-section {
        padding: 3rem 0;
    }

    h1.content-title {
        font-size: 2.25rem;
    }

    h2.content-title {
        font-size: 1.6rem;
    }

    h3.content-title {
        font-size: 1.35rem;
    }

    .content-description {
        font-size: 1rem;
    }
}

/* Dark Mode Styles */
body.dark-mode {
    background-color: #1a1a1a;
    color: #e0e0e0;
    --logo-filter: invert(1) brightness(1.1);
    --logo-hover-filter: invert(1) brightness(1.1);
}

body.dark-mode .header {
    background-color: #0e0e0e;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

body.dark-mode .logo a {
    color: #e0e0e0;
}

body.dark-mode .logo a:hover {
    color: #3498db;
}







body.dark-mode .nav-menu a {
    color: #e0e0e0;
}

body.dark-mode .nav-menu a:hover {
    color: #3498db;
}

body.dark-mode .nav-toggle span {
    background-color: #e0e0e0;
}

body.dark-mode .theme-toggle {
    border-color: #e0e0e0;
    background-color: #2d2d2d;
}

body.dark-mode .theme-toggle:hover {
    border-color: #3498db;
}

body.dark-mode .content-section {
    background-color: #1a1a1a;
}

body.dark-mode .content-title {
    color: #e0e0e0;
}

body.dark-mode .content-description {
    color: #b0b0b0;
}

body.dark-mode .footer {
    background-color: #0e0e0e;
    border-top: 1px solid #2d2d2d;
}

