/* General Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background: #f4f4f4;
    color: #333;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 100vh;
    object-fit: cover; /* Ensures the video covers the entire section */
    transform: translate(-50%, -50%);
    z-index: -1;
}

/* Navbar Styling */
header {
    background-color: hsl(208, 30%, 51%);
    color: rgb(228, 215, 215);
    padding: 1rem 0;
}

nav {
    background: #333;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
}

nav .logo {
    color: lightblue;
    font-size: 24px;
    font-weight: bold;
}
nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}
nav ul li {
    margin-left: 20px;
}
nav ul li a {
    color: white;
    text-decoration: none;
    padding: 10px;
    transition: color 0.3s;
}
nav ul li a:hover, 
nav ul li a.active {
    color: #f4a261;
}

.feature img {
    float: left; /* Aligns image to the left */
    margin-right: 15px; /* Adds spacing between text and image */
    max-width: 40%; /* Ensures the image doesn’t take too much space */
    height: auto; /* Keeps aspect ratio */
}
nav ul li a {
    position: relative;
    color: white;
    text-decoration: none;
    padding: 5px 0;
}

nav ul li a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -2px;
    width: 0%;
    height: 2px;
    background: #FFD700;
    transition: width 0.3s ease-in-out, left 0.3s ease-in-out;
}

nav ul li a:hover::after {
    width: 100%;
    left: 0;
}


/* Hamburger Icon (Hidden by Default) */
.hamburger {
    display: none;
    font-size: 28px;
    cursor: pointer;
    color: white;
    z-index: 10;
}

@media (max-width: 768px) {
    nav ul {
        display: none; /* Hide menu on small screens */
        flex-direction: column;
        width: 80%;
        background-color: #333;
        position: absolute;
        top: 60px;
        left: 50%;
        transform: translateX(-50%); /* Correct centering */
        z-index: 1000;
    }

    nav ul.active {
        display: flex; /* Show menu when active */
    }

    .hamburger {
        display: block; /* Show hamburger icon */
    }
    /* Optional: Style the links in the hamburger menu */
    nav ul li {
        margin: 10px 0;
        text-align: center;
    }

    nav ul li a {
        padding: 15px;
        font-size: 18px;
    }
}



.feature {
    overflow: hidden; /* Prevents layout issues due to floating elements */
}

.hero-content {
    background-image: url("/images/violent_spiral_spring.mp4");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 100vh; /* Full screen height */
    display: flex;
    flex-direction: column;
    justify-content: center; /* Centers content vertically */
    align-items: center; /* Centers content horizontally */
    text-align: center;
    color: white;
    padding: 20px;
}



/* HERO SECTION */
.hero {
    position: relative;
    width: 100%;
    height: 100vh; /* Full viewport height */
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* BACKGROUND VIDEO */

/* HERO CONTENT */
.hero-content {
    position: relative;
    z-index: 1;
    color: white;
    background: rgba(0, 0, 0, 0.5); /* Semi-transparent background for readability */
    padding: 20px;
    border-radius: 10px;
    text-align: center;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

/* BUTTON STYLE */
.btn {
    display: inline-block;
    padding: 12px 24px;
    font-size: 1.2rem;
    color: white;
    background: #28a745;
    border-radius: 5px;
    text-decoration: none;
    transition: 0.3s ease-in-out;
}

.btn:hover {
    background: #218838;
}

/* RESPONSIVENESS */
@media (max-width: 768px) {
    .hero {
        height: 80vh;
    }

    .hero-content {
        max-width: 90%;
        padding: 15px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .btn {
        font-size: 1rem;
        padding: 10px 20px;
    }
}

footer {
    background-color: hsl(208, 30%, 51%); /* Match header background */
    color: rgb(228, 215, 215); /* Match header text color */
    padding: 30px 0;
    text-align: center;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-nav ul {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.footer-nav ul li {
    margin: 0 15px;
}

.footer-nav ul li a {
    color: rgb(228, 215, 215); /* Match header text color */
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-nav ul li a:hover {
    text-decoration: underline;
    color: #FFD700; /* Hover color */
}

.footer-copyright {
    text-align: center;
    margin-top: 10px;
}

.footer-copyright p {
    margin: 0;
    font-size: 0.9em;
}

/* Responsive Adjustments */
@media (min-width: 768px) {
    footer {
        text-align: center;
    }

    .footer-container {
        flex-direction: column;
        align-items: center;
    }

    .footer-nav ul {
        justify-content: center;
        margin-bottom: 10px;
    }

    .footer-copyright {
        text-align: center;
    }
}


/* ABOUT BANNER - Video Background */
.about-banner {
    position: relative;
    width: 100%;
    height: 60vh; /* Adjust height based on design preference */
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* BACKGROUND VIDEO */

/* CONTAINER FOR ABOUT SECTIONS */
.about-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 60px 10%;
    background: #f8f9fa;
}

/* BOX DESIGN */
.about-box {
    background: #fff;
    padding: 30px;
    max-width: 400px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease-in-out;
    flex: 1;
    min-width: 280px;
}

/* TITLE */
.about-box h2 {
    color: green;
    font-size: 1.8rem;
    margin-bottom: 15px;
}

/* TEXT */
.about-box p {
    font-size: 1.1rem;
    color: #333;
    line-height: 1.6;
    text-align: justify;
}

/* HOVER EFFECT */
.about-box:hover {
    transform: translateY(-5px);
}

/* RESPONSIVENESS */
@media (max-width: 1024px) {
    .about-container {
        padding: 40px 5%;
    }

    .about-box {
        max-width: 90%;
    }

    .about-box h2 {
        font-size: 1.6rem;
    }

    .about-box p {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .about-container {
        flex-direction: column;
        align-items: center;
    }

    .about-box {
        width: 90%;
        padding: 25px;
    }

    .about-box h2 {
        font-size: 1.5rem;
    }

    .about-box p {
        font-size: 0.95rem;
    }
}



/* RESPONSIVENESS */
@media (max-width: 1024px) {
    .about-banner {
        height: 50vh;
    }

    .about-content {
        padding: 50px 5%;
    }

    .about-content h2 {
        font-size: 2rem;
    }

    .danmaks-text {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .about-banner {
        height: 40vh;
    }

    .about-content {
        padding: 40px 5%;
    }

    .about-content h2 {
        font-size: 1.8rem;
    }

    .danmaks-text {
        font-size: 1rem;
        line-height: 1.6;
    }
}

@media (max-width: 480px) {
    .about-banner {
        height: 35vh;
    }

    .about-content h2 {
        font-size: 1.5rem;
    }

    .danmaks-text {
        font-size: 0.95rem;
    }
}



header {
    background-color: #004080;
    color: #fff;
    padding: 1rem 0;
}

.content-section.why-choose-us {
    background-color: #e8f5e9;
    padding: 50px 20px;
    text-align: center;
}

.content-section.why-choose-us .content-box h2 {
    color: #2e7d32;
    font-size: 2.5em;
    text-transform: uppercase;
    margin-bottom: 30px;
}

.content-section.why-choose-us .content-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.content-section.why-choose-us .content-box li {
    font-size: 1.2em;
    color: #333;
    margin-bottom: 15px;
    padding: 10px 20px;
    background-color: #f1f8e9;
    border-radius: 5px;
    display: inline-block;
    width: 80%;
    max-width: 500px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .content-section.why-choose-us {
        padding: 40px 15px;
    }

    .content-section.why-choose-us .content-box h2 {
        font-size: 2em;
        margin-bottom: 20px;
    }

    .content-section.why-choose-us .content-box li {
        font-size: 1em;
        width: 90%;
        display: block;
        text-align: center;
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .content-section.why-choose-us {
        padding: 30px 10px;
    }

    .content-section.why-choose-us .content-box h2 {
        font-size: 1.8em;
    }
}


.commitment-title {
    color: lightseagreen;
    font-size: 2.2em;
    margin-bottom: 25px;
}

.commitment-paragraph {
    font-size: 1.1em;
    line-height: 1.7;
    color: #333;
    padding: 0 15px; /* Add some padding on the sides of the paragraph */
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .commitment-container {
        max-width: 90%; /* Adjust width for smaller screens */
    }

    .commitment-title {
        font-size: 1.8em; /* Adjust font size for smaller screens */
    }
}


/* Hero Section */
.services-hero {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}



/* Services Section */
.services-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 40px 20px;
}
.service {
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    width: 300px;
    text-align: center;
    transition: transform 0.3s;
}
.service:hover {
    transform: scale(1.05);
}
.service img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}
.service h2 {
    font-size: 22px;
    margin: 15px 0;
}
.service p {
    font-size: 16px;
    padding: 0 15px 20px;
}


/* Contact Page Styling */
.contact-hero {
    background-image: url("images/mobileappdev.jpg");
    background-size: contain;
    background-position: center top;
    background-repeat: no-repeat;
    background-color: gray;
    text-align: center;
    padding: 120px 20px;
    color: white;
}

.contact-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: rgb(31, 123, 243);
}

.contact-hero p {
    font-size: 1.2rem;
    color: rgb(170, 157, 245);
}

.contact-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 20px;
    max-width: 800px;
    margin: auto;
}

.contact-form, .contact-info {
    width: 100%;
    background: #f9f9f9;
    padding: 25px;
    margin: 15px 0;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.contact-form h2, .contact-info h2 {
    text-align: center;
    margin-bottom: 20px;
    color: rgb(170, 157, 245);
}

.contact-form form {
    display: flex;
    flex-direction: column;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.contact-form button {
    background: #165368;
    color: rgb(231, 228, 228);
    border: none;
    padding: 12px;
    font-size: 1.1rem;
    cursor: pointer;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.contact-form button:hover {
    background: #0f2027;
}

/* Contact Info Section */
.contact-info p {
    font-size: 1.1rem;
    margin: 10px 0;
    text-align: center;
}

.contact-info p strong {
    color: #203a43;
}

/* Map Container */
.map-container {
    width: 100%;
    text-align: center;
    margin-top: 30px;
}

.map-container iframe {
    width: 100%;
    height: 350px;
    border-radius: 8px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .contact-hero h1 {
        font-size: 2rem;
    }

    .contact-hero p {
        font-size: 1rem;
    }

    .contact-container {
        width: 90%;
        padding: 20px;
    }

    .contact-form, .contact-info {
        padding: 20px;
    }

    .contact-info p {
        font-size: 1rem;
    }
}

