/* Services Page - Audience-Segmented Design */

* {
    box-sizing: border-box;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #000000 0%, #1a202c 100%);
    color: white;
    padding: 160px 20px 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-top: 0;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.05" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,112C672,96,768,96,864,112C960,128,1056,160,1152,160C1248,160,1344,128,1392,112L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') bottom center no-repeat;
    background-size: cover;
    pointer-events: none;
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
    line-height: 1.2;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.hero-subtitle {
    font-size: 1.4rem;
    opacity: 0.9;
    margin-bottom: 2.5rem;
    font-weight: 300;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-btn {
    display: inline-block;
    padding: 18px 50px;
    background: white;
    color: #000;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2);
    cursor: pointer;
}

.hero-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(255, 255, 255, 0.3);
}

/* Who Are You Section */
.who-section {
    padding: 100px 20px;
    background: #f7fafc;
}

.section-title {
    text-align: center;
    font-size: 2.8rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 60px;
    line-height: 1.3;
}

.audience-selector {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto;
}

.audience-card {
    background: white;
    padding: 50px 30px;
    border-radius: 20px;
    text-align: center;
    text-decoration: none;
    color: #000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid #e2e8f0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.audience-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: #000;
}

.audience-card i {
    font-size: 4.5rem;
    color: #000;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.audience-card:hover i {
    transform: scale(1.15) rotate(5deg);
}

.audience-card h3 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #000;
}

.audience-card p {
    font-size: 1rem;
    color: #4a5568;
    line-height: 1.6;
    margin: 0;
}

/* Services Sections */
.services-section {
    padding: 100px 20px;
}

.school-section {
    background: #ffffff;
}

.college-section {
    background: #f7fafc;
}

.corporate-section {
    background: #ffffff;
}

.section-header {
    text-align: center;
    margin-bottom: 70px;
}

.section-badge {
    display: inline-block;
    font-size: 1.1rem;
    font-weight: 600;
    padding: 12px 30px;
    background: #000;
    color: white;
    border-radius: 50px;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #000;
    margin-top: 15px;
    line-height: 1.3;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

/* Service Cards */
.service-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: #000;
}

.service-image {
    position: relative;
    height: 250px;
    overflow: hidden;
    background: #f7fafc;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    filter: grayscale(100%) brightness(0.95);
}

.service-card:hover .service-image img {
    transform: scale(1.08);
    filter: grayscale(0%) brightness(1);
}

.service-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.5) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-card:hover .service-overlay {
    opacity: 1;
}

.service-overlay i {
    font-size: 4.5rem;
    color: white;
    transform: scale(0.7) translateY(10px);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover .service-overlay i {
    transform: scale(1) translateY(0);
}

.service-content {
    padding: 35px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.service-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 20px;
    line-height: 1.4;
}

.service-benefits {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
    flex: 1;
}

.service-benefits li {
    font-size: 1rem;
    color: #4a5568;
    line-height: 1.9;
    margin-bottom: 12px;
    padding-left: 5px;
}

.service-cta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: auto;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 28px;
    background: #000;
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    flex: 1;
    text-align: center;
    min-width: 180px;
    border: 2px solid #000;
}

.btn-primary:hover {
    background: #2d3748;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 28px;
    background: transparent;
    color: #000;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border: 2px solid #000;
    flex: 1;
    text-align: center;
    min-width: 180px;
}

.btn-secondary:hover {
    background: #000;
    color: white;
    transform: translateY(-3px);
}

/* Trust Badges */
.trust-badge {
    text-align: center;
    padding: 35px 30px;
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    border-radius: 15px;
    margin-top: 50px;
    border: 1px solid #e2e8f0;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.trust-badge p {
    font-size: 1.1rem;
    color: #2d3748;
    margin: 0;
    line-height: 1.7;
}

.trust-badge strong {
    color: #000;
    font-weight: 700;
}

.trust-badge i {
    color: #000;
    margin-right: 10px;
    font-size: 1.2rem;
}

/* Why Section */
.why-section {
    background: #000;
    color: white;
    padding: 100px 20px;
}

.why-section .section-title {
    color: white;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
    margin-top: 70px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.why-card {
    text-align: center;
    padding: 30px 20px;
    transition: transform 0.3s ease;
}

.why-card:hover {
    transform: translateY(-5px);
}

.why-card i {
    font-size: 4.5rem;
    color: white;
    margin-bottom: 30px;
    display: block;
}

.why-card h3 {
    font-size: 1.7rem;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.3;
}

.why-card p {
    font-size: 1.1rem;
    opacity: 0.9;
    line-height: 1.7;
}

/* Final CTA Section */
.final-cta-section {
    background: linear-gradient(135deg, #1a202c 0%, #000000 100%);
    color: white;
    padding: 110px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.final-cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -10%;
    width: 120%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.final-cta-section h2 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
    line-height: 1.3;
}

.final-cta-section p {
    font-size: 1.3rem;
    margin-bottom: 45px;
    opacity: 0.9;
    position: relative;
    z-index: 1;
}

.cta-btn {
    display: inline-block;
    padding: 20px 55px;
    background: white;
    color: #000;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 1;
    border: 2px solid white;
}

.cta-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(255, 255, 255, 0.3);
    background: transparent;
    color: white;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 35px;
    }
    
    .why-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 40px;
    }
    
    .audience-selector {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }
}

@media (max-width: 968px) {
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-section {
        padding: 140px 20px 80px;
    }
    
    .section-title {
        font-size: 2.3rem;
    }
    
    .section-header h2 {
        font-size: 2.2rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .who-section {
        padding: 80px 20px;
    }
    
    .services-section {
        padding: 80px 20px;
    }
}

@media (max-width: 768px) {
    .audience-selector {
        grid-template-columns: 1fr;
        gap: 25px;
        max-width: 450px;
    }
    
    .audience-card {
        padding: 45px 30px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .why-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .service-cta {
        flex-direction: column;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
        min-width: 100%;
    }
}

@media (max-width: 640px) {
    .hero-section {
        padding: 120px 15px 70px;
    }
    
    .hero-title {
        font-size: 2.2rem;
        letter-spacing: -0.5px;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    
    .hero-btn {
        padding: 16px 40px;
        font-size: 1rem;
    }
    
    .who-section {
        padding: 60px 15px;
    }
    
    .section-title {
        font-size: 2rem;
        margin-bottom: 40px;
    }
    
    .audience-card {
        padding: 40px 25px;
    }
    
    .audience-card i {
        font-size: 3.8rem;
    }
    
    .audience-card h3 {
        font-size: 1.4rem;
    }
    
    .services-section {
        padding: 60px 15px;
    }
    
    .section-header {
        margin-bottom: 50px;
    }
    
    .section-badge {
        font-size: 1rem;
        padding: 10px 24px;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .service-image {
        height: 220px;
    }
    
    .service-content {
        padding: 28px;
    }
    
    .service-content h3 {
        font-size: 1.35rem;
        margin-bottom: 18px;
    }
    
    .service-benefits li {
        font-size: 0.95rem;
        line-height: 1.8;
        margin-bottom: 10px;
    }
    
    .btn-primary,
    .btn-secondary {
        padding: 14px 24px;
        font-size: 0.9rem;
    }
    
    .trust-badge {
        padding: 28px 20px;
        margin-top: 40px;
    }
    
    .trust-badge p {
        font-size: 1rem;
    }
    
    .why-section {
        padding: 70px 15px;
    }
    
    .why-grid {
        margin-top: 50px;
        gap: 45px;
    }
    
    .why-card {
        padding: 20px 10px;
    }
    
    .why-card i {
        font-size: 3.8rem;
        margin-bottom: 25px;
    }
    
    .why-card h3 {
        font-size: 1.5rem;
    }
    
    .why-card p {
        font-size: 1rem;
    }
    
    .final-cta-section {
        padding: 80px 15px;
    }
    
    .final-cta-section h2 {
        font-size: 2.2rem;
    }
    
    .final-cta-section p {
        font-size: 1.15rem;
        margin-bottom: 35px;
    }
    
    .cta-btn {
        padding: 18px 45px;
        font-size: 1rem;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-card {
    animation: fadeInUp 0.7s ease-out backwards;
}

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }
.service-card:nth-child(4) { animation-delay: 0.4s; }

.audience-card {
    animation: fadeInUp 0.7s ease-out backwards;
}

.audience-card:nth-child(1) { animation-delay: 0.15s; }
.audience-card:nth-child(2) { animation-delay: 0.3s; }
.audience-card:nth-child(3) { animation-delay: 0.45s; }

/* Container max-width override for services page */
.services-section .container,
.who-section .container,
.why-section .container,
.final-cta-section .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

@media (max-width: 640px) {
    .services-section .container,
    .who-section .container,
    .why-section .container,
    .final-cta-section .container {
        padding: 0 15px;
    }
}

/* Services Overview Section */
.services-overview-section {
    padding: 80px 20px;
    background: #f8f9fa;
}

.services-overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.service-overview-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.service-overview-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.service-overview-image {
    position: relative;
    height: 280px;
    overflow: hidden;
    background: #f0f0f0;
}

.service-overview-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.service-overview-card:hover .service-overview-image img {
    transform: scale(1.1);
}

.service-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(0, 0, 0, 0.85);
    color: white;
    padding: 8px 16px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
}

.service-overview-content {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.service-overview-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #1a202c;
}

.service-overview-content p {
    color: #4a5568;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.service-highlights {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
    flex: 1;
}

.service-highlights li {
    padding: 0.5rem 0;
    color: #2d3748;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.service-highlights i {
    color: #48bb78;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .services-overview-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .service-overview-image {
        height: 220px;
    }
}

@media (max-width: 480px) {
    .service-overview-image {
        height: 200px;
    }
    
    .service-overview-content {
        padding: 1.5rem;
    }
    
    .service-overview-content h3 {
        font-size: 1.25rem;
    }
}
