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

header {
    overflow: visible;
}

body {
    line-height: 1.6;
}

/* Navigation Bar */
.navbar {
    display: flex;
    justify-content: space-between; 
    align-items: center;
    background-color: #333;
    color: white;
    padding: 10px 10%;
    position: fixed;
    top: 0;
    z-index: 1000;
    width: 100%;
}

.nav-links {
    display: none;
    flex-direction: column;
    gap: 10px;
    background-color: #333;
    position: absolute;
    top: 100%;
    right: 0;
    margin-right: 10%;
    width: 180px;
    padding: 10px;
    border-radius: 5px;
    z-index: 999;
    list-style: none; /* Removes bullet points */
    text-align: center;
    animation: fadeIn 0.3s ease-in-out;
}

.nav-links a {
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    display: inline-block;
    border-radius: 10px;
    transition: background 0.3s;
    font-size: 1rem;
}

.nav-links a:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

/* Show Menu When Opened */
.nav-links.show {
    display: flex;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.nav-left, .nav-right {
    display: flex;
    align-items: center;
}

.nav-logo img {
    width: 70px;
    height: auto;
    margin-right: auto;
}

/* Hamburger */
.nav-toggle {
    background: none;
    color: white;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    z-index: 1001;
}

/* Hero Section */
.hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: left;
    padding: 20px;
    padding-top: 100px; 
    box-sizing: border-box;
    background: #333;
    min-height: 100vh;
    height: auto;
}

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

.hero-text {
    font-family: 'Arial', sans-serif;
    font-size: 4vw;
    color: #f4f4f4;
    flex: 1;
    padding: 5px;
    text-align: center;
}

.hero h1 {
    font-size: 4rem;
    color: #d6d6d6;
    margin-bottom: 20px;
    word-wrap: break-word;
    font-family: "Courier New", Courier, monospace;
}

.hero p {
    font-size: 1.5rem;
    color: #eeeeee;
    margin-bottom: 30px;
}

.description-box {
    padding: 15px;
    background-color: #333;
    border-radius: 10px;
    text-align: left;
    padding-top: 40px;
}

.hero-gif {
    width: 100%;
    max-width: 600px;
    height: auto;
    display: block;
    margin: 0 auto;
}


/* Our Services */
#services {
    text-align: center;
    padding: 50px 20px;
    background-color: #f5f5f5;
}

#services h2 {
    color: #3a3a3a;
    font-family: 'Arial', sans-serif;
    font-size: 2rem;
    margin-bottom: 40px;
}

/* Individual Service Boxes */
.service-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 50px auto;
    max-width: 1200px;
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
    text-align: left;
}

/* Text and Image sections */
.service-box .text,
.service-box .image {
    flex: 1;
    padding: 30px;
}

/* Image settings */
.service-box .image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    object-fit: cover;
}

/* Typography */
.service-box h3 {
    font-size: 28px;
    margin-bottom: 10px;
    color: #333;
    font-family: 'Courier New', monospace;
    word-wrap: break-word;
    white-space: normal;
}

.service-box p {
    color: #333;
    font-family: "Barlow", sans-serif;
    padding: 10px 0;
    text-align: left;
}

/* Alternating layout for cascade effect */
.service-box.left .text {
    order: 1;
}

.service-box.left .image {
    order: 2;
}

.service-box.right .image {
    order: 1;
}

.service-box.right .text {
    order: 2;
}

/* Responsive Design */
@media (max-width: 768px) {
    .service-box {
        flex-direction: column;
    }

    .service-box .text,
    .service-box .image {
        order: unset !important;
        padding: 20px;
    }

    .service-box .image img {
        border-radius: 10px;
    }
}
/* Responsive Design for phones */
@media screen and (orientation: landscape) and (max-width: 768px) {
    .hero {
        padding-top: 140px;
    }

    .nav-logo img {
        width: 50px;
    }
}


/* Contact Section */
/* Contact Form */
.contact {
    background-color: #333;
    color: #fff;
    padding: 60px 20px;
    text-align: center;
}

.contact h2 {
    color: #ccc;
    margin-bottom: 30px;
    font-size: 2rem;
}

.contact .contact-card {
    background-color: #fff;
    color: #333;
    max-width: 500px;
    margin: 0 auto;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}
.contact input,
.contact textarea {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.contact button {
    background-color: #333;
    color: #fff;
    border: none;
    padding: 12px;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 10px;
}

.contact button:hover {
    background-color: #555;
}


/* About Us Section */
.about {
    padding: 60px 20px;
    background-color: #f5f5f5;
    text-align: center;
}

.about h2 {
    font-size: 2.5rem;
    color: #3a3a3a;
    margin-bottom: 40px;
    font-family: 'Arial', sans-serif;
}

.about p {
    font-size: 1.2rem;
    color: #333;
    line-height: 1.8;
    font-family: "Barlow", sans-serif;
    margin-bottom: 30px;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.about img {
    width: 100%;
    max-width: 600px;
    margin: 20px 0;
    border-radius: 10px;
    object-fit: cover;
}


/* Footer */
#footer {
    background-color: #333;
    color: white;
    padding: 30px 20px;
    font-family: 'Arial', sans-serif;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: auto;
}

.footer-left,
.footer-right {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.footer-left p,
.footer-right a {
    color: white;
    text-decoration: none;
    font-size: 14px;
}

.footer-right a:hover {
    text-decoration: underline;
}

.footer-center {
    margin: 10px 0;
}

#footer a {
    color: #90cdf4;
    text-decoration: none;
    transition: color 0.2s ease;
}

#footer a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.social-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
    vertical-align: middle;
    transition: transform 0.2s;
}

.social-icon:hover {
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        align-items: center;
        gap: 20px;
        text-align: center;
    }
}


/* Responsive Hero Text */
@media (max-width: 600px) {
    .hero h1 {
        font-size: 2rem;
    }

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