body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    color: #333;
    background: #f4f4f4;
}

.header {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.header-content {
    position: relative;
    z-index: 2;
    color: #fff;
    text-align: center;
    padding-top: 20%;
}

/* Base Navbar Styles */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(149,178,176, 0.7);
    color: #0f0f0f;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 10px 20px;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Current Page Link (Visible in Mobile View) */
.navbar .current-page {
    font-size: 1.2em;
    font-weight: bold;
    color: #333;
}

/* Hamburger Menu Button */
.navbar .hamburger {
    display: none;
    font-size: 1.5em;
    background: none;
    border: none;
    cursor: pointer;
}

/* Full Menu (Desktop View) */
.navbar ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
    gap: 20px;
}

.navbar ul li a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
    transition: color 0.3s;
}

.navbar ul li a.active {
    color: #ffdd57;
}

.navbar ul li a:hover {
    color: #ffdd57;
}

/* Hidden Menu for Mobile View */
@media (max-width: 768px) {
    .navbar .hamburger {
        display: block;
    }

    .navbar ul {
        display: none;
        position: absolute;
        top: 60px;
        right: 20px;
        background: #fff;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        border-radius: 8px;
        flex-direction: column;
        gap: 15px;
        padding: 10px 20px;
        z-index: 1000;
    }

    .navbar ul.active {
        display: flex;
    }
}

/* Services Section */
.services {
    padding: 60px 20px;
    background: #f4f4f4;
    align-items: center;
}
.services h2 {
    text-align: center;
    font-size: 2em;
    margin-bottom: 20px;
    color: #1E2A78;
}
/* Services Grid */
.services-list {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 30px;
max-width: 1200px;
margin: 0 auto;
padding: 20px;
}

.service-item {
height: 300px;
width: 100%;
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
border-radius: 10px;
overflow: hidden;
}

/* Mobile Responsive */
@media (max-width: 992px) {
.services-list {
grid-template-columns: repeat(2, 1fr);
gap: 20px;
}
}

@media (max-width: 768px) {
.services-list {
grid-template-columns: 1fr;
max-width: 500px;
}

.service-item {
height: 350px;
}
}

@media (max-width: 480px) {
.service-item {
height: 300px;
}
}
.service-item-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.6s;
}
.service-item:hover .service-item-inner {
    transform: rotateY(180deg);
}
.service-item-front, .service-item-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 10px;
}
.service-item-front {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.service-item-back {
    background: #f6f6f8;
    color: #fa0b0b;
    transform: rotateY(180deg);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.service-item i {
    font-size: 2em;
    color: #ffd700;
    margin-bottom: 20px;
}
.service-item h3 {
    font-size: 1.4em;
    margin-bottom: 15px;
    color: #333;
    background-color: #f7f5f1;
}
.service-item p {
    font-size: 0.9em;
    color: #0e0d0d;
}

/* Footer Section */
.footer {
    background: rgba(149,178,176, 0.7);
    color: #0f0f0f;
    text-align: center;
    padding: 20px;
    margin-top: 50px;
}
.footer p {
    font-size: 1em;
    margin: 0;
}

@media (max-width: 768px) {
    .footer {
        font-size: 0.9em;
    }
}
.contact-btn {
padding: 15px 30px;
background: #1E2A78;
color: #fff;
text-decoration: none;
border-radius: 5px;
margin: 10px;
font-weight: bold;
transition: background 0.3s, color 0.3s;
display: inline-block;
}

.contact-btn:hover {
background: #ffdd57;
color: #000;
}
