/* ===================================
   RESET & BASE STYLES
   =================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Color Palette */
    --dark-bg: #1a1a1a;
    --darker-bg: #0f0f0f;
    --light-dark: #2d2d2d;
    --pure-black: #000000;
    
    /* Text Colors */
    --text-white: #FFFFFF;
    --text-light: #E5E5E5;
    --text-gray: #B0B0B0;
    
    /* Accent Colors */
    --accent-cyan: #00FFFF;
    --accent-cyan-dark: #00E5E5;
    --accent-blue: #00B8D4;
    
    /* Gradients */
    --gradient-cyan: linear-gradient(135deg, #00FFFF, #00B8D4);
    --gradient-dark: linear-gradient(135deg, rgba(0, 0, 0, 0.8), rgba(26, 26, 26, 0.9));
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    background-color: var(--dark-bg);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* ===================================
   NAVIGATION
   =================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
    padding: 1.5rem 0;
}

.navbar.scrolled {
    background-color: rgba(15, 15, 15, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h2 {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--text-white);
    line-height: 1.2;
    margin-bottom: 0.2rem;
}

.logo p {
    font-size: 0.75rem;
    color: var(--text-gray);
    font-weight: 400;
}

.logo-subtitle {
    font-size: 0.65rem;
    color: var(--text-gray);
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-cyan);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-cyan);
    transition: width 0.3s ease;
}

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

.btn-primary {
    background: var(--gradient-cyan);
    color: var(--pure-black);
    padding: 0.7rem 1.5rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    display: inline-block;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 255, 255, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--text-white);
    padding: 0.7rem 1.5rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    border: 2px solid var(--accent-cyan);
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-secondary:hover {
    background: var(--accent-cyan);
    color: var(--pure-black);
    transform: translateY(-2px);
}

.nav-btn {
    margin-left: 1rem;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--accent-cyan);
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* ===================================
   HERO SECTION
   =================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #0f0f0f 0%, #1a1a1a 50%, #2d2d2d 100%);
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: var(--spacing-lg);
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    width: 100%;
}

.hero-content {
    display: flex;
    align-items: center;
    padding: var(--spacing-lg) 0;
}

.hero-text {
    max-width: 600px;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: var(--spacing-md);
    color: var(--text-white);
}

.title-line {
    display: block;
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
}

.title-line:nth-child(1) {
    animation-delay: 0.2s;
}

.title-line:nth-child(2) {
    animation-delay: 0.4s;
}

.title-line:nth-child(3) {
    animation-delay: 0.6s;
}

.title-line:nth-child(4) {
    animation-delay: 0.8s;
}

.title-line.highlight {
    background: var(--gradient-cyan);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-gray);
    margin-bottom: var(--spacing-md);
    line-height: 1.8;
    animation: fadeInUp 1s ease forwards;
    animation-delay: 1s;
    opacity: 0;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    animation: fadeInUp 1s ease forwards;
    animation-delay: 1.2s;
    opacity: 0;
}

.hero-image {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.hero-image img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: center center;
    animation: fadeIn 1.5s ease forwards;
    scale: 1.1;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(15, 15, 15, 0.85) 0%, rgba(26, 26, 26, 0.3) 40%, transparent 80%);
    z-index: 1;
}

.chat-widget {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background: var(--gradient-cyan);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 5px 25px rgba(0, 255, 255, 0.3);
    transition: all 0.3s ease;
    z-index: 999;
}

.chat-widget:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(0, 255, 255, 0.5);
}

.chat-widget i {
    font-size: 1.5rem;
    color: var(--pure-black);
}

/* ===================================
   SECTIONS
   =================================== */
.section {
    padding: var(--spacing-xl) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.section-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-white);
    margin-bottom: 1rem;
}

.title-underline {
    width: 80px;
    height: 4px;
    background: var(--gradient-cyan);
    margin: 0 auto;
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-gray);
    margin-top: 1rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ===================================
   ABOUT SECTION
   =================================== */
.about {
    background: var(--darker-bg);
}

.about-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: var(--spacing-lg);
    align-items: start;
}

.about-text h3 {
    font-size: 2rem;
    color: var(--text-white);
    margin-bottom: 1.5rem;
}

.about-text p {
    font-size: 1.1rem;
    color: var(--text-gray);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: var(--light-dark);
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-item h4 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent-cyan);
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: var(--text-light);
    font-size: 0.95rem;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.feature-item {
    background: var(--light-dark);
    padding: 2rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    border-left: 4px solid var(--accent-cyan);
}

.feature-item:hover {
    transform: translateX(10px);
    box-shadow: -5px 5px 20px rgba(0, 255, 255, 0.1);
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-cyan);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.feature-icon i {
    font-size: 1.5rem;
    color: var(--pure-black);
}

.feature-item h4 {
    font-size: 1.3rem;
    color: var(--text-white);
    margin-bottom: 0.5rem;
}

.feature-item p {
    color: var(--text-gray);
    font-size: 0.95rem;
    margin: 0;
}

/* ===================================
   SERVICES SECTION
   =================================== */
.services {
    background: var(--dark-bg);
}

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

.service-card {
    background: var(--light-dark);
    padding: 2.5rem;
    border-radius: 15px;
    transition: all 0.3s ease;
    position: relative;
    border: 2px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-cyan);
    box-shadow: 0 10px 40px rgba(0, 255, 255, 0.1);
}

.service-card.featured {
    border-color: var(--accent-cyan);
    background: linear-gradient(135deg, var(--light-dark) 0%, rgba(0, 255, 255, 0.05) 100%);
}

.featured-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--gradient-cyan);
    color: var(--pure-black);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
}

.service-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-cyan);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-icon i {
    font-size: 2rem;
    color: var(--pure-black);
}

.service-card h3 {
    font-size: 1.5rem;
    color: var(--text-white);
    margin-bottom: 1rem;
}

.service-card > p {
    color: var(--text-gray);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.service-list {
    list-style: none;
    margin-bottom: 1.5rem;
}

.service-list li {
    color: var(--text-light);
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.service-list i {
    color: var(--accent-cyan);
    font-size: 0.9rem;
}

.service-link {
    color: var(--accent-cyan);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s ease;
}

.service-link:hover {
    gap: 1rem;
}

/* ===================================
   PUBLICATIONS SECTION
   =================================== */
.publications {
    background: var(--darker-bg);
}

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

.publication-card {
    background: var(--light-dark);
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease;
    border: 2px solid transparent;
}

.publication-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-cyan);
}

.publication-image {
    height: 200px;
    background: var(--gradient-cyan);
    display: flex;
    align-items: center;
    justify-content: center;
}

.publication-image i {
    font-size: 4rem;
    color: var(--pure-black);
}

.publication-content {
    padding: 2rem;
}

.publication-type {
    display: inline-block;
    background: rgba(0, 255, 255, 0.1);
    color: var(--accent-cyan);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.publication-content h3 {
    font-size: 1.3rem;
    color: var(--text-white);
    margin-bottom: 1rem;
}

.publication-content p {
    color: var(--text-gray);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.publication-link {
    color: var(--accent-cyan);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.publication-link:hover {
    color: var(--accent-cyan-dark);
}

/* ===================================
   SPEAKING SECTION
   =================================== */
.speaking {
    background: var(--dark-bg);
}

.speaking-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: start;
}

.speaking-info h3 {
    font-size: 2rem;
    color: var(--text-white);
    margin-bottom: 1.5rem;
}

.speaking-info > p {
    font-size: 1.1rem;
    color: var(--text-gray);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.speaking-topics {
    background: var(--light-dark);
    padding: 2rem;
    border-radius: 10px;
    margin-bottom: 2rem;
}

.speaking-topics h4 {
    font-size: 1.3rem;
    color: var(--text-white);
    margin-bottom: 1rem;
}

.speaking-topics ul {
    list-style: none;
}

.speaking-topics li {
    color: var(--text-light);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.speaking-topics i {
    color: var(--accent-cyan);
}

.testimonials {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.testimonial-card {
    background: var(--light-dark);
    padding: 2rem;
    border-radius: 15px;
    border-left: 4px solid var(--accent-cyan);
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateX(10px);
}

.testimonial-stars {
    color: var(--accent-cyan);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.testimonial-card p {
    color: var(--text-light);
    font-style: italic;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.testimonial-author strong {
    color: var(--text-white);
    display: block;
    margin-bottom: 0.3rem;
}

.testimonial-author span {
    color: var(--text-gray);
    font-size: 0.9rem;
}

/* ===================================
   CONTACT SECTION
   =================================== */
.contact {
    background: var(--darker-bg);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: var(--spacing-lg);
}

.contact-info h3 {
    font-size: 1.8rem;
    color: var(--text-white);
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--accent-cyan);
    margin-top: 0.3rem;
}

.contact-item h4 {
    font-size: 1.1rem;
    color: var(--text-white);
    margin-bottom: 0.3rem;
}

.contact-item p {
    color: var(--text-gray);
}

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

.social-links a {
    width: 45px;
    height: 45px;
    background: var(--light-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-cyan);
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--gradient-cyan);
    color: var(--pure-black);
    transform: translateY(-5px);
}

.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    color: var(--text-light);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    background: var(--light-dark);
    border: 2px solid transparent;
    color: var(--text-light);
    padding: 1rem;
    border-radius: 5px;
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-cyan);
    background: rgba(0, 255, 255, 0.05);
}

.contact-form button {
    grid-column: 1 / -1;
    padding: 1rem 2rem;
    font-size: 1rem;
    cursor: pointer;
    border: none;
}

/* ===================================
   FOOTER
   =================================== */
.footer {
    background: var(--pure-black);
    padding: var(--spacing-lg) 0 var(--spacing-md);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-md);
}

.footer-section h3 {
    font-size: 1.5rem;
    color: var(--text-white);
    margin-bottom: 1rem;
}

.footer-section h4 {
    font-size: 1.2rem;
    color: var(--text-white);
    margin-bottom: 1rem;
}

.footer-section p {
    color: var(--text-gray);
    line-height: 1.7;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.8rem;
}

.footer-section a {
    color: var(--text-gray);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--accent-cyan);
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: var(--light-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-cyan);
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--gradient-cyan);
    color: var(--pure-black);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid var(--light-dark);
    padding-top: var(--spacing-md);
    text-align: center;
}

.footer-bottom p {
    color: var(--text-gray);
    font-size: 0.9rem;
}

.footer-bottom a {
    color: var(--text-gray);
    text-decoration: none;
}

.footer-bottom a:hover {
    color: var(--accent-cyan);
}

/* ===================================
   ANIMATIONS
   =================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 3.5rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .speaking-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 968px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(15, 15, 15, 0.98);
        width: 100%;
        text-align: center;
        transition: left 0.3s ease;
        padding: 2rem 0;
        gap: 1.5rem;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
    
    .hero-container {
        grid-template-columns: 1fr;
    }
    
    .hero-image {
        height: 50vh;
        order: -1;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    :root {
        --spacing-lg: 3rem;
        --spacing-xl: 4rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .publications-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-form {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .nav-btn {
        margin-left: 0;
        width: 100%;
    }
}