/* CSS Variables for Brand Colors */
:root {
    --wisteria-blue: #9BA5E8;
    --white: #FFFFFF;
    --prussian-blue: #0A1138;
    --blue-bell: #9BA5E8;
    --pale-slate: #B1B4C3;
    --lavender-grey: #84879C;
    --prussian-blue-2: #050A30;
    --light-bg: #f8f9fa;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--prussian-blue);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

/* Navigation */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--prussian-blue);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--wisteria-blue);
}

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

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

.nav-link:hover,
.nav-link.active {
    color: var(--blue-bell);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--blue-bell);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--prussian-blue);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 70px;
}

.hero-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    animation: slideshow 20s infinite;
}

@keyframes slideshow {

    0%,
    20% {
        background-image: url('https://images.unsplash.com/photo-1498050108023-c5249f4df085?w=1920&q=80');
    }

    25%,
    45% {
        background-image: url('https://images.unsplash.com/photo-1460925895917-afdab827c52f?w=1920&q=80');
    }

    50%,
    70% {
        background-image: url('https://images.unsplash.com/photo-1522071820081-009f0129c71c?w=1920&q=80');
    }

    75%,
    95% {
        background-image: url('https://images.unsplash.com/photo-1519389950473-47ba0277781c?w=1920&q=80');
    }

    100% {
        background-image: url('https://images.unsplash.com/photo-1498050108023-c5249f4df085?w=1920&q=80');
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 17, 56, 0.9), rgba(62, 158, 223, 0.7));
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    padding: 2rem;
}

.hero-title {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.2s backwards;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    animation: fadeInUp 1s ease 0.4s backwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Demo Offer Badge */
.demo-offer-badge {
    display: inline-block;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: var(--prussian-blue);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: bold;
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
    animation: pulse 2s infinite, fadeInUp 1s ease;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

.hero-offer {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.3s backwards;
    font-weight: 500;
}

/* Floating Cart */
.floating-cart {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: var(--blue-bell);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(62, 158, 223, 0.4);
    transition: all 0.3s ease;
    z-index: 999;
    animation: bounceIn 0.5s ease;
}

.floating-cart:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(62, 158, 223, 0.6);
}

.cart-icon {
    font-size: 1.75rem;
}

.cart-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ff4444;
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: bold;
    animation: pulse 2s infinite;
}

@keyframes bounceIn {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    50% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Add to Cart Animation */
@keyframes addToCartAnimation {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(0.9);
    }

    100% {
        transform: scale(1);
    }
}

.add-to-cart.adding {
    animation: addToCartAnimation 0.3s ease;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--blue-bell);
    color: var(--white);
}

.btn-primary:hover {
    background: #2d8bc9;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(62, 158, 223, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

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

.btn-whatsapp {
    background: #25D366;
    color: var(--white);
}

.btn-whatsapp:hover {
    background: #1fb855;
}

.btn-lg {
    padding: 1.25rem 2.5rem;
    font-size: 1.125rem;
}

.btn-block {
    width: 100%;
}

/* Sections */
.section {
    padding: 5rem 0;
}

.bg-white {
    background: var(--white);
}

.bg-light {
    background: var(--light-bg);
}

.bg-dark {
    background: var(--prussian-blue-2);
}

.section-title {
    font-size: 2.5rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--prussian-blue);
}

.text-white {
    color: var(--white) !important;
}

.text-light {
    color: var(--pale-slate);
}

.section-subtitle {
    text-align: center;
    color: var(--lavender-grey);
    margin-bottom: 3rem;
    font-size: 1.125rem;
}

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

/* Service Cards */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.service-card {
    background: var(--white);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    border-color: var(--blue-bell);
}

.service-card-highlight {
    border-color: var(--blue-bell) !important;
    position: relative;
    background: linear-gradient(135deg, rgba(62, 158, 223, 0.05), rgba(62, 158, 223, 0.02));
}

.popular-badge {
    position: absolute;
    top: -15px;
    right: 20px;
    background: var(--blue-bell);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.service-title {
    font-size: 1.75rem;
    font-weight: bold;
    color: var(--prussian-blue);
    margin-bottom: 0.5rem;
}

.service-description {
    color: var(--lavender-grey);
    margin-bottom: 1.5rem;
}

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

.service-features li {
    padding: 0.5rem 0;
    color: var(--prussian-blue);
}

.service-price {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--blue-bell);
}

/* Timeline */
.timeline {
    max-width: 800px;
    margin: 0 auto;
}

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

.timeline-number {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: var(--blue-bell);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.25rem;
}

.timeline-content h3 {
    font-size: 1.5rem;
    color: var(--prussian-blue);
    margin-bottom: 0.5rem;
}

.timeline-content p {
    color: var(--lavender-grey);
}

/* AI Services Grid */
.ai-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.ai-card {
    background: rgba(177, 180, 195, 0.1);
    border: 1px solid var(--lavender-grey);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.ai-card:hover {
    transform: translateY(-5px) scale(1.05);
    border-color: var(--blue-bell);
    box-shadow: 0 8px 20px rgba(62, 158, 223, 0.2);
}

.ai-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.ai-card h3 {
    font-size: 1.125rem;
    color: var(--prussian-blue);
    margin-bottom: 0.5rem;
}

.ai-card p {
    font-size: 0.875rem;
    color: var(--lavender-grey);
}

.ai-pricing {
    font-size: 1.125rem;
    color: var(--prussian-blue);
}

/* Portfolio */
.portfolio-category-title {
    font-size: 2rem;
    font-weight: bold;
    color: var(--prussian-blue);
    margin: 3rem 0 2rem;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.portfolio-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.portfolio-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.portfolio-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.portfolio-content {
    padding: 1.5rem;
}

.portfolio-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.portfolio-badge.beginner {
    background: #d4edda;
    color: #155724;
}

.portfolio-badge.intermediate {
    background: #fff3cd;
    color: #856404;
}

.portfolio-badge.advanced {
    background: #f8d7da;
    color: #721c24;
}

.portfolio-content h3 {
    font-size: 1.25rem;
    color: var(--prussian-blue);
    margin-bottom: 0.5rem;
}

.portfolio-content p {
    color: var(--lavender-grey);
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.portfolio-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.portfolio-tech span {
    background: var(--pale-slate);
    color: var(--prussian-blue);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.75rem;
}

/* Pricing Cards */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    color: var(--white);
}

.pricing-card-highlight {
    border: 2px solid var(--blue-bell);
}

.pricing-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.pricing-amount {
    font-size: 2rem;
    font-weight: bold;
    color: var(--blue-bell);
    margin-bottom: 0.5rem;
}

.pricing-desc {
    color: var(--pale-slate);
    font-size: 0.875rem;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
    align-items: center;
}

.about-founder {
    background: rgba(177, 180, 195, 0.1);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
}

.founders-img {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.brotherhood-desc {
    font-style: italic;
    color: var(--lavender-grey);
    font-size: 0.95rem;
    margin-top: 1rem;
    line-height: 1.5;
}

.about-founder h3 {
    font-size: 1.5rem;
    color: var(--prussian-blue);
    margin-bottom: 0.5rem;
}

.founder-title {
    color: var(--lavender-grey);
}

.about-story h3 {
    font-size: 1.75rem;
    color: var(--prussian-blue);
    margin-bottom: 1rem;
}

.about-story p {
    color: var(--lavender-grey);
    margin-bottom: 1rem;
}

.mission-vision-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.mission-card,
.vision-card {
    background: var(--white);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.mission-card h3,
.vision-card h3 {
    font-size: 1.5rem;
    color: var(--prussian-blue);
    margin-bottom: 1rem;
}

.mission-card p,
.vision-card p {
    color: var(--lavender-grey);
}

.values-title,
.goals-title {
    font-size: 2rem;
    font-weight: bold;
    color: var(--prussian-blue);
    text-align: center;
    margin: 3rem 0 2rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.value-card {
    background: var(--white);
    border: 1px solid var(--lavender-grey);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.value-card:hover {
    transform: translateY(-5px) scale(1.05);
    border-color: var(--blue-bell);
}

.value-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.value-card h4 {
    font-size: 1.25rem;
    color: var(--prussian-blue);
    margin-bottom: 0.5rem;
}

.value-card p {
    font-size: 0.875rem;
    color: var(--lavender-grey);
}

.goals-section {
    background: var(--prussian-blue-2);
    padding: 3rem 2rem;
    border-radius: 12px;
    margin-top: 3rem;
}

.goals-section .goals-title {
    color: var(--white);
}

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

.goal-card {
    text-align: center;
    color: var(--white);
}

.goal-number {
    font-size: 3rem;
    font-weight: bold;
    color: var(--blue-bell);
    margin-bottom: 0.5rem;
}

.goal-card h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.goal-card p {
    color: var(--pale-slate);
    font-size: 0.875rem;
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info h3 {
    font-size: 1.75rem;
    color: var(--prussian-blue);
    margin-bottom: 1.5rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-icon {
    font-size: 2rem;
}

.contact-item strong {
    display: block;
    color: var(--prussian-blue);
    margin-bottom: 0.25rem;
}

.contact-item p {
    color: var(--lavender-grey);
}

/* Contact Form */
.contact-form {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    color: var(--prussian-blue);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--lavender-grey);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--blue-bell);
}

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

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

.footer-col h4 {
    margin-bottom: 1rem;
    color: var(--blue-bell);
}

.footer-col p {
    color: var(--pale-slate);
    font-size: 0.875rem;
}

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

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

.footer-col ul li a {
    color: var(--pale-slate);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-col ul li a:hover {
    color: var(--blue-bell);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(177, 180, 195, 0.2);
    color: var(--pale-slate);
    font-size: 0.875rem;
}

/* Cart Summary Styling */
.cart-summary {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef) !important;
    border: 2px solid var(--blue-bell);
    box-shadow: 0 8px 20px rgba(62, 158, 223, 0.2);
    animation: slideInUp 0.5s ease;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cart-summary h3 {
    color: var(--prussian-blue);
    font-size: 1.75rem;
    border-bottom: 2px solid var(--blue-bell);
    padding-bottom: 0.75rem;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--white);
        flex-direction: column;
        padding: 2rem;
        gap: 1rem;
        transition: left 0.3s ease;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        left: 0;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.125rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .section-title {
        font-size: 2rem;
    }

    .service-grid,
    .ai-grid,
    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .timeline-item {
        gap: 1rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .btn {
        padding: 0.75rem 1.5rem;
    }
}

/* Additional Mobile Optimizations */
@media (max-width: 768px) {
    .demo-offer-badge {
        font-size: 0.875rem;
        padding: 0.5rem 1rem;
    }

    .hero-offer {
        font-size: 1rem;
    }

    .hero-title {
        font-size: 1.75rem !important;
    }

    .cart-summary {
        padding: 1.5rem 1rem !important;
    }

    .cart-summary h3 {
        font-size: 1.25rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.5rem !important;
    }

    .demo-offer-badge {
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
    }

    .service-card {
        padding: 1.25rem;
    }

    .btn {
        padding: 0.65rem 1.25rem;
        font-size: 0.813rem;
    }
}

/* Mobile Floating Cart */
@media (max-width: 768px) {
    .floating-cart {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
    }

    .cart-icon {
        font-size: 1.5rem;
    }

    .cart-badge {
        width: 20px;
        height: 20px;
        font-size: 0.65rem;
    }
}