:root {
    --bg-color: #0f172a;
    --card-bg: #1e293b;
    --text-color: #f8fafc;
    --text-muted: #94a3b8;
    --accent-color: #38bdf8;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --font-main: 'Outfit', sans-serif;
    --font-heading: 'Playfair Display', serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-main);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Custom Cursor */
.cursor-dot,
.cursor-outline {
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 9999;
    pointer-events: none;
}

.cursor-dot {
    width: 5px;
    height: 5px;
    background-color: var(--accent-color);
}

.cursor-outline {
    width: 30px;
    height: 30px;
    border: 1px solid var(--accent-color);
    transition: width 0.2s, height 0.2s, background-color 0.2s;
}

/* Typographic Background */
.typographic-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.04;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 2rem 0;
    overflow: hidden;
}

.word-row {
    font-family: var(--font-heading);
    font-size: 6rem;
    white-space: nowrap;
    color: var(--text-muted);
    display: flex;
    gap: 2rem;
    animation: marquee 60s linear infinite;
}

.word-row:nth-child(even) {
    animation-direction: reverse;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Global Scroll Animation */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-on-scroll.active {
    opacity: 1;
    transform: translateY(0);
}

/* Reveal Animations (Legacy support if needed, but prefer animate-on-scroll) */
.reveal-text,
.reveal-text-delay,
.reveal-text-delay-2 {
    display: inline-block;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.5, 0, 0, 1), transform 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal-text.active,
.reveal-text-delay.active,
.reveal-text-delay-2.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-text-delay {
    transition-delay: 0.2s;
}

.reveal-text-delay-2 {
    transition-delay: 0.4s;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 10%;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    backdrop-filter: blur(10px);
    background: rgba(15, 23, 42, 0.8);
    border-bottom: 1px solid var(--glass-border);
}

.logo {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-color);
    font-family: var(--font-heading);
    cursor: pointer;
}

.logo .dot {
    color: var(--accent-color);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 3rem;
    list-style: none;
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--accent-color);
}

.cta-btn {
    padding: 0.8rem 2rem;
    border: 1px solid var(--text-color);
    border-radius: 30px;
    transition: all 0.3s;
    text-decoration: none;
}

.cta-btn:hover {
    background: var(--text-color);
    color: var(--bg-color) !important;
}

.theme-toggle {
    background: none;
    border: none;
    color: var(--text-color);
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hamburger {
    display: none;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 10%;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero-content {
    flex: 1;
    z-index: 2;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 5.5rem;
    line-height: 1.1;
    margin-bottom: 2rem;
    color: var(--text-color);
}

.hero-title .highlight {
    color: var(--accent-color);
    display: block;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 600px;
    margin-bottom: 3rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
}

.btn {
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.primary-btn {
    background: var(--accent-color);
    color: #fff;
    box-shadow: 0 10px 30px rgba(56, 189, 248, 0.3);
    border: none;
}

.primary-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(56, 189, 248, 0.4);
}

.secondary-btn {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-color);
}

.secondary-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--text-color);
}

.hero-visual {
    flex: 1;
    position: relative;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.glass-card {
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    padding: 2rem;
    border-radius: 30px;
    position: absolute;
    z-index: 2;
    width: 280px;
    text-align: center;
}

.glass-card h3 {
    font-size: 4rem;
    color: var(--accent-color);
    font-family: var(--font-heading);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.glass-card p {
    color: var(--text-color);
    font-weight: 600;
}

.stars {
    color: #fbbf24;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.avatars {
    display: flex;
    justify-content: center;
    gap: -10px;
    margin-top: 1rem;
}

.avatars span {
    font-size: 1.5rem;
    background: var(--card-bg);
    border-radius: 50%;
    padding: 5px;
    border: 2px solid var(--glass-border);
    margin-left: -10px;
}

.avatars span:first-child {
    margin-left: 0;
}

.floating-badge {
    position: absolute;
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.badge-1 {
    top: 10%;
    right: 20%;
    animation: float 6s ease-in-out infinite;
}

.badge-2 {
    bottom: 20%;
    left: 10%;
    animation: float 8s ease-in-out infinite reverse;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* General Section Styles */
.section {
    padding: 100px 10%;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.section-header {
    margin-bottom: 4rem;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.section-line {
    width: 80px;
    height: 4px;
    background: var(--accent-color);
    border-radius: 2px;
}

.center-header {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section-desc {
    color: var(--text-muted);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.image-placeholder {
    width: 100%;
    height: 550px;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    border: 1px solid var(--glass-border);
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, var(--bg-color), transparent);
    opacity: 0.6;
}

.profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.image-placeholder:hover .profile-img {
    transform: scale(1.05);
}

.experience-badge {
    position: absolute;
    bottom: -40px;
    right: -40px;
    background: var(--bg-color);
    border: 1px solid var(--accent-color);
    color: var(--text-color);
    padding: 2rem;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 160px;
    height: 160px;
    box-shadow: 0 0 30px rgba(56, 189, 248, 0.1);
}

.experience-badge .years {
    font-size: 3rem;
    font-weight: 800;
    color: var(--accent-color);
    line-height: 1;
}

.about-text .lead-text {
    font-size: 1.5rem;
    color: var(--text-color);
    margin-bottom: 2rem;
    font-weight: 600;
}

.bio-content p {
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.feature-list {
    list-style: none;
    margin-top: 2rem;
}

.feature-list li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    color: var(--text-color);
}

.feature-list .icon {
    color: var(--accent-color);
    margin-right: 1rem;
    font-weight: bold;
}

/* Methodology Cards */
.cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

.feature-card {
    background: linear-gradient(145deg, var(--glass-bg) 0%, rgba(255, 255, 255, 0.01) 100%);
    border: 1px solid var(--glass-border);
    padding: 3rem 2rem;
    border-radius: 25px;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.feature-card h3 {
    color: var(--text-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.feature-card p {
    color: var(--text-muted);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(56, 189, 248, 0.1), transparent 70%);
    opacity: 0;
    transition: opacity 0.3s;
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: rgba(56, 189, 248, 0.3);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 0 10px rgba(56, 189, 248, 0.3));
}

/* Quote Section (Enhanced) */
.quote-section {
    padding: 150px 10%;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1460661419201-fd4cecdf8a8b?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center/cover;
    filter: brightness(0.3);
    z-index: -1;
}

.testimonial-container {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 4rem;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.testimonial-text {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    line-height: 1.4;
    color: #fff;
    margin-bottom: 2rem;
    font-style: italic;
}

.testimonial-author {
    display: block;
    font-size: 1.2rem;
    color: var(--accent-color);
    font-weight: 600;
    letter-spacing: 1px;
    font-style: normal;
}

.testimonial-indicators {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 2rem;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.3s;
}

.indicator.active {
    background: var(--accent-color);
    transform: scale(1.2);
    box-shadow: 0 0 10px var(--accent-color);
}

/* Animations */
.fade-out {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s, transform 0.5s;
}

.fade-in {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.5s, transform 0.5s;
}

/* Contact Section */
.contact-section {
    padding: 120px 10%;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    padding: 4rem;
    backdrop-filter: blur(20px);
}

.contact-info h2 {
    color: var(--text-color);
    margin-bottom: 1rem;
    font-family: var(--font-heading);
    font-size: 2.5rem;
}

.contact-info p {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.detail-item {
    margin-bottom: 1.5rem;
}

.detail-item .label {
    display: block;
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.detail-item .value {
    font-size: 1.2rem;
    color: var(--text-color);
}

.form-group {
    position: relative;
    margin-bottom: 2rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    background: var(--glass-bg);
    border: none;
    border-bottom: 2px solid var(--glass-border);
    padding: 15px;
    color: var(--text-color);
    font-family: var(--font-main);
    font-size: 1rem;
    outline: none;
    transition: all 0.3s;
    border-radius: 10px 10px 0 0;
}

.form-group textarea {
    height: 120px;
    resize: none;
}

.form-group label {
    position: absolute;
    top: 15px;
    left: 15px;
    color: var(--text-muted);
    pointer-events: none;
    transition: 0.3s;
    font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group input:not(:placeholder-shown),
.form-group textarea:not(:placeholder-shown) {
    background: rgba(255, 255, 255, 0.1);
    border-bottom-color: var(--accent-color);
}

.form-group input:focus+label,
.form-group textarea:focus+label,
.form-group input:not(:placeholder-shown)+label,
.form-group textarea:not(:placeholder-shown)+label {
    top: -25px;
    left: 0;
    font-size: 0.85rem;
    color: var(--accent-color);
}

.submit-btn {
    width: 100%;
    background: var(--accent-color);
    color: #fff;
    border: none;
    padding: 1rem;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.submit-btn:hover {
    background: #0ea5e9;
    transform: translateY(-2px);
}

/* Footer */
footer {
    padding: 3rem 0;
    text-align: center;
    color: var(--text-muted);
    border-top: 1px solid var(--glass-border);
}

.social-links {
    margin-top: 1.5rem;
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.social-icon {
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    border-radius: 50%;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
}

.social-icon svg {
    width: 24px;
    height: 24px;
    transition: transform 0.3s;
}

.social-icon:hover {
    color: var(--accent-color);
    border-color: var(--accent-color);
    box-shadow: 0 0 15px rgba(56, 189, 248, 0.3);
    transform: translateY(-3px);
}

.social-icon:hover svg {
    transform: scale(1.1);
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 4rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        padding: 3rem;
    }

    .hero-visual {
        display: none;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 1.5rem;
    }

    .nav-links {
        display: none;
    }

    .hamburger {
        display: block;
        cursor: pointer;
    }

    .hamburger .line {
        width: 30px;
        height: 3px;
        background: var(--text-color);
        margin: 5px 0;
    }

    .hero-title {
        font-size: 3rem;
    }

    .section {
        padding: 80px 5%;
    }

    .testimonial-text {
        font-size: 1.5rem;
    }
}