*{margin:0;padding:0;box-sizing:border-box;}

body{
    font-family:'Segoe UI', Arial, sans-serif;
    background:#EAF0FF;
    overflow-x:hidden;
}

:root{
    --primary:#1F3C88;
    --accent:#4D7CFE;
    --dark:#0B1C3D;
    --dark-soft:#3E4C6A;
}

/* ================= NAVBAR ================= */
.navbar{
    position:fixed;
    top:0;left:0;right:0;
    padding:20px 100px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    background:rgba(234,240,255,.95);
    backdrop-filter:blur(14px);
    box-shadow:0 6px 20px rgba(0,0,0,0.05);
    z-index:1000;
}

.nav-links a{
    text-decoration: none;
    color: var(--dark-soft);
    font-size:15px;
    font-weight:500;
    transition:color 0.3s;
}

.nav-links a:hover{
    color: var(--accent);
}

.nav-logo{
    text-decoration: none;
    display:flex;
    align-items:center;
    gap:12px;
    color: inherit;
}

.nav-logo:hover{
    opacity: 0.9;
}

.nav-logo-img{
    width:36px;
    height:36px;
    background:#fff;
    border-radius:8px;
    padding:4px;
}
.nav-logo-img img{
    width:100%;
    height:100%;
    object-fit:contain;
}
.nav-logo-text{
    font-weight:600;
    font-size:18px;
    color:var(--dark);
}

.nav-links{
    display:flex;
    gap:30px;
}
.nav-link{
    color:var(--dark-soft);
    font-size:15px;
    font-weight:500;
    cursor:pointer;
    transition:color 0.3s;
}
.nav-link:hover{color:var(--accent);}

.nav-cta{
    background:var(--accent);
    color:#fff;
    padding:10px 26px;
    border-radius:10px;
    font-weight:600;
    cursor:pointer;
    transition:transform 0.3s;
    text-decoration: none;
}
.nav-cta:hover{transform:translateY(-2px);}

/* ================= BANNER ================= */
.banner{
    min-height:100vh;
    padding:160px 100px 80px;
    background:linear-gradient(135deg,#EAF0FF,#C9D8FF,#9FB6FF);
}

.content-wrapper{
    max-width:1400px;
    margin:auto;
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:80px;
}

.left-content{
    max-width:620px;
    color:var(--dark);
}

.tagline{
    display:inline-block;
    background:rgba(77,124,254,.15);
    color:var(--primary);
    padding:8px 18px;
    border-radius:20px;
    font-size:14px;
    font-weight:600;
    margin-bottom:18px;
}

h1{
    font-size:68px;
    line-height:1.1;
    margin-bottom:25px;
}

.description{
    font-size:18px;
    line-height:1.8;
    color:var(--dark-soft);
    margin-bottom:40px;
}

.features{
    display:flex;
    gap:14px;
    margin-bottom:40px;
    flex-wrap:wrap;
}
.feature-pill{
    padding:12px 24px;
    background:#fff;
    border-radius:30px;
    font-size:14px;
    box-shadow:0 10px 25px rgba(31,60,136,.15);
}

.cta-section{
    display:flex;
    gap:24px;
    align-items:center;
    flex-wrap:wrap;
}
.learn-more{
    background:var(--accent);
    color:#fff;
    padding:16px 38px;
    border-radius:12px;
    font-weight:600;
    cursor:pointer;
    transition:transform 0.3s;
}
.learn-more:hover{transform:translateY(-2px);}
.contact-info{
    background:#fff;
    padding:16px 30px;
    border-radius:12px;
    display:flex;
    gap:25px;
    color:var(--dark-soft);
    box-shadow:0 20px 40px rgba(31,60,136,.18);
}

.phone-mockup{
    width:290px;
    height:580px;
    background:#0B1C3D;
    border-radius:36px;
    padding:12px;
    box-shadow:0 30px 80px rgba(11,28,61,.45);
}

.phone-notch{
    width:120px;
    height:24px;
    background:#0B1C3D;
    border-radius:0 0 20px 20px;
    margin:0 auto -12px;
}

.phone-screen{
    height:100%;
    background:linear-gradient(135deg,#0B1C3D,#1F3C88);
    border-radius:28px;
    padding:30px 16px;
    color:#fff;
    display:flex;
    flex-direction:column;
    overflow:hidden;
}

.website-header{text-align:center;margin-bottom:16px;}
.company-logo{
    width:46px;height:46px;
    background:#fff;
    border-radius:12px;
    display:flex;
    align-items:center;
    justify-content:center;
    font-weight:700;
    margin:0 auto 6px;
    padding:6px;
}
.company-logo img{width:100%;height:100%;object-fit:contain;}
.company-name{font-size:16px;font-weight:700;margin-top:6px;}
.company-tagline{font-size:9px;opacity:.85;}

.nav-menu{
    display:flex;
    justify-content:space-around;
    background:rgba(255,255,255,.12);
    border-radius:20px;
    padding:8px;
    margin-bottom:16px;
}
.nav-item{font-size:10px;opacity:.8;}
.nav-item.active{opacity:1;font-weight:600;}

.hero-section{
    background:linear-gradient(135deg,#4D7CFE,#2F5FEF);
    border-radius:16px;
    padding:16px;
    text-align:center;
    margin-bottom:16px;
}
.hero-title{font-size:15px;font-weight:700;}
.hero-subtitle{font-size:9px;margin:8px 0;}
.hero-button{
    background:#fff;
    color:#1F3C88;
    padding:8px 18px;
    border-radius:20px;
    font-size:10px;
    font-weight:600;
    display:inline-block;
}

.services-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:10px;
    flex:1;
}
.service-card{
    background:rgba(255,255,255,.12);
    border-radius:12px;
    padding:12px;
    text-align:center;
}
.service-icon{font-size:18px;margin-bottom:6px;}
.service-title{font-size:10px;font-weight:600;}
.service-desc{font-size:8px;opacity:.75;}

.phone-footer{
    border-top:1px solid rgba(255,255,255,.2);
    padding-top:10px;
    text-align:center;
    margin-top:auto;
}
.phone-footer a{
    font-size:9px;
    color:#9FB6FF;
    text-decoration:none;
    display:block;
    margin-bottom:6px;
}
.phone-footer span{font-size:9px;opacity:.85;}

/* ================= SERVICES SECTION ================= */
.services-section{
    padding:100px 100px;
    background:#fff;
}

.section-header{
    text-align:center;
    margin-bottom:60px;
}

.section-tag{
    display:inline-block;
    background:rgba(77,124,254,.15);
    color:var(--primary);
    padding:8px 18px;
    border-radius:20px;
    font-size:14px;
    font-weight:600;
    margin-bottom:15px;
}

.section-title{
    font-size:48px;
    color:var(--dark);
    margin-bottom:15px;
}

.section-subtitle{
    font-size:18px;
    color:var(--dark-soft);
    max-width:600px;
    margin:0 auto;
}

/* ================= SERVICES SECTION – ENLARGED CARDS ================= */

.services-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); /* bigger cards */
    gap: 40px; /* more breathing space */
}

.service-box {
    background: #fff;
    border-radius: 22px;
    padding: 28px;
    box-shadow: 0 12px 30px rgba(31, 60, 136, 0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-box:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 45px rgba(31, 60, 136, 0.18);
}

.service-box-image {
    width: 100%;
    height: 220px; /* ⬅️ KEY: larger image */
    border-radius: 18px;
    overflow: hidden;
    margin-bottom: 20px;
}

.service-box-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-box-title {
    font-size: 20px; /* larger heading */
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--dark);
}

.service-box-desc {
    font-size: 15px;
    line-height: 1.6;
    color: var(--dark-soft);
}

/* ================= SERVICES CTA ================= */
.services-cta {
    display: flex;
    justify-content: center;
    margin-top: 50px;
}

/* Match navbar Contact Us button */
.services-btn {
    background: var(--accent);
    color: #fff;
    padding: 14px 36px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.services-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(77, 124, 254, 0.35);
}

/* ================= BLOG SECTION ================= */
.blog-section{
    padding:100px 100px;
    background:linear-gradient(135deg,#EAF0FF,#C9D8FF);
}

.blog-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit, minmax(350px, 1fr));
    gap:30px;
    max-width:1400px;
    margin:0 auto;
}

.blog-card{
    background:#fff;
    border-radius:20px;
    overflow:hidden;
    box-shadow:0 10px 30px rgba(31,60,136,.15);
    transition:transform 0.3s;
}

.blog-card:hover{
    transform:translateY(-8px);
}

.blog-image{
    width:100%;
    height:220px;
    background:linear-gradient(135deg,#4D7CFE,#2F5FEF);
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:64px;
}

.blog-content{
    padding:30px;
}

.blog-date{
    color:var(--accent);
    font-size:14px;
    font-weight:600;
    margin-bottom:10px;
}

.blog-title{
    font-size:22px;
    color:var(--dark);
    margin-bottom:12px;
    font-weight:600;
}

.blog-excerpt{
    font-size:15px;
    color:var(--dark-soft);
    line-height:1.6;
    margin-bottom:20px;
}

.blog-link{
    color:var(--accent);
    font-weight:600;
    font-size:15px;
    cursor:pointer;
}

/* ================= TESTIMONIALS ================= */
.testimonials-section{
    padding:100px 100px;
    background:#fff;
}

.testimonials-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit, minmax(320px, 1fr));
    gap:30px;
    max-width:1400px;
    margin:0 auto;
}

.testimonial-card{
    background:linear-gradient(135deg,#F8FAFF,#EAF0FF);
    padding:35px;
    border-radius:20px;
    box-shadow:0 10px 30px rgba(31,60,136,.1);
}

.testimonial-header{
    display:flex;
    gap:15px;
    margin-bottom:20px;
}

.testimonial-photo{
    width:60px;
    height:60px;
    border-radius:50%;
    background:linear-gradient(135deg,#4D7CFE,#2F5FEF);
    display:flex;
    align-items:center;
    justify-content:center;
    color:#fff;
    font-size:24px;
    font-weight:700;
}

.testimonial-info{
    flex:1;
}

.testimonial-name{
    font-size:18px;
    font-weight:600;
    color:var(--dark);
    margin-bottom:4px;
}

.testimonial-role{
    font-size:14px;
    color:var(--dark-soft);
}

.testimonial-stars{
    color:#FFB800;
    font-size:18px;
    margin-bottom:15px;
}

.testimonial-text{
    font-size:15px;
    color:var(--dark-soft);
    line-height:1.6;
    font-style:italic;
}

/* ================= REVIEWS ================= */
.reviews-section{
    padding:100px 100px;
    background:linear-gradient(135deg,#0B1C3D,#1F3C88);
    color:#fff;
}

.reviews-stats{
    display:flex;
    justify-content:center;
    gap:80px;
    margin-bottom:60px;
    flex-wrap:wrap;
}

.stat-box{
    text-align:center;
}

.stat-number{
    font-size:56px;
    font-weight:700;
    color:#4D7CFE;
    margin-bottom:10px;
}

.stat-label{
    font-size:18px;
    opacity:0.9;
}

.reviews-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit, minmax(300px, 1fr));
    gap:25px;
    max-width:1400px;
    margin:0 auto;
}

.review-card{
    background:rgba(255,255,255,.1);
    padding:30px;
    border-radius:16px;
    border:1px solid rgba(255,255,255,.2);
}

.review-stars{
    color:#FFB800;
    font-size:16px;
    margin-bottom:15px;
}

.review-text{
    font-size:14px;
    line-height:1.6;
    margin-bottom:20px;
    opacity:0.95;
}

.review-author{
    font-size:14px;
    font-weight:600;
    opacity:0.9;
}

/* ================= CONTACT SECTION ================= */
.contact-section{
    padding:100px 100px;
    background:#fff;
}

.contact-wrapper{
    max-width:1400px;
    margin:0 auto;
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:60px;
}

.contact-info-box{
    background:linear-gradient(135deg,#EAF0FF,#C9D8FF);
    padding:50px;
    border-radius:20px;
}

.contact-info-title{
    font-size:36px;
    color:var(--dark);
    margin-bottom:20px;
    font-weight:600;
}

.contact-info-text{
    font-size:16px;
    color:var(--dark-soft);
    margin-bottom:40px;
    line-height:1.6;
}

.contact-detail{
    display:flex;
    align-items:center;
    gap:15px;
    margin-bottom:25px;
}

.contact-icon{
    width:50px;
    height:50px;
    background:#fff;
    border-radius:12px;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:24px;
}

.contact-detail-text{
    flex:1;
}

.contact-detail-label{
    font-size:14px;
    color:var(--dark-soft);
    margin-bottom:4px;
}

.contact-detail-value{
    font-size:16px;
    color:var(--dark);
    font-weight:600;
}

.contact-form{
    background:#F8FAFF;
    padding:50px;
    border-radius:20px;
}

.form-title{
    font-size:32px;
    color:var(--dark);
    margin-bottom:30px;
    font-weight:600;
}

.form-group{
    margin-bottom:25px;
}

.form-label{
    display:block;
    font-size:14px;
    color:var(--dark);
    font-weight:600;
    margin-bottom:8px;
}

.form-input, .form-textarea{
    width:100%;
    padding:14px 18px;
    border:2px solid #E0E7FF;
    border-radius:10px;
    font-size:15px;
    font-family:inherit;
    transition:border-color 0.3s;
}

.form-input:focus, .form-textarea:focus{
    outline:none;
    border-color:var(--accent);
}

.form-textarea{
    resize:vertical;
    min-height:120px;
}

.form-button{
    background:var(--accent);
    color:#fff;
    padding:16px 40px;
    border:none;
    border-radius:10px;
    font-size:16px;
    font-weight:600;
    cursor:pointer;
    transition:transform 0.3s;
}

.form-button:hover{
    transform:translateY(-2px);
}

/* ================= FOOTER ================= */
.footer{
    background:var(--dark);
    color:#fff;
    padding:60px 100px 30px;
}

.footer-content{
    max-width:1400px;
    margin:0 auto;
    display:grid;
    grid-template-columns:2fr 1fr 1fr 1fr;
    gap:40px;
    margin-bottom:40px;
}

.footer-about{
    max-width:300px;
}

.footer-logo{
    display:flex;
    align-items:center;
    gap:12px;
    margin-bottom:20px;
}

.footer-logo-img{
    width:36px;
    height:36px;
    background:#fff;
    border-radius:8px;
    padding:4px;
}

.footer-logo-img img{
    width:100%;
    height:100%;
    object-fit:contain;
}

.footer-logo-text{
    font-weight:600;
    font-size:18px;
}

.footer-desc{
    font-size:14px;
    line-height:1.6;
    opacity:0.8;
}

.footer-section-title{
    font-size:16px;
    font-weight:600;
    margin-bottom:20px;
}

.footer-links{
    display:flex;
    flex-direction:column;
    gap:12px;
}

.footer-link{
    font-size:14px;
    opacity:0.8;
    cursor:pointer;
    transition:opacity 0.3s;
}

.footer-link:hover{
    opacity:1;
}

.footer-bottom{
    border-top:1px solid rgba(255,255,255,.1);
    padding-top:30px;
    text-align:center;
    font-size:14px;
    opacity:0.7;
}

/* ================= RESPONSIVE ================= */
@media(max-width:1200px){
    .navbar{padding:20px 50px;}
    .banner{padding:140px 50px 60px;}
    .services-section, .blog-section, .testimonials-section, .reviews-section, .contact-section{padding:80px 50px;}
    .footer{padding:60px 50px 30px;}
}

@media(max-width:900px){
    .content-wrapper{flex-direction:column;text-align:center;gap:60px;}
    .contact-wrapper{grid-template-columns:1fr;}
    .footer-content{grid-template-columns:1fr 1fr;}
    .services-container{grid-template-columns:1fr;
    gap: 30px;}
    .service-box-image {
        height: 200px;
    }
}

@media(max-width:600px){
    h1{font-size:42px;}
    .section-title{font-size:36px;}
    .navbar{padding:15px 30px;}
    .banner{padding:120px 30px 40px;}
    .services-section, .blog-section, .testimonials-section, .reviews-section, .contact-section{padding:60px 30px;}
    .footer{padding:50px 30px 20px;}
    .nav-links{display:none;}
    .contact-info{flex-direction:column;gap:15px;}
    .reviews-stats{gap:40px;}
    .footer-content{grid-template-columns:1fr;}
}

/* ===== MOBILE MENU (GLASS STYLE) ===== */
.mobile-menu{
    display:none;
    position:fixed;
    top:70px;
    left:15px;
    right:15px;
    background:rgba(234,240,255,0.75);
    backdrop-filter:blur(18px);
    border-radius:18px;
    padding:22px 18px;
    box-shadow:0 20px 50px rgba(31,60,136,0.15);
    z-index:999;
    text-align:center;
}

/* MENU LINKS */
.mobile-menu a{
    display:block;
    padding:14px 0;
    font-size:16px;
    font-weight:500;
    color:var(--dark);
    text-decoration:none;
    transition:all .25s ease;
}

.mobile-menu a:hover{
    color:var(--accent);
    transform:translateY(-1px);
}

/* ADMIN / LOGOUT */
.mobile-menu .mobile-logout{
    color:#E63946;
    font-weight:600;
}

/* CONTACT CTA (IMPORTANT) */
.mobile-cta{
    margin-top:14px;
    background:var(--accent);
    color:#fff !important;
    padding:14px 0;
    border-radius:12px;
    font-weight:600;
    font-size:16px;
}

.mobile-cta:hover{
    transform:translateY(-2px);
    box-shadow:0 10px 25px rgba(77,124,254,0.35);
}

.mobile-menu-toggle{
    display:none;
    font-size:26px;
    cursor:pointer;
    color:var(--dark);
    line-height:1;
}

/* ===== RESPONSIVE FIX ===== */
@media(max-width:600px){
    .nav-links{display:none;}
    .nav-cta{display:none;} 
    .mobile-menu-toggle{display:block;}
}

.menu-toggle {
    display: none;
}

/* ================= FLASH MESSAGE ================= */

.flash-wrapper {
    position: fixed;
    top: 72px;              /* EXACT navbar height */
    left: 0;
    width: 100%;
    z-index: 1200;          /* ABOVE navbar */
}

.flash {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 14px 22px;
    font-size: 14px;
    font-weight: 500;

    border-bottom: 1px solid rgba(0,0,0,.06);
    animation: slideDown .3s ease forwards;
}

/* Types */
.flash-success {
    background: #ecfdf5;
    color: #065f46;
}

.flash-error {
    background: #fef2f2;
    color: #991b1b;
}

/* Close */
.flash-close {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: inherit;
    padding-left: 14px;
}

/* Animations */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.flash.fade-out {
    animation: fadeUp .3s ease forwards;
}

@keyframes fadeUp {
    to {
        opacity: 0;
        transform: translateY(-8px);
    }
}

/* Mobile */
@media (max-width: 600px) {
    .flash {
        padding: 12px 16px;
        font-size: 13px;
    }
}
