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

:root {
    /* Layout Variables */
    --navbar-height: 72px;
    /* Light Mode Colors */
    --primary-color: #2563eb;
    --primary-dark: #1e40af;
    --secondary-color: #64748b;
    --accent-color: #06b6d4;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    /* Theme Variables */
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-tertiary: #f1f5f9;
    --text-primary: #0f172a;
    --text-secondary: #334155;
    --text-muted: #64748b;
    --border-color: #e2e8f0;
    --card-bg: #ffffff;
    --nav-bg: rgba(255, 255, 255, 0.95);
    /* Static Colors */
    --dark-color: #1e293b;
    --light-color: #f8fafc;
    --white: #ffffff;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-500: #64748b;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
    --gradient: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    --shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 25px 50px rgba(0, 0, 0, 0.15);
    --border-radius: 12px;
    --transition: all 0.3s ease;
}

/* Dark Mode Colors */
.dark-mode {
    --bg-primary: #0f172a;
    --bg-secondary: #1e293b;
    --bg-tertiary: #334155;
    --text-primary: #f8fafc;
    --text-secondary: #cbd5e1;
    --text-muted: #94a3b8;
    --border-color: #334155;
    --card-bg: #1e293b;
    --nav-bg: rgba(15, 23, 42, 0.95);
    --shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 25px 50px rgba(0, 0, 0, 0.4);
}

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

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--nav-bg);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: var(--transition);
    border-bottom: 1px solid var(--border-color);
}

    .navbar.scrolled {
        background: var(--nav-bg);
        box-shadow: var(--shadow);
        backdrop-filter: blur(15px);
    }

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

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

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

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

.nav-link {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

    .nav-link:hover {
        color: var(--primary-color);
    }

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

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

.cta-nav {
    background: var(--gradient);
    color: var(--white) !important;
    padding: 8px 20px;
    border-radius: var(--border-radius);
    font-weight: 600;
}

    .cta-nav::after {
        display: none;
    }

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--text-secondary);
    margin: 3px 0;
    transition: var(--transition);
}

/* Navigation Controls */
.nav-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Theme Toggle */
.theme-toggle {
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    color: var(--text-secondary);
    position: relative;
    z-index: 10;
    outline: none;
}

    .theme-toggle:hover {
        background: var(--bg-secondary);
        border-color: var(--primary-color);
        color: var(--primary-color);
        transform: scale(1.05);
    }

    .theme-toggle i {
        font-size: 1rem;
        transition: var(--transition);
    }

/* Hero Section - Fixed for mobile visibility */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
    padding: calc(var(--navbar-height) + 2rem) 0 3rem;
}

    .hero::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23e2e8f0" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
        opacity: 0.5;
        z-index: 0;
    }

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    z-index: 2;
}

.hero-title {
    font-size: clamp(1.8rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

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

.hero-description {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--border-radius);
    transition: var(--transition);
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 1rem;
    text-align: center;
}

.btn-primary {
    background: var(--gradient);
    color: var(--white);
    box-shadow: var(--shadow);
}

    .btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: var(--shadow-lg);
    }

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

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

.hero-visual {
    position: relative;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.floating-card {
    position: absolute;
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    animation: float 6s ease-in-out infinite;
}

    .floating-card:nth-child(1) {
        top: 10%;
        right: 20%;
        animation-delay: 0s;
    }

    .floating-card:nth-child(2) {
        bottom: 20%;
        left: 10%;
        animation-delay: 2s;
    }

    .floating-card:nth-child(3) {
        top: 50%;
        right: 10%;
        animation-delay: 4s;
    }

    .floating-card i {
        font-size: 2rem;
        color: var(--primary-color);
        margin-bottom: 0.5rem;
        display: block;
    }

    .floating-card h3 {
        font-size: 1rem;
        font-weight: 600;
        color: var(--text-primary);
    }

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }
}

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

    .section-header h2 {
        font-size: clamp(2rem, 4vw, 3rem);
        font-weight: 700;
        margin-bottom: 1rem;
        color: var(--text-primary);
    }

    .section-header p {
        font-size: 1.25rem;
        color: var(--text-muted);
        max-width: 600px;
        margin: 0 auto;
    }

/* Services Section */
.services {
    padding: 6rem 0;
    background: var(--bg-primary);
}

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

.service-card {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

    .service-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 4px;
        background: var(--gradient);
    }

    .service-card:hover {
        transform: translateY(-10px);
        box-shadow: var(--shadow-lg);
    }

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(6, 182, 212, 0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

    .service-icon i {
        font-size: 1.8rem;
        color: var(--primary-color);
    }

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

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

.service-card ul {
    list-style: none;
    padding: 0;
}

    .service-card ul li {
        position: relative;
        padding: 0.5rem 0 0.5rem 1.5rem;
        color: var(--text-secondary);
    }

        .service-card ul li::before {
            content: '✓';
            position: absolute;
            left: 0;
            color: var(--success-color);
            font-weight: bold;
        }

/* About Section */
.about {
    padding: 6rem 0;
    background: var(--bg-secondary);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

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

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

.stat {
    text-align: center;
}

    .stat h3 {
        font-size: 2.5rem;
        font-weight: 800;
        color: var(--primary-color);
        margin-bottom: 0.5rem;
    }

    .stat p {
        color: var(--text-muted);
        font-weight: 500;
    }

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-placeholder {
    width: 300px;
    height: 300px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-align: center;
}

    .image-placeholder i {
        font-size: 4rem;
        margin-bottom: 1rem;
    }

    .image-placeholder p {
        font-size: 1.5rem;
        font-weight: 600;
    }

/* Contact Section */
.contact {
    padding: 6rem 0;
    background: var(--bg-primary);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info {
    space-y: 2rem;
}

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

    .contact-item i {
        width: 50px;
        height: 50px;
        background: var(--gradient);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--white);
        font-size: 1.2rem;
        flex-shrink: 0;
    }

    .contact-item h3 {
        font-size: 1.2rem;
        font-weight: 600;
        margin-bottom: 0.5rem;
        color: var(--text-primary);
    }

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

.contact-form-container {
    background: var(--bg-tertiary);
    padding: 2.5rem;
    border-radius: var(--border-radius);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

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

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

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 12px;
        border: 2px solid var(--border-color);
        border-radius: var(--border-radius);
        font-size: 1rem;
        transition: var(--transition);
        background: var(--card-bg);
        color: var(--text-primary);
    }

        .form-group input:focus,
        .form-group select:focus,
        .form-group textarea:focus {
            outline: none;
            border-color: var(--primary-color);
            box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
        }

/* Quote Section */
.quote-section {
    padding: 6rem 0;
    background: var(--gray-900);
    color: var(--white);
}

.quote-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

    .quote-content h2 {
        font-size: 2.5rem;
        font-weight: 700;
        margin-bottom: 1rem;
    }

    .quote-content p {
        font-size: 1.25rem;
        margin-bottom: 3rem;
        opacity: 0.8;
    }

.quote-form {
    background: var(--card-bg);
    padding: 3rem;
    border-radius: var(--border-radius);
    color: var(--text-primary);
    text-align: left;
}

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

.checkbox-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 0.75rem;
    margin-top: 0.5rem;
}

    .checkbox-group label {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        cursor: pointer;
        font-weight: 400;
    }

    .checkbox-group input[type="checkbox"] {
        width: auto;
        margin: 0;
    }

/* Footer */
.footer {
    background: var(--gray-900);
    color: var(--white);
    padding: 3rem 0 1rem;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1rem;
}

    .footer-logo img {
        height: 40px;
        width: auto;
        filter: brightness(0) invert(1);
    }

    .footer-logo span {
        font-size: 1.5rem;
        font-weight: 700;
    }

.footer-section p {
    opacity: 0.8;
    line-height: 1.7;
}

.footer-section h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

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

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

        .footer-section ul li a {
            color: var(--white);
            text-decoration: none;
            opacity: 0.8;
            transition: var(--transition);
        }

            .footer-section ul li a:hover {
                opacity: 1;
                color: var(--accent-color);
            }

.footer-bottom {
    border-top: 1px solid var(--gray-800);
    padding-top: 1rem;
    text-align: center;
    opacity: 0.6;
}

/* Chatbot Widget */
.chatbot-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.chatbot-toggle {
    width: 60px;
    height: 60px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow);
    transition: var(--transition);
    color: var(--white);
    font-size: 1.5rem;
}

    .chatbot-toggle:hover {
        transform: scale(1.1);
    }

.chatbot-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 350px;
    height: 450px;
    background: var(--card-bg);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    display: none;
    flex-direction: column;
    border: 1px solid var(--border-color);
}

    .chatbot-window.active {
        display: flex;
    }

.chatbot-header {
    background: var(--gradient);
    color: var(--white);
    padding: 1rem;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

    .chatbot-header h3 {
        font-size: 1.1rem;
        font-weight: 600;
    }

.chatbot-close {
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chatbot-messages {
    flex: 1;
    padding: 1rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.message {
    max-width: 80%;
    padding: 0.75rem 1rem;
    border-radius: var(--border-radius);
    word-wrap: break-word;
}

.bot-message {
    background: var(--bg-tertiary);
    align-self: flex-start;
    color: var(--text-primary);
}

.user-message {
    background: var(--gradient);
    color: var(--white);
    align-self: flex-end;
}

.chatbot-input {
    padding: 1rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    gap: 0.5rem;
}

    .chatbot-input input {
        flex: 1;
        padding: 0.75rem;
        border: 1px solid var(--border-color);
        border-radius: var(--border-radius);
        outline: none;
        background: var(--bg-primary);
        color: var(--text-primary);
    }

        .chatbot-input input:focus {
            border-color: var(--primary-color);
        }

    .chatbot-input button {
        background: var(--gradient);
        color: var(--white);
        border: none;
        padding: 0.75rem 1rem;
        border-radius: var(--border-radius);
        cursor: pointer;
        transition: var(--transition);
    }

        .chatbot-input button:hover {
            opacity: 0.9;
        }

/* Responsive Design */
@media (max-width: 768px) {
    .hero {
        min-height: 100vh;
        padding: calc(var(--navbar-height) + 3rem) 0 4rem;
        align-items: flex-start;
        padding-top: calc(var(--navbar-height) + 4rem);
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
        padding: 0 20px;
        margin-top: 2rem;
    }

    .hero-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
        line-height: 1.4;
        margin-bottom: 2rem;
        text-align: center;
        margin-top: 1rem;
    }

    .hero-visual {
        height: 250px;
        order: -1;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: 100vh;
        padding: calc(var(--navbar-height) + 4rem) 0 3rem;
        padding-top: calc(var(--navbar-height) + 5rem);
    }

    .hero-container {
        padding: 0 20px;
        gap: 2rem;
        margin-top: 3rem;
    }

    .hero-title {
        font-size: clamp(1.6rem, 7vw, 2.2rem);
        line-height: 1.5;
        margin-bottom: 2rem;
        margin-top: 2rem;
    }

    .hero-description {
        font-size: 1rem;
        margin-bottom: 2rem;
        line-height: 1.6;
    }

    .hero-visual {
        height: 200px;
    }
}

@media (max-width: 380px) {
    .hero {
        min-height: 100vh;
        padding: calc(var(--navbar-height) + 5rem) 0 3rem;
        padding-top: calc(var(--navbar-height) + 6rem);
    }
    
    .hero-container {
        padding: 0 15px;
        margin-top: 4rem;
    }

    .hero-title {
        font-size: clamp(1.4rem, 8vw, 2rem);
        line-height: 1.5;
        margin-top: 3rem;
        margin-bottom: 2rem;
    }
}