*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family: Arial, sans-serif;
}

body{
    background:#ffffff;
    color:#0f2027;
}

/* Navbar */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 60px;
    background: linear-gradient(90deg, #0f2027, #203a43, #2c5364);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Logo */
nav img {
    height: 55px;
    cursor: pointer;
}

/* Menu */
nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 35px;
    color: white;
    font-size: 17px;
    font-weight: 500;
    cursor: pointer;
    position: relative;
    transition: 0.3s ease;
}

/* Hover Effect */
nav ul li:hover {
    color: #00e0ff;
}

/* Underline Animation */
nav ul li::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0%;
    height: 2px;
    background-color: #00e0ff;
    transition: 0.4s ease;
}

nav ul li:hover::after {
    width: 100%;
}

/* Navbar Get Quote Button */
nav ul li .btn-quote {
    background: #00e0ff;
    color: #0f2027;
    padding: 8px 18px;
    border-radius: 25px;
    font-weight: 600;
    transition: 0.3s ease;
}

nav ul li .btn-quote:hover {
    background: #00b8cc;
    color: white;
    transform: translateY(-2px);
}

.get-quote::after{
    content: none;
}


/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.7);
}

.modal-content {
    background-color: #fff;
    margin: 10% auto;
    padding: 30px;
    border-radius: 10px;
    width: 90%;
    max-width: 500px;
    position: relative;
}

.modal-content h2 {
    text-align: center;
    margin-bottom: 20px;
}

.modal-content input,
.modal-content textarea {
    width: 100%;
    padding: 10px 15px;
    margin: 10px 0;
    border-radius: 5px;
    border: 1px solid #ccc;
}

.modal-content button.btn-quote {
    width: 100%;
    margin-top: 10px;
}

/* Close Button */
.modal .close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 25px;
    cursor: pointer;
    color: #333;
}

.modal .close:hover {
    color: #00e0ff;
}

/* Responsive */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
        padding: 20px;
    }

    nav ul {
        margin-top: 15px;
        flex-direction: column;
        align-items: center;
    }

    nav ul li {
        margin: 10px 0;
    }
}

nav ul li a {
    text-decoration: none;
    color: white;
}

nav ul li a:hover {
    color: #00e0ff;
}



/* HERO */
.services-hero{
    height:50vh;
    display:flex;
    align-items:center;
    justify-content:center;
    text-align:center;
    background:linear-gradient(rgba(0,0,0,0.6),rgba(0,0,0,0.6)),
    url('https://images.unsplash.com/photo-1552664730-d307ca884978');
    background-size:cover;
}

.services-hero h1{
    font-size:45px;
    color: white;
}

.services-hero p{
    margin-top:15px;
    font-size:18px;
    color: white;
}

/* SECTION */
.services-section{
    padding:100px 60px;
}

.section-title{
    text-align: center;
    margin-bottom: 70px;
    position: relative;
}
    

.section-title h2{
    font-size: 42px;
    font-weight: 700;
    background: linear-gradient(90deg, #206872, #0077ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 15px;
    display: inline-block;
    position: relative;
}

/* Animated Underline */
.section-title h2::after{
    content: "";
    width: 60%;
    height: 4px;
    background: linear-gradient(90deg, #00e0ff, #0077ff);
    position: absolute;
    left: 50%;
    bottom: -10px;
    transform: translateX(-50%);
    border-radius: 5px;
    animation: underlineMove 3s infinite alternate;
}

@keyframes underlineMove{
    0%{
        width: 40%;
    }
    100%{
        width: 70%;
    }
}

/* Paragraph */
.section-title p{
    max-width: 650px;
    margin: 25px auto 0;
    font-size: 18px;
    line-height: 1.8;
    color: #666;
}





.section-title h2 p{
    text-align:center;
    margin-bottom:60px;
    line-height: 40px;
}

.services-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:40px;
}

.service-card{
    background:#0f2027;
    color: white;
    padding:40px;
    border-radius:20px;
    text-align:center;
    backdrop-filter:blur(10px);
    transition:0.4s;
    border:1px solid rgba(255,255,255,0.1);
}

.service-card i{
    font-size:40px;
    color:#00e0ff;
    margin-bottom:20px;
}

.service-card:hover{
    transform:translateY(-15px);
    box-shadow:0 20px 40px rgba(0,224,255,0.2);
}

/* WHY SECTION */
.why-section{
    padding:100px 60px;
    background:#08161c;
    color: white;
    line-height: 30px;
}

.why-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
    gap:50px;
    align-items:center;
}

.why-section ul{
    margin-top:20px;
    line-height:2;
}

.why-image img{
    width:100%;
    border-radius:20px;
}

/* Floating Animation */
@keyframes floatImage {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
    100% {
        transform: translateY(0px);
    }
}

.why-image img{
    width:100%;
    border-radius:20px;
    animation: floatImage 5s ease-in-out infinite;
}

.why-image img{
    width:100%;
    border-radius:20px;
    animation: floatImage 6s ease-in-out infinite;
    transition: 0.5s ease;
}

.why-image img:hover{
    transform: scale(1.05);
    box-shadow: 0 20px 50px rgba(0,224,255,0.4);
}

/* CTA */
.cta{
    text-align:center;
    padding:40px 20px;
    background:white;
    height: 100px;
    
}

.cta h2{
    color:black;
    margin-bottom:10px;
}

.btn{
    display:inline-block;
    padding:12px 30px;
    background: linear-gradient(90deg, #0f2027, #203a43, #2c5364);
    color:white;
    border-radius:30px;
    text-decoration:none;
    font-weight:bold;
    transition:0.3s;
}

.btn:hover{
    background:#2c5364;
    color:rgb(255, 255, 255);
}



/* ================= FOOTER ================= */

.container {
    width: 85%;
    max-width: 1200px;
    margin: auto;
}

footer {
    background: linear-gradient(90deg, #0f2027, #203a43, #2c5364);
    padding: 80px 0 30px;
    margin-top: 100px;
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
}

/* Footer Headings */
footer h3,
footer h4 {
    color: goldenrod;
    margin-bottom: 15px;
    text-align: center;
}

/* Footer Text */
footer p,
footer li {
    color: white;
    font-size: 14px;
    line-height: 20px;
}

/* Footer List */
footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Footer List Items */
footer ul li {
    margin-bottom: 8px;
}

/* Footer Links */
footer ul li a {
    color: white; /* default link color */
    text-decoration: none;
    font-size: 14px;
    line-height: 20px;
    transition: color 0.3s ease, transform 0.3s ease;
}

footer ul li a:hover {
    color: goldenrod;           /* hover color */
    transform: translateX(5px); /* subtle slide effect */
}

/* Footer Stats or Other Info */
footer p {
    margin-bottom: 10px;
}

/* Copyright Section */
.copyright {
    border-top: 1px solid #fffefe;
    margin-top: 40px;
    padding-top: 20px;
    text-align: center;
    font-size: 13px;
    color: #fffdfd;
}

/* ================= RESPONSIVE ================= */
@media(max-width: 992px) {
    .footer-grid {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
}
