/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #ffffff;
    color: #4a5568;
    overflow-x: hidden;
    line-height: 1.6;
}

/* ==========================================================================
   NAVIGATION / HEADER
   ========================================================================== */
.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 5%;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.logo img {
    height: 70px; /* Increase this value (e.g., 55px, 65px, 70px) */
    width: auto;
    display: block;
    transition: height 0.3s ease; /* Adds a smooth resize effect */
}

#menu-btn {
    font-size: 1.5rem;
    color: #002e5f;
    cursor: pointer;
    display: none;
}

.header .navbar ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.header .navbar ul li {
    margin-left: 2rem;
}

.header .navbar ul li a {
    color: #002e5f;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    text-decoration: none;
}

.header .navbar ul li a:hover {
    color: #00bfff;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.home {
    min-height: 100vh;
    background: linear-gradient(rgba(0, 46, 95, 0.8), rgba(0, 46, 95, 0.85)), url("../images/img1.gif") no-repeat center center/cover;
    
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 100px 20px 60px;
    overflow: hidden;
}

.hero-content h1 {
    color: #ffffff;
    font-size: 3.5rem;
    font-weight: 700;
    letter-spacing: -1px;
}

.hero-content h2 {
    color: #cbd5e1;
    font-size: 1.5rem;
    font-weight: 400;
    margin-top: 10px;
}

/* Wave animation placeholders */
.wave-container {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

/* ==========================================================================
   BUTTONS & TYPOGRAPHY
   ========================================================================== */
.btn-primary-custom {
    background-color: #00bfff;
    color: #fff;
    border: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary-custom:hover {
    background-color: #0099cc;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 191, 255, 0.3);
}

.btn-outline-custom {
    border: 2px solid #002e5f;
    color: #002e5f;
    font-weight: 600;
    padding: 8px 24px;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.btn-outline-custom:hover {
    background-color: #002e5f;
    color: #fff;
}

.btn-light-custom {
    background: #fff;
    color: #002e5f;
    font-weight: 600;
    padding: 10px 30px;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.btn-light-custom:hover {
    background: #f8fafc;
    transform: translateY(-2px);
}

.section-title h2 {
    color: #002e5f;
    font-weight: 700;
    font-size: 2.2rem;
    position: relative;
}

.title-underline {
    width: 60px;
    height: 4px;
    background: #00bfff;
    margin: 10px auto 0;
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.05rem;
    color: #64748b;
    max-width: 650px;
    margin: 0 auto;
}

/* ==========================================================================
   SERVICES SECTION
   ========================================================================== */
.services-section {
    background-color: #f8fafc;
}

.service-card {
    background: #fff;
    padding: 2.5rem 1.8rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    border: 1px solid #edf2f7;
    height: 100%;
    transition: all 0.3s ease;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0, 46, 95, 0.1);
}

.icon-box {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 1.2rem;
}

.icon-blue { background: #e0f2fe; color: #0284c7; }
.icon-cyan { background: #cffafe; color: #0891b2; }
.icon-purple { background: #f3e8ff; color: #9333ea; }
.icon-green { background: #dcfce7; color: #16a34a; }
.icon-orange { background: #ffedd5; color: #ea580c; }
.icon-red { background: #ffe4e6; color: #e11d48; }

.service-card h5 {
    color: #002e5f;
    font-weight: 600;
    margin-bottom: 0.8rem;
}

.service-card p {
    font-size: 0.92rem;
    color: #64748b;
    margin: 0;
}

/* ==========================================================================
   WHY CHOOSE US / COUNTERS
   ========================================================================== */
.why-choose-us {
    background: linear-gradient(rgba(0, 46, 95, 0.9), rgba(0, 46, 95, 0.9)), url("../images/img2.jpg") no-repeat center center/cover;
    color: #fff;
}

.grid-4-col {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    text-align: center;
}

.feature-item i {
    font-size: 2.5rem;
    color: #00bfff;
    margin-bottom: 1rem;
}

.feature-item h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.feature-item p {
    font-size: 0.9rem;
    color: #cbd5e1;
}

/* ==========================================================================
   PROJECTS / PORTFOLIO
   ========================================================================== */
.project-card {
    background: #fff;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border: 1px solid #e2e8f0;
    height: 100%;
}

.project-icon {
    font-size: 2.2rem;
    color: #002e5f;
}

.project-card h5 {
    color: #002e5f;
    font-weight: 600;
}

.project-card p {
    font-size: 0.9rem;
    color: #64748b;
}

/* ==========================================================================
   CTA BANNER
   ========================================================================== */
.cta-banner {
    background: linear-gradient(135deg, #002e5f 0%, #00bfff 100%);
    color: #fff;
}

.cta-banner h3 {
    font-weight: 700;
    font-size: 2rem;
}

/* ==========================================================================
   CONTACT FORM
   ========================================================================== */
.contact-form .form-control {
    height: auto;
    padding: 0.8rem 1rem;
    border-radius: 8px;
    border: 1px solid #cbd5e1;
    font-size: 0.95rem;
}

.contact-form .form-control:focus {
    border-color: #00bfff;
    box-shadow: 0 0 0 3px rgba(0, 191, 255, 0.15);
}

/* ==========================================================================
   FAQ ACCORDION
   ========================================================================== */
.accordion-item {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}

.accordion-header {
    padding: 1.2rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background: #fff;
    transition: background 0.2s ease;
}

.accordion-header:hover {
    background: #f8fafc;
}

.accordion-header h5 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    color: #002e5f;
}

.accordion-header .icon {
    font-size: 1.3rem;
    color: #00bfff;
    font-weight: bold;
}

.accordion-body {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    background: #fff;
}

.accordion-body p {
    padding-bottom: 1.2rem;
    margin: 0;
    color: #64748b;
    font-size: 0.92rem;
}

.accordion-item.active .accordion-body {
    max-height: 200px;
    padding-top: 0.5rem;
}

.accordion-item.active .accordion-header .icon {
    transform: rotate(45deg);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
    background-color: #0a192f;
    color: #94a3b8;
}

.footer-title {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.2rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.6rem;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #00bfff;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    border-radius: 50%;
    margin-right: 8px;
    transition: background 0.3s ease;
    text-decoration: none;
}

.social-links a:hover {
    background: #00bfff;
}

.small-text {
    font-size: 0.88rem;
    line-height: 1.6;
}

.copyright-text {
    font-size: 0.85rem;
    color: #64748b;
}

/* Back to top */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: #00bfff;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 99;
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES (MOBILE / TABLET)
   ========================================================================== */
@media (max-width: 991px) {
    #menu-btn {
        display: block;
    }

    .header .navbar {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #ffffff;
        border-top: 1px solid #e2e8f0;
        box-shadow: 0 10px 15px rgba(0,0,0,0.05);
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        transition: clip-path 0.3s ease-in-out;
    }

    .header .navbar.active {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }

    .header .navbar ul {
        flex-direction: column;
        padding: 1rem 0;
    }

    .header .navbar ul li {
        margin: 0;
    }

    .header .navbar ul li a {
        display: block;
        padding: 0.8rem 2rem;
        border-bottom: 1px solid #f1f5f9;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content h2 {
        font-size: 1.2rem;
    }
}

@media (max-width: 576px) {
    .header {
        padding: 0.8rem 4%;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .section-title h2 {
        font-size: 1.75rem;
    }

    .service-card, .project-card {
        padding: 1.5rem 1rem;
    }
}