/* CSS Variables for Theme */
:root {
    --primary-color: #50578C;
    --primary-gradient: linear-gradient(135deg, #6B72A4 0%, #3E4575 100%);
    --secondary-color: #1E254A;
    --text-dark: #1E254A;
    --text-light: #64748B;
    --bg-light: #F8FAFC;
    --bg-white: #FFFFFF;
    --footer-bg: #0F172A;
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --border-radius: 12px;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 500;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-family: 'Inter', sans-serif;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 4px 14px 0 rgba(108, 92, 231, 0.39);
}

.btn-primary:hover {
    background: #5A4AD1;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px 0 rgba(108, 92, 231, 0.5);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.btn-outline:hover {
    background: rgba(108, 92, 231, 0.05);
}

.btn-outline-light {
    background: transparent;
    color: white;
    border: 1px solid white;
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Navbar */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    transition: var(--transition);
}

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

.logo img {
    height: 40px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-dark);
    position: relative;
}

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

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-links a:hover::after, .nav-links a.active::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-dark);
    cursor: pointer;
}

/* Hero Section */
.hero {
    padding: 180px 0 100px;
    background: radial-gradient(circle at top right, rgba(162, 155, 254, 0.1), transparent 40%),
                radial-gradient(circle at bottom left, rgba(59, 130, 246, 0.05), transparent 40%);
    position: relative;
    overflow: hidden;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.hero-content .highlight {
    color: var(--secondary-color);
}

.hero-content p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
}

.highlight-text {
    color: var(--primary-color);
    font-weight: 600;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.professions-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.professions-icons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.prof-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    font-size: 1.2rem;
    transition: var(--transition);
    cursor: pointer;
}

.prof-item span {
    font-size: 0.75rem;
    font-family: 'Inter', sans-serif;
    color: var(--text-light);
}

.prof-item:hover {
    transform: translateY(-3px);
}

.hero-image {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 600px;
}

/* Abstract Mockup Elements */
.hero-illustration {
    position: relative;
    width: 100%;
    height: 100%;
}

.floating-phone {
    width: 260px;
    height: 540px;
    background: white;
    border-radius: 36px;
    box-shadow: var(--shadow-lg), 0 0 0 10px #333;
    position: absolute;
    left: 20%;
    top: 5%;
    z-index: 2;
    overflow: hidden;
    transform: rotate(-5deg);
    animation: float 6s ease-in-out infinite;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: #f8f9fa;
    padding: 40px 15px 15px;
}

.profile-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e0e0e0, #c0c0c0);
}

.stats {
    display: flex;
    gap: 15px;
}

.stats div {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 0.7rem;
}

.stats strong {
    font-size: 1rem;
    color: var(--text-dark);
}

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

.grid-item {
    aspect-ratio: 1;
    background: #e0e0e0;
    border-radius: 4px;
}

.floating-notebook {
    width: 240px;
    height: 340px;
    background: var(--primary-gradient);
    border-radius: 4px 16px 16px 4px;
    position: absolute;
    right: 5%;
    top: 25%;
    z-index: 1;
    box-shadow: var(--shadow-md);
    transform: rotate(8deg);
    animation: float 7s ease-in-out infinite reverse;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    color: white;
    text-align: center;
}

.notebook-cover h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 400;
    font-style: italic;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.notebook-cover .decor {
    font-size: 1.5rem;
    opacity: 0.5;
}

.pen {
    position: absolute;
    width: 12px;
    height: 200px;
    background: #333;
    border-radius: 10px;
    right: -30px;
    top: 50px;
    transform: rotate(15deg);
    box-shadow: 2px 4px 10px rgba(0,0,0,0.2);
}

.pen::before {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 1px;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 15px solid #d4af37; /* gold tip */
}

@keyframes float {
    0% { transform: translateY(0px) rotate(auto); }
    50% { transform: translateY(-15px) rotate(auto); }
    100% { transform: translateY(0px) rotate(auto); }
}

.bg-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    z-index: 0;
}

.shape-1 {
    width: 300px;
    height: 300px;
    background: rgba(108, 92, 231, 0.2);
    top: 20%;
    left: 20%;
}

.shape-2 {
    width: 250px;
    height: 250px;
    background: rgba(59, 130, 246, 0.2);
    bottom: 10%;
    right: 10%;
}


/* Global Section Header */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.subtitle {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 2px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 0.5rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--text-dark);
}

/* Services */
.services {
    padding: 100px 0;
    background: var(--bg-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    padding: 2.5rem 1.5rem;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.02);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: rgba(108, 92, 231, 0.1);
}

.icon-wrapper {
    width: 70px;
    height: 70px;
    background: rgba(108, 92, 231, 0.05);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1.5rem;
    transition: var(--transition);
}

.service-card:hover .icon-wrapper {
    background: var(--primary-gradient);
    color: white;
}

.service-card h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-family: 'Inter', sans-serif;
}

.service-card p {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Audience Section */
.audience {
    padding: 100px 0;
}

.audience-container {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.audience-content {
    flex: 1;
}

.audience-content h2 {
    font-size: 2.5rem;
    margin: 1rem 0 1.5rem;
}

.audience-content p {
    color: var(--text-light);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.audience-gallery {
    flex: 1.5;
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding-bottom: 1rem;
    scrollbar-width: thin;
}

.audience-gallery::-webkit-scrollbar {
    height: 6px;
}
.audience-gallery::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}

.gallery-item {
    min-width: 160px;
    height: 320px;
    border-radius: var(--border-radius);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    flex-shrink: 0;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.badge {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-dark);
    box-shadow: var(--shadow-sm);
    white-space: nowrap;
}

.gallery-item.more {
    background: var(--bg-light);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 2px dashed #cbd5e1;
    cursor: pointer;
    transition: var(--transition);
}

.gallery-item.more:hover {
    border-color: var(--primary-color);
    background: rgba(108, 92, 231, 0.05);
}

.more-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}


/* Features Section */
.features {
    padding: 100px 0;
    background: var(--bg-light);
}

.features-grid {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.feature-item {
    flex: 1;
    text-align: center;
    padding: 0 1rem;
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.feature-text h4 {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.feature-text p {
    font-size: 0.9rem;
    color: var(--text-light);
}

.feature-separator {
    width: 1px;
    height: 100px;
    background: rgba(0,0,0,0.1);
    margin: 0 1rem;
}

/* Testimonials */
.testimonials {
    padding: 100px 0;
}

.testimonial-card {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 4rem;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    position: relative;
    text-align: center;
}

.quote-marks {
    position: absolute;
    font-size: 3rem;
    color: rgba(108, 92, 231, 0.1);
}

.quote-marks.left {
    top: 2rem;
    left: 2rem;
}

.quote-marks.right {
    bottom: 2rem;
    right: 2rem;
}

.quote-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-style: italic;
    color: var(--text-dark);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info h4 {
    font-family: 'Inter', sans-serif;
    margin: 0;
    font-size: 1rem;
}

.author-info p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--text-light);
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #cbd5e1;
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: var(--primary-color);
    width: 25px;
    border-radius: 10px;
}

/* CTA Section */
.cta {
    background: var(--primary-gradient);
    padding: 80px 0;
    color: white;
}

.cta-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
}

.cta-icon {
    font-size: 5rem;
    background: rgba(255,255,255,0.1);
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.cta-content {
    flex: 1;
}

.cta-content h2 {
    color: white;
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
}

.cta-content p {
    font-size: 1.1rem;
    opacity: 0.9;
}

.cta-action {
    text-align: center;
}

.small-text {
    font-size: 0.8rem;
    opacity: 0.8;
    margin-top: 0.5rem;
}


/* Footer */
.footer {
    background: var(--footer-bg);
    color: white;
    padding: 80px 0 20px;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.brand-col p {
    color: #94a3b8;
    margin-top: 1.5rem;
    font-size: 0.9rem;
}

.footer h4 {
    font-family: 'Inter', sans-serif;
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.footer ul li {
    margin-bottom: 0.75rem;
}

.footer ul a {
    color: #94a3b8;
    font-size: 0.9rem;
}

.footer ul a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.social-links a {
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: white;
}

.social-links a:hover {
    background: var(--primary-color);
}

.contact-info li {
    color: #94a3b8;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #64748b;
    font-size: 0.85rem;
}


/* Responsive Design */
@media (max-width: 992px) {
    .hero-container, .audience-container, .cta-container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content {
        order: 1;
    }
    
    .hero-image {
        order: 2;
        width: 100%;
        margin-top: 2rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .professions-icons {
        justify-content: center;
    }

    .floating-phone {
        left: 5%;
    }
    .floating-notebook {
        right: 0%;
    }

    .footer-container {
        grid-template-columns: 1fr 1fr;
    }

    .features-grid {
        flex-wrap: wrap;
        gap: 2rem;
    }
    
    .feature-separator {
        display: none;
    }

    .feature-item {
        min-width: 45%;
    }
}

@media (max-width: 768px) {
    .nav-links, .nav-actions .btn {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }

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

    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    .contact-info li {
        justify-content: center;
    }

    .feature-item {
        min-width: 100%;
    }
    
    .floating-phone, .floating-notebook {
        position: relative;
        left: auto;
        right: auto;
        top: auto;
        margin: 0 auto 2rem;
        transform: none !important;
        animation: none !important;
    }
    
    .hero-illustration {
        display: flex;
        flex-direction: column;
    }
}
