@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    text-decoration:none;
    list-style:none;
    font-family:'Poppins', sans-serif;
}

:root{
    --navy:#07111f;
    --navy-2:#0b1628;
    --ash:#dfe3ea;
    --ash-2:#e8ecf1;
    --pink:#ff4f6d;
    --blue:#1f7dd1;
    --muted:#334155;
}

html{
    scroll-behavior:smooth;
}

body{
    background:var(--ash);
    color:var(--navy);
    overflow-x:hidden;
}

/* HEADER */

.header{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    z-index:9999;
    padding:18px 45px;
    display:flex;
    justify-content:center;
    pointer-events:none;
}

.header-container{
    width:100%;
    max-width:1800px;
    height:105px;
    background:rgba(255,255,255,0.88);
    backdrop-filter:blur(18px);
    -webkit-backdrop-filter:blur(18px);
    border-radius:28px;
    padding:0 38px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    box-shadow:0 10px 35px rgba(0,0,0,0.18);
    pointer-events:auto;
}

.logo img{
    width:220px;
    display:block;
}

.navbar{
    display:flex;
    align-items:center;
}

.nav-links{
    display:flex;
    align-items:center;
    gap:42px;
}

.nav-links li{
    position:relative;
}

.nav-links a{
    color:#111827;
    font-size:17px;
    font-weight:500;
    transition:0.3s ease;
}

.nav-links a:hover,
.nav-links a.active{
    color:var(--pink);
}

.header-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-width:150px;
    height:58px;
    padding:0 28px;
    border-radius:50px;
    background:linear-gradient(135deg,#ff5c7a,#ff3d68);
    color:white;
    font-weight:600;
    white-space:nowrap;
    transition:0.3s ease;
}

.header-btn:hover{
    transform:translateY(-3px);
    box-shadow:0 10px 25px rgba(255,79,109,0.3);
}

.dropdown{
    padding:38px 0;
}

.dropdown-menu{
    position:absolute;
    top:100%;
    left:50%;
    transform:translateX(-50%) translateY(12px);
    width:290px;
    padding:18px;
    background:rgba(255,255,255,0.94);
    backdrop-filter:blur(18px);
    -webkit-backdrop-filter:blur(18px);
    border-radius:22px;
    box-shadow:0 20px 45px rgba(0,0,0,0.25);
    opacity:0;
    visibility:hidden;
    pointer-events:none;
    transition:0.3s ease;
}

.dropdown:hover .dropdown-menu,
.dropdown-menu:hover{
    opacity:1;
    visibility:visible;
    pointer-events:auto;
    transform:translateX(-50%) translateY(0);
}

.dropdown-menu a{
    display:block;
    padding:13px 16px;
    color:var(--navy) !important;
    font-size:15px;
    font-weight:600;
    border-radius:14px;
    white-space:nowrap;
}

.dropdown-menu a:hover{
    background:linear-gradient(135deg,var(--pink),var(--blue));
    color:white !important;
}

.menu-toggle{
    width:45px;
    height:45px;
    display:none;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    gap:6px;
    border:none;
    background:transparent;
    cursor:pointer;
    z-index:10001;
}

.menu-toggle span{
    width:28px;
    height:3px;
    border-radius:20px;
    background:linear-gradient(90deg,var(--pink),var(--blue));
    transition:0.35s ease;
}

.menu-toggle.active span:nth-child(1){
    transform:translateY(9px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2){
    opacity:0;
}

.menu-toggle.active span:nth-child(3){
    transform:translateY(-9px) rotate(-45deg);
}

/* HERO */

.service-hero{
    min-height:82vh;
    padding:190px 8% 120px;
    display:flex;
    align-items:center;
    background:
    linear-gradient(rgba(7,17,31,0.78),rgba(7,17,31,0.86)),
    url('../images/Team.jpg') center/cover no-repeat;
}

.service-hero-content{
    max-width:950px;
}

.service-hero span,
.service-about span,
.section-heading span,
.benefits-content span,
.service-cta span,
.edit-impact-card span{
    color:var(--pink);
    font-size:14px;
    font-weight:700;
    letter-spacing:2px;
}

.service-hero h1{
    color:white;
    font-size:76px;
    line-height:1.08;
    margin:24px 0;
    font-weight:800;
}

.service-hero p{
    color:#d0d0d0;
    font-size:22px;
    line-height:1.8;
    max-width:850px;
}

.hero-buttons{
    display:flex;
    gap:18px;
    flex-wrap:wrap;
    margin-top:35px;
}

.primary-btn,
.secondary-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:18px 36px;
    border-radius:50px;
    font-weight:700;
    transition:0.3s ease;
}

.primary-btn{
    background:var(--pink);
    color:white;
}

.secondary-btn{
    background:white;
    color:var(--navy);
}

.primary-btn:hover,
.secondary-btn:hover{
    transform:translateY(-4px);
}

/* ABOUT */

.service-about{
    padding:120px 8%;
    background:var(--ash);
}

.service-about-wrapper{
    display:grid;
    grid-template-columns:0.9fr 1.1fr;
    gap:70px;
    align-items:center;
}

.service-about-image{
    position:relative;
}

.service-about-image img{
    width:100%;
    border-radius:30px;
    display:block;
    box-shadow:0 25px 60px rgba(0,0,0,0.25);
}

.edit-preview{
    overflow:hidden;
    border-radius:30px;
}

.edit-preview::after{
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(rgba(7,17,31,0.05),rgba(7,17,31,0.45));
    border-radius:30px;
}

.edit-icon{
    position:absolute;
    left:50%;
    top:50%;
    transform:translate(-50%,-50%);
    width:92px;
    height:92px;
    border-radius:50%;
    background:linear-gradient(135deg,var(--pink),var(--blue));
    color:white;
    display:flex;
    justify-content:center;
    align-items:center;
    font-size:34px;
    z-index:2;
    box-shadow:0 18px 45px rgba(255,79,109,0.3);
}

.service-about-content h2{
    font-size:58px;
    line-height:1.15;
    color:var(--navy);
    margin:20px 0;
}

.service-about-content p{
    color:var(--muted);
    font-size:18px;
    line-height:1.9;
    margin-bottom:22px;
}

.service-features{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:20px;
    margin-top:35px;
}

.feature-box{
    padding:25px;
    border-radius:22px;
    background:white;
    box-shadow:0 12px 30px rgba(0,0,0,0.08);
    transition:0.3s ease;
}

.feature-box:hover{
    transform:translateY(-6px);
    box-shadow:0 18px 45px rgba(255,79,109,0.14);
}

.feature-box i{
    width:55px;
    height:55px;
    border-radius:15px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:linear-gradient(135deg,var(--pink),var(--blue));
    color:white;
    font-size:22px;
    margin-bottom:18px;
}

.feature-box h3{
    font-size:18px;
    color:var(--navy);
}

/* PROCESS */

.writing-process{
    padding:120px 8%;
    background:linear-gradient(135deg,var(--navy),var(--navy-2),#14101a);
}

.section-heading{
    max-width:900px;
    margin-bottom:60px;
}

.section-heading h2{
    font-size:58px;
    line-height:1.15;
    margin-top:18px;
    color:white;
}

.process-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:28px;
}

.process-card{
    padding:35px;
    border-radius:26px;
    background:linear-gradient(145deg,rgba(255,255,255,0.1),rgba(255,255,255,0.035));
    border:1px solid rgba(255,255,255,0.08);
    transition:0.3s ease;
}

.process-card:hover{
    transform:translateY(-8px);
    border-color:rgba(255,79,109,0.35);
}

.process-number{
    color:var(--pink);
    font-size:42px;
    font-weight:800;
    margin-bottom:25px;
}

.process-card h3{
    color:white;
    font-size:24px;
    margin-bottom:14px;
}

.process-card p{
    color:#d0d0d0;
    line-height:1.8;
}

/* TYPES */

.book-types{
    padding:120px 8%;
    background:var(--ash-2);
}

.section-heading.dark h2{
    color:var(--navy);
}

.types-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:28px;
}

.type-card{
    padding:35px;
    border-radius:26px;
    background:white;
    box-shadow:0 12px 30px rgba(0,0,0,0.08);
    transition:0.3s ease;
}

.type-card:hover{
    transform:translateY(-8px);
    box-shadow:0 18px 45px rgba(255,79,109,0.15);
}

.type-card i{
    width:65px;
    height:65px;
    border-radius:18px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:linear-gradient(135deg,var(--pink),var(--blue));
    color:white;
    font-size:26px;
    margin-bottom:25px;
}

.type-card h3{
    color:var(--navy);
    font-size:24px;
    margin-bottom:12px;
}

.type-card p{
    color:var(--muted);
    line-height:1.8;
}

/* BENEFITS */

.service-benefits{
    padding:120px 8%;
    background:var(--ash);
    display:grid;
    grid-template-columns:0.9fr 1.1fr;
    gap:70px;
    align-items:center;
}

.benefits-content h2{
    font-size:58px;
    line-height:1.15;
    color:var(--navy);
    margin:20px 0;
}

.benefits-content p{
    color:var(--muted);
    font-size:18px;
    line-height:1.9;
}

.benefits-list{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:18px;
}

.benefits-list div{
    padding:22px;
    border-radius:20px;
    background:white;
    color:var(--navy);
    font-weight:600;
    display:flex;
    gap:14px;
    align-items:center;
    box-shadow:0 12px 30px rgba(0,0,0,0.08);
    transition:0.3s ease;
}

.benefits-list div:hover{
    transform:translateY(-5px);
    box-shadow:0 18px 45px rgba(255,79,109,0.14);
}

.benefits-list i{
    color:var(--pink);
    flex-shrink:0;
}

/* EDIT IMPACT */

.edit-impact-section{
    padding:120px 8%;
    background:var(--ash-2);
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:60px;
    align-items:center;
}

.edit-impact-card{
    padding:45px;
    border-radius:30px;
    background:white;
    box-shadow:0 18px 45px rgba(0,0,0,0.08);
}

.edit-impact-card h2{
    font-size:48px;
    line-height:1.18;
    margin:20px 0;
    color:var(--navy);
}

.edit-impact-card p{
    color:var(--muted);
    font-size:18px;
    line-height:1.9;
}

.edit-impact-points{
    display:grid;
    gap:22px;
}

.edit-impact-points div{
    padding:28px;
    border-radius:24px;
    background:linear-gradient(145deg,#101b2d,#07111f);
    color:white;
    font-size:18px;
    line-height:1.7;
    display:flex;
    gap:18px;
    align-items:center;
    box-shadow:0 18px 45px rgba(0,0,0,0.16);
}

.edit-impact-points i{
    width:55px;
    height:55px;
    border-radius:16px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:linear-gradient(135deg,var(--pink),var(--blue));
    flex-shrink:0;
}

/* CTA */

.service-cta{
    padding:120px 8%;
    background:linear-gradient(135deg,var(--navy),var(--navy-2),#14101a);
    text-align:center;
}

.cta-content{
    max-width:900px;
    margin:auto;
}

.cta-content h2{
    color:white;
    font-size:58px;
    line-height:1.15;
    margin:20px 0;
}

.cta-content p{
    color:#d0d0d0;
    font-size:18px;
    line-height:1.8;
    margin-bottom:35px;
}

/* FOOTER */

.premium-footer{
    background:linear-gradient(180deg,#050505,#09142a,#0c1f3d);
    padding-top:90px;
}

.footer-container{
    width:90%;
    margin:auto;
    display:grid;
    grid-template-columns:1.5fr 1fr 1fr 1.2fr;
    gap:60px;
}

.footer-about img{
    width:250px;
    margin-bottom:25px;
}

.footer-about p,
.footer-links a,
.footer-contact p,
.footer-bottom p,
.footer-bottom a{
    color:#d0d0d0;
}

.footer-about p{
    line-height:1.8;
}

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

.footer-links h3,
.footer-contact h3{
    color:white;
    font-size:26px;
    margin-bottom:25px;
}

.footer-links a{
    margin-bottom:14px;
    transition:0.3s ease;
}

.footer-links a:hover,
.footer-bottom a:hover{
    color:var(--pink);
}

.footer-contact p{
    margin-bottom:16px;
    line-height:1.7;
}

.footer-contact i{
    color:var(--pink);
    margin-right:10px;
}

.footer-bottom{
    margin-top:70px;
    padding:25px 8%;
    border-top:1px solid rgba(255,255,255,0.08);
    display:flex;
    justify-content:space-between;
    flex-wrap:wrap;
    gap:15px;
}

.footer-bottom div{
    display:flex;
    gap:20px;
}

/* RESPONSIVE */

@media(max-width:991px){

    .header{
        padding:20px;
    }

    .header-container{
        height:105px;
        padding:0 25px;
    }

    .logo img{
        width:170px;
    }

    .header-btn{
        display:none;
    }

    .menu-toggle{
        display:flex;
    }

    .navbar{
        position:absolute;
        top:125px;
        left:20px;
        right:20px;
        display:none;
        flex-direction:column;
        background:rgba(0,0,0,0.94);
        backdrop-filter:blur(15px);
        -webkit-backdrop-filter:blur(15px);
        border-radius:28px;
        padding:34px 24px;
        border:1px solid rgba(255,255,255,0.08);
        box-shadow:0 18px 45px rgba(0,0,0,0.45);
    }

    .navbar.active{
        display:flex;
    }

    .nav-links{
        width:100%;
        flex-direction:column;
        gap:24px;
    }

    .nav-links li{
        width:100%;
        text-align:center;
    }

    .nav-links a{
        color:white;
        font-size:18px;
        font-weight:700;
    }

    .dropdown{
        padding:0;
        width:100%;
        display:flex;
        flex-direction:column;
        align-items:center;
    }

    .dropdown-menu{
        position:static !important;
        transform:none !important;
        width:90% !important;
        max-width:360px !important;
        margin:18px auto 0 !important;
        padding:18px 10px !important;
        display:none;
        opacity:1 !important;
        visibility:visible !important;
        pointer-events:auto !important;
        background:#f4f4f4;
        border-radius:20px;
    }

    .dropdown.active .dropdown-menu{
        display:block !important;
    }

    .dropdown-menu li,
    .dropdown-menu li a{
        width:100%;
        text-align:center;
    }

    .service-about-wrapper,
    .process-grid,
    .types-grid,
    .service-benefits,
    .edit-impact-section,
    .footer-container{
        grid-template-columns:1fr;
    }

    .service-hero h1,
    .service-about-content h2,
    .section-heading h2,
    .benefits-content h2,
    .edit-impact-card h2,
    .cta-content h2{
        font-size:46px;
    }
}

@media(max-width:600px){

    .header{
        padding:20px;
    }

    .header-container{
        height:100px;
        padding:0 24px;
    }

    .logo img{
        width:165px;
    }

    .service-hero{
        min-height:auto;
        padding:170px 20px 90px;
    }

    .service-about,
    .writing-process,
    .book-types,
    .service-benefits,
    .edit-impact-section,
    .service-cta{
        padding:90px 20px;
    }

    .service-hero h1,
    .service-about-content h2,
    .section-heading h2,
    .benefits-content h2,
    .edit-impact-card h2,
    .cta-content h2{
        font-size:38px;
    }

    .service-hero p{
        font-size:18px;
    }

    .service-features,
    .benefits-list{
        grid-template-columns:1fr;
    }

    .hero-buttons{
        flex-direction:column;
    }

    .primary-btn,
    .secondary-btn{
        width:100%;
    }

    .edit-impact-card{
        padding:30px;
    }

    .footer-container{
        text-align:center;
    }

    .footer-bottom{
        justify-content:center;
        text-align:center;
    }
}