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

:root {
    --primary-black: #000000;
    --primary-white: #ffffff;
    --gray-light: #f5f5f5;
    --gray-medium: #999999;
    --gray-dark: #333333;
}

html {
    overscroll-behavior: none;
    width: 100%;
}

body {
    font-family: 'Poppins', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--primary-black);
    background: var(--primary-white);
    overflow-x: hidden;
    font-weight: 300;
}

/* Header */

nav {
    position: fixed;
    top: 0;
    width: 100%;
    margin: 0;
    padding: 20px 50px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px 0 rgba(200, 200, 200, 0.5);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 80%;
    margin: 0 auto;
}

.logo {
    height: 100%;
    display: flex;
    align-items: center;
    font-size: 30px;
    font-weight: bold;
    color: var(--primary-black);
    ;
    text-decoration: none;
}


.nav-links {
    display: flex;
    list-style: none;
    gap: 3rem;
}

.nav-links-mobile {
    display: none;

}

.nav-links a {
    text-decoration: none;
    color: var(--primary-black);
    font-weight: 400;
    position: relative;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

.nav-links a::before {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-black);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

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

/* ==== HAMBURGER BUTTON ==== */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--primary-black);
    ;
    border-radius: 2px;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {

    nav {
        padding: 20px;
    }

    .nav-container {
        width: 100%;
        margin: 0;

    }


    .nav-links {
        display: none;
    }

    .nav-links-mobile {
        position: fixed;
        top: 0;
        left: 0;
        height: 110vh;
        width: 100%;
        background: rgba(255, 255, 255, 0.98);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 50px;
        transform: translateX(-100%);
        transition: transform 0.4s ease;
        z-index: 2000;
        display: flex;
        list-style: none;
        gap: 40px;
    }

    .nav-link {
        padding: 20px 50px;
        color: #000000;
        text-decoration: none;
        transition: all 0.3s ease;
        position: relative;
        font-weight: 300;
        letter-spacing: 1px;
    }

    .nav-links-mobile.open {
        transform: translateX(0);
    }

    .menu-toggle {
        display: flex;
    }

}


/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(135deg, #ffffff 0%, #f8f8f8 100%);
    overflow: hidden;
    padding: 3rem 0;
}

.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--primary-black);
    border-radius: 0;
    overflow: hidden;
    z-index: 0;
}

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

.video-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #333, #666);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-white);
    font-size: 2rem;
    font-weight: 700;
}

.hero-content {
    text-align: center;
    z-index: 2;
    max-width: 800px;
    padding: 0 2rem;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 200;
    margin-bottom: 1rem;
    opacity: 0;
    animation: slideUp 1s ease 0.5s forwards;
    letter-spacing: 4px;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--gray-medium);
    margin-bottom: 3rem;
    opacity: 0;
    animation: slideUp 1s ease 0.7s forwards;
}

.cta-button {
    display: inline-block;
    background: var(--primary-black);
    color: var(--primary-white);
    padding: 1rem 3rem;
    text-decoration: none;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    opacity: 0;
    animation: slideUp 1s ease 0.9s forwards;
}

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

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

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Services Section */
.services {
    padding: 0;
    background: var(--primary-black);
    color: var(--primary-white);
    position: relative;
}

.services-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 2rem;
}

.services h2 {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 4rem;
    font-weight: 300;
    letter-spacing: 2px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.service-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 3rem 2rem 2rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 350px;
    cursor: pointer;
}

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

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

.service-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.1);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 500;
    letter-spacing: 1px;
}

.service-card .learn-more {
    display: inline-block;
    margin-top: 1rem;
    color: var(--primary-white);
    text-decoration: none;
    font-weight: 400;
    border: 2px solid var(--primary-white);
    padding: 0.5rem 1.5rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.9rem;
}

.service-card .learn-more:hover {
    background: var(--primary-white);
    color: var(--primary-black);
    transform: translateY(-2px);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background: var(--primary-white);
    margin: 7.5vh auto;
    padding: 0;
    width: 90%;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    animation: slideInDown 0.3s ease;
}

.modal-header {
    background: var(--primary-black);
    color: var(--primary-white);
    padding: 2rem;
    display: flex;               
    align-items: center;         
    justify-content: space-between; 
    gap: 1rem;  }

.modal-header h2 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 900;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;     
    overflow-wrap: break-word; 
}

.close {
    color: var(--primary-white);
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.close:hover {
    transform: scale(1.1);
    opacity: 0.7;
}

.modal-body {
    padding: 0;
    line-height: 1.8;
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-images {
    width: 45%;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-images::before,
.modal-images::after {
    content: "";
    position: absolute;
    top: 0;
    left:0;
    bottom: 0;
    width: 10%; 
    pointer-events: none; 
    z-index: 5;           
    background: linear-gradient(to right, white 0%, transparent 100%);
}

.modal-images::after {
    right: 0;
    left: auto;
    background: linear-gradient(to left, white 0%, transparent 100%);
}

.carousel-track {
    display: flex;
    width: 100%;
    transition: transform 0.4s ease;
}

.modal-image {
    min-width: 80%;
    height: 45vh;
    margin: auto 10%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #eee;
    border: 1px solid #ccc;
    font-size: 1.5rem;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    color: black;
    border: none;
    font-size: 4rem;
    padding: 0.8rem;
    cursor: pointer;
    z-index: 10;
}

.prev {
    left: 5px;
}

.next {
    right: 5px;
}

.modal-text-content {
    width: 55%;
    padding: 2rem;
    height: 100%;
}


.modal-intro {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: var(--gray-dark);
    text-align: center;
}

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

.feature-item {
    background: var(--gray-light);
    padding: 1.5rem;
    border-radius: 0;
    transition: all 0.3s ease;
    border-left: 4px solid var(--primary-black);
}

.feature-item:hover {
    transform: translateX(5px);
    background: var(--primary-black);
    color: var(--primary-white);
}

.feature-item h4 {
    margin: 0 0 0.5rem 0;
    font-weight: 700;
    font-size: 1rem;
}

.feature-item p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.8;
}

.modal-cta {
    background: var(--gray-light);
    padding: 2rem;
    text-align: center;
    font-weight: 600;
    color: var(--gray-dark);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideInDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* About Section */
.about {
    padding: 100px 0;
    background: var(--gray-light);
    position: relative;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-content h2 {
    font-size: 3rem;
    margin-bottom: 2rem;
    font-weight: 300;
    letter-spacing: 2px;
}

.about-content p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--gray-dark);
    margin-bottom: 1.5rem;
}

.about-image {
    position: relative;
    height: 400px;
    background: var(--primary-black);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-white);
    font-size: 2rem;
    font-weight: 700;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: var(--primary-black);
    color: var(--primary-white);
    position: relative;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.contact h2 {
    font-size: 3rem;
    margin-bottom: 2rem;
    font-weight: 300;
    text-align: center;
    letter-spacing: 2px;
}

.contact-grid {
    display: block;
    margin-top: 3rem;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.contact-item {
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    text-align: center;
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.contact-item h3 {
    margin-bottom: 1rem;
    font-weight: 700;
}

/* Contact Form */
.contact-form {
    background: rgba(255, 255, 255, 0.05);
    padding: 3rem;
    border-radius: 0;
    max-width: 1000px;
    margin: 0 auto;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.form-row.full-width {
    grid-template-columns: 1fr;
}

.form-group {
    margin-bottom: 0;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--primary-white);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid transparent;
    color: var(--primary-white);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-white);
    background: rgba(255, 255, 255, 0.15);
}

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

.submit-btn {
    background: var(--primary-white);
    color: var(--primary-black);
    padding: 1rem 3rem;
    border: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

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

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.3);
}

/* Custom Dropdown */
.custom-select {
    position: relative;
    width: 100%;
}

.custom-select select {
    display: none;
}

.select-selected {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid transparent;
    padding: 1rem;
    color: var(--primary-white);
    font-size: 1rem;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

.select-selected:after {
    position: absolute;
    content: "";
    top: 50%;
    right: 1rem;
    width: 0;
    height: 0;
    border: 6px solid transparent;
    border-color: var(--primary-white) transparent transparent transparent;
    transform: translateY(-50%);
    transition: transform 0.3s ease;
}

.select-selected.select-arrow-active:after {
    border-color: transparent transparent var(--primary-white) transparent;
    transform: translateY(-50%) rotate(180deg);
}

.select-selected:hover,
.select-selected.select-arrow-active {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--primary-white);
}

.select-items {
    position: absolute;
    background: rgba(0, 0, 0, 0.95);
    top: 100%;
    left: 0;
    right: 0;
    z-index: 99;
    border: 2px solid var(--primary-white);
    border-top: none;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.select-items.show {
    max-height: 300px;
    overflow-y: auto;
}

.select-items div {
    color: var(--primary-white);
    padding: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.select-items div:last-child {
    border-bottom: none;
}

.select-items div:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
}

.same-as-selected {
    background: rgba(255, 255, 255, 0.2) !important;
}

.select-hide {
    display: none;
}

/* Footer */
.footer {
    padding: 2rem 0;
    background: var(--primary-white);
    text-align: center;
    border-top: 1px solid #eee;
}

.footer-links {
    text-align: center;
    margin-top: 10px;
    font-size: 0.9em;
}

.footer-links a {
    text-decoration: none;
    margin: 0 5px;
    color: #666;
    border-bottom: 2px solid transparent;
    transition: border-bottom 0.3s ease;
}

/* Animations */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(45deg);
    }

    50% {
        transform: translateY(-20px) rotate(45deg);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
        font-weight: 200;
        letter-spacing: 2px;
    }

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


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

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

    .contact-info {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .services h2,
    .about-content h2,
    .contact h2 {
        font-size: 2rem;
        font-weight: 300;
        letter-spacing: 1px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        max-width: 100%;
    }

    .contact-form {
        padding: 2rem;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .modal-header h2{
        font-size: 1.3rem;
    }

    .modal-body{
        display: block;
    }

    .modal-content {
        width: 90%;
        margin: 10% auto;
    }

    .modal-images {
        width: 100%;
        margin-bottom:5vh ;
        padding:0;
    }

    .carousel-btn {
        display: none;
    }

    .modal-text-content {
        width: 100%;
    }

    .modal-header,
    .modal-text-content {
        padding: 1.5rem;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .hero-video-container {
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
    }
}

/* Scroll animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}