/* -----------------------------------------------------
   GLOBAL RESET
----------------------------------------------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Manrope", sans-serif;
}

/* -----------------------------------------------------
   GLOBAL BACKGROUND
----------------------------------------------------- */
body {
    background: 
        url("assets/bg-pattern.png") repeat,
        linear-gradient(135deg, #eef4ff, #e8f1ff);
    background-size: 220px, cover;
    color: #111;
    overflow-x: hidden;
}

/* -----------------------------------------------------
   NAVBAR — FIXED CLEAN VERSION
----------------------------------------------------- */
.navbar {
    width: 100%;
    height: 80px;            /* FIXED height (adjust as needed) */
    padding: 10px 60px;      /* reduced padding */
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    background: white;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

/* LOGO FIX */
.logo img {
    max-height: 110px;        /* logo can increase but stays inside navbar */
    width: auto;
    object-fit: contain;
    position: relative;      /* remove fixed */
}

/* NAV LINKS */
.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links a {
    text-decoration: none;
    font-size: 18px;
    color: #222;
    font-weight: 500;
    transition: 0.25s ease;
}

.nav-links a:hover {
    color: #007bff;
    font-weight: 700;
}

/* FIXED ACTIVE LINK */
.nav-links a.active {
    color: #222 !important; 
    font-weight: 600;
    text-shadow: none;
}

.mobile-menu-icon {
    display: none;
    font-size: 30px;
    cursor: pointer;
}

/* -----------------------------------------------------
   HERO SECTION (REFERENCE LAYOUT)
----------------------------------------------------- */
.hero-section {
    width: 100%;
    padding: 160px 6% 120px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #eaf3ff;
    overflow: hidden;
}

/* floating icons layer */
.hero-bg-icons {
    position: absolute;
    inset: 0;
    background: url("assets/bg-pattern.png");
    background-size: cover;
    opacity: 0.25;
    z-index: 0;
}

/* center text block */
.hero-content-center {
    flex: 1;
    text-align: center;
    z-index: 2;
}

.hero-content-center h1 {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.2;
}

.hero-content-center h1 span {
    color: #4c5cff;
}

.hero-content-center p {
    margin-top: 18px;
    font-size: 20px;
    color: #333;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* hero buttons */
.center-buttons {
    display: flex;
    justify-content: center;
    gap: 18px;
    margin-top: 28px;
}

.primary-btn {
    background: #007bff;
    color: white;
    padding: 14px 34px;
    border-radius: 12px;
    font-size: 18px;
    border: none;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(0, 123, 255, 0.25);
    transition: 0.3s;
}
.primary-btn:hover {
    transform: translateY(-4px);
}

/* secondary button */
.secondary-btn {
    background: white;
    color: #007bff;
    padding: 14px 34px;
    border-radius: 12px;
    border: 2px solid #007bff;
    font-size: 18px;
    cursor: pointer;
    transition: 0.3s;
}
.secondary-btn:hover {
    background: #007bff;
    color: white;
    transform: translateY(-4px);
}

/* hero image */
.hero-image-right {
    flex: 1;
    display: flex;
    justify-content: center;
    z-index: 2;
}

.hero-image-right img {
    width: 520px;
    max-width: 100%;
    border-radius: 30px;
    filter: drop-shadow(0 10px 30px rgba(0,0,0,0.25));
    transition: 0.3s;
}
.hero-image-right img:hover {
    transform: scale(1.03);
}

/* -----------------------------------------
   SERVICES SECTION
----------------------------------------- */
.services-section {
    padding: 140px 10%;
    text-align: center;
}

.section-title {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 60px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.service-card {
    background: white;
    border-radius: 24px;
    padding: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    transition: 0.3s;
}
.service-card:hover {
    transform: translateY(-6px);
}

.service-image {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
}

.service-image img {
    width: 100%;
    transition: 0.4s;
}

.service-card:hover .service-image img {
    transform: scale(1.1);
    filter: brightness(70%);
}

.overlay {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 20px;
    text-align: center;
    color: white;
    opacity: 0;
    transition: 0.4s;
}
.service-card:hover .overlay {
    opacity: 1;
}

/* -----------------------------------------
   CAPABILITIES SECTION
----------------------------------------- */
.capabilities-section {
    padding: 120px 10%;
}

.capability-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    margin-bottom: 140px;
}

.capability-item.reverse {
    flex-direction: row-reverse;
}

.capability-text {
    flex: 1;
    text-align: center;
}

.capabilities-section h2 {
    text-align: center;
    margin-bottom: 50px;
}

.capability-text h3 {
    font-size: clamp(28px, 2vw, 38px);
    font-weight: 800;
    margin-bottom: 15px;
}

.capability-text p {
    font-size: clamp(16px, 1.2vw, 20px);
    margin-bottom: 20px;
}

.capability-text ul {
    list-style: none;
}

.capability-text ul li {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    font-size: clamp(15px, 1.1vw, 18px);
}

.capability-text ul li::before {
    content: "•";
    color: #007bff;
    font-size: 22px;
}

.capability-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.capability-image img {
    width: 65%;
    border-radius: 18px;
    transition: 0.4s;
    filter: drop-shadow(0 10px 25px rgba(0,123,255,0.25));
}
.capability-image img:hover {
    transform: scale(1.05);
}

/* -----------------------------------------------------
   ABOUT SECTION
----------------------------------------------------- */
.about-section {
    padding: 100px 8%;
    text-align: center;
    background: linear-gradient(120deg, #eef7ff, #e3f0ff, #eef7ff);
    background-size: 200% 200%;
    border-radius: 20px;
    animation: gradientMove 8s infinite;
}

@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.about-section h2 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 25px;
}

.about-intro {
    max-width: 900px;
    margin: 0 auto 50px;
    font-size: 18px;
    line-height: 1.7;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
}

.about-card {
    background: rgba(255,255,255,0.35);
    backdrop-filter: blur(12px);
    padding: 25px;
    border-radius: 18px;
    transition: 0.35s;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.about-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 45px rgba(0, 123, 255, 0.25);
}

/* -----------------------------------------------------
   WHY CHOOSE US (SPACING FIXED)
----------------------------------------------------- */
.why-choose-section {
    padding: 160px 10% 160px;  /* more top & bottom space */
    text-align: center;
}

.why-choose-section h2 {
    margin-bottom: 20px;
}

.why-subtext {
    font-size: 18px;
    color: #444;
    margin-bottom: 80px;   /* increased space before cards */
}

.why-cards {
    display: flex;
    justify-content: center;
    gap: 50px;             /* more spacing between cards */
    flex-wrap: wrap;
}

.why-card {
    width: 300px;
    background: white;
    padding: 45px 25px;    /* slightly increased inner padding */
    border-radius: 20px;
    box-shadow: 0 10px 35px rgba(0,0,0,0.07);
    transition: 0.3s;
}

.why-card:hover {
    transform: translateY(-8px);
}

.why-icon {
    font-size: 40px;
    color: #007bff;
    margin-bottom: 25px;   /* extra spacing under icon */
}

.why-card h4 {
    font-size: 20px;
    margin-bottom: 12px;
}



/* ===================== CTA SECTION (FIXED) ===================== */
.cta-section {
    padding: 120px 10% 120px;   /* equal top/bottom spacing */
    background: #163eb7;
    color: white;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;    /* ensures vertical centering */
    min-height: 350px;          /* FIX: prevents shrinking */
}

.cta-section h2 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 15px;
}

.cta-section p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta-btn {
    background: white;
    color: #163eb7;
    padding: 14px 32px;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    transition: 0.3s ease;
    display: inline-block;
}

.cta-btn:hover {
    transform: translateY(-4px);
    background: #f1f1f1;
}


/* -----------------------------------------------------
   CONTACT SECTION
----------------------------------------------------- */
.contact-section {
    padding: 120px 10%;
}

.contact-container {
    display: flex;
    justify-content: space-between;
    gap: 60px;
}

.contact-form {
    width: 50%;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-form input,
.contact-form textarea {
    padding: 14px;
    border-radius: 12px;
    border: 1px solid #ddd;
}

.contact-info {
    width: 40%;
    background: white;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
}

/* -----------------------------------------------------
   FOOTER
----------------------------------------------------- */
.footer {
    padding: 40px;
    text-align: center;
    font-weight: 600;
    background: white;
}

/* -----------------------------------------------------
   RESPONSIVE FIXES
----------------------------------------------------- */
@media (max-width: 992px) {
    .hero-section {
        flex-direction: column;
        text-align: center;
    }
    .hero-image-right img {
        width: 90%;
    }
    .capability-item {
        flex-direction: column;
    }
}
