/* Global Styles */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');

html {
    scroll-behavior: smooth;
}

:root {
    --primary-color: #2D3E50;
    /* Dark Blue Text */
    --accent-color: #86be1b;
    /* Lime Green Highlight */
    --button-gradient-start: #3498db;
    --button-gradient-end: #2ecc71;
    --bg-color: #f8fcfd;
    --text-color: #333;
    --font-family: 'Outfit', sans-serif;
}

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

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

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 30px;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo-container {
    display: flex;
    align-items: center;
}

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

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

.logo-text span {
    color: #F1C40F;
    /* Yellow in logo 'THE' */
    background: var(--accent-color);
    /* Green background for T */
    padding: 2px 5px;
    border-radius: 3px;
    color: white;
    margin-right: 2px;
}

/* Navigation */
nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

nav ul li a {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 500;
    font-size: 1.1rem;
    transition: color 0.3s ease;
    position: relative;
}

nav ul li a:hover {
    color: var(--accent-color);
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

nav ul li a:hover::after,
nav ul li a.active::after {
    width: 100%;
}

nav ul li a.active {
    color: var(--accent-color);
}

/* Hero Section (Replicated from screenshot) */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4rem 5%;
    min-height: 80vh;
    background: linear-gradient(135deg, #fdfbfb 0%, #ebedee 100%);
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 50%;
    z-index: 1;
}

.hero h1 {
    font-size: 3.5rem;
    color: var(--primary-color);
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero h1 span {
    color: var(--accent-color);
}

.hero p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.cta-button {
    display: inline-block;
    padding: 12px 35px;
    background: linear-gradient(to right, var(--button-gradient-start), var(--button-gradient-end));
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(46, 204, 113, 0.3);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(46, 204, 113, 0.4);
}

.hero-image {
    max-width: 45%;
    position: relative;
    z-index: 1;
}

.hero-image img {
    width: 100%;
    height: auto;
    animation: float 6s ease-in-out infinite;
}

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

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

    100% {
        transform: translateY(0px);
    }
}

/* Decorative background shapes */
.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 0;
}

.shape-1 {
    width: 300px;
    height: 300px;
    background: rgba(52, 152, 219, 0.1);
    top: -50px;
    left: -100px;
}

.shape-2 {
    width: 400px;
    height: 400px;
    background: rgba(46, 204, 113, 0.1);
    bottom: -100px;
    right: -100px;
}

nav ul li a.menu-item-ai {
    display: flex;
    align-items: center;
    padding: 0;
}

/* AI Pulse Animation */
@keyframes ai-pulse-star {
    0% {
        box-shadow: 0 0 10px rgba(28, 169, 242, 0.5), 0 0 20px rgba(28, 169, 242, 0.3);
        border-color: #1ca9f2;
    }

    50% {
        box-shadow: 0 0 25px rgba(134, 190, 27, 0.8), 0 0 40px rgba(134, 190, 27, 0.5);
        border-color: #86be1b;
    }

    100% {
        box-shadow: 0 0 10px rgba(28, 169, 242, 0.5), 0 0 20px rgba(28, 169, 242, 0.3);
        border-color: #1ca9f2;
    }
}

.ai-star-blink {
    animation: ai-pulse-star 2s infinite ease-in-out;
}

.ai-logo-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Star Sparkle Effect */
.ai-logo-container::after {
    content: '★' !important;
    position: absolute;
    top: -5px !important;
    right: -5px !important;
    color: #ffcc00 !important;
    font-size: 14px !important;
    animation: star-sparkle 1.5s infinite alternate !important;
    text-shadow: 0 0 10px #fff !important;
    pointer-events: none !important;
    width: auto !important;
    height: auto !important;
    background: none !important;
    bottom: auto !important;
    display: block !important;
}

@keyframes star-sparkle {
    0% {
        opacity: 0.3;
        transform: scale(0.8) rotate(0deg);
    }

    100% {
        opacity: 1;
        transform: scale(1.2) rotate(45deg);
    }
}

.menu-logo-img {
    height: 55px;
    width: 55px;
    border-radius: 50%;
    border: 2px solid #1ca9f2;
    margin-left: 30px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    padding: 2px;
    background: #fff;
    object-fit: cover;
}

.menu-logo-img:hover {
    transform: scale(1.15) rotate(5deg);
}


/* Layout & Sections */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 30px 0;
    /* Further reduced from 60px */
}

.bg-light {
    background-color: #f1f7f9;
}

.section-header {
    text-align: center;
    margin-bottom: 30px;
    /* Reduced from 60px */
}

.section-header h2 {
    font-size: 2.8rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.section-header h2 span {
    color: var(--accent-color);
}

.section-header p {
    font-size: 1.1rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}

.view-more-container {
    text-align: center;
    margin-top: 20px;
    /* Reduced from 50px */
}

/* Grid & Cards */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

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

.card-content {
    padding: 30px;
}

.card-content h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.card-content p {
    color: #777;
    font-size: 0.95rem;
}

/* Feature Cards */
.feature-card {
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.feature-card:hover {
    background: var(--accent-color);
    color: white;
}

.feature-card:hover h3,
.feature-card:hover p {
    color: white;
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

/* AI Section */
.ai-container {
    display: flex;
    align-items: center;
    gap: 60px;
}

.half-width {
    flex: 1;
}

.half-width img {
    width: 100%;
    height: auto;
}

.ai-features {
    list-style: none;
    margin: 30px 0;
}

.ai-features li {
    margin-bottom: 15px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
}

.ai-features li span {
    color: var(--accent-color);
    font-weight: 700;
}

/* Footer */
.footer {
    background-color: #fff;
    padding: 20px 0 5px;
    /* Further reduced from 40px and 10px */
    border-top: 1px solid #eee;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    /* Reduced from 20px */
}

.footer-logo img {
    height: 85px;
    /* Increased from 60px */
}

.footer-bottom {
    border-top: 1px solid #eee;
    width: 100%;
    padding-top: 20px;
    text-align: center;
    color: #999;
}

/* Mobile Adjustments for new sections */
@media (max-width: 768px) {
    .ai-container {
        flex-direction: column;
        text-align: center;
    }

    .ai-features li {
        justify-content: center;
    }

    .section {
        padding: 60px 0;
    }

    .section-header h2 {
        font-size: 2.2rem;
    }
}

/* Contact Section Styles */
.contact-wrapper {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.contact-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-card {
    background: #fff;
    padding: 25px 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
    display: flex;
    align-items: center;
    gap: 20px;
}

.info-icon {
    width: 50px;
    height: 50px;
    background: rgba(134, 190, 27, 0.1);
    color: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.info-details h3 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.info-details p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
}

.contact-form-container {
    flex: 1.2;
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: flex;
    gap: 20px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid #eee;
    border-radius: 10px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent-color);
}

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

.form-submit .cta-button {
    border: none;
    cursor: pointer;
    width: 100%;
    max-width: 250px;
}

@media (max-width: 992px) {
    .contact-wrapper {
        flex-direction: column;
    }

    .contact-info,
    .contact-form-container {
        width: 100%;
    }
}

@media (max-width: 600px) {
    .info-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        flex-direction: column;
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        padding: 1rem;
    }

    nav ul {
        margin-top: 1rem;
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 2rem;
    }

    .hero-content {
        max-width: 100%;
        margin-bottom: 3rem;
    }

    .hero p {
        margin: 0 auto 2.5rem;
    }

    .hero-image {
        max-width: 80%;
    }
}