@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');

:root {
    --primary-color: #4a4e69;
    --secondary-color: #9a8c98;
    --accent-color: #c9ada7;
    --background-color: #ffffff;
    --text-color: #22223b;
    --card-bg-color: #f8f9fa;
    --card-border-color: #e9ecef;
    --text-color-logo-blue: #448CFF;
    --text-color-logo-yellow: #FEC000;
}

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

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
}

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

header {
    background-color: var(--background-color);
    color: var(--primary-color);
    padding: 2rem 0;
    text-align: center;
    margin-bottom: 2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

h1 {
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: -1px;
}

.accent {
    color: var(--text-color-logo-blue);
}

.tagline {
    font-size: 1.2rem;
    color: var(--secondary-color);
    margin-top: 0.5rem;
}

.hero {
    display: flex;
    justify-content: space-between;
    border-radius: 15px;
    margin-bottom: 2rem;
    overflow: hidden;
}

.hero-content {
    flex: 1;
    padding-right: 2rem;
    /* text-align: center; */
}

.hero-image {
    flex: 1;
    text-align: center;
}

.hero-image img {
    max-width: 80%;
    height: auto;
    border-radius: 10px;
    box-shadow: -2px 4px 14px 6px rgba(0, 0, 0, 0.15);
}

.hero .highlight {
    color: var(--text-color-logo-blue);
    font-weight: 600;
}

.hero h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 2.0rem;
    color: var(--secondary-color);
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

/* Updated newsletter form styles */
.newsletter-form {
    max-width: 480px;
    margin: 2rem auto;
    display: flex;
    justify-content: center;
}

/* Remove these classes as they're no longer needed */
.form-group,
.form-group input,
.form-group button,
.response,
.loader {
    display: none;
}

/* Remove these styles */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}
.popup {
    background-color: white;
    padding: 20px;
    border-radius: 5px;
    text-align: center;
}
.hidden {
    display: none;
}

/* Existing styles continue... */

.section-title {
    text-align: center;
    color: var(--primary-color);
    margin: 3rem 0 2rem;
    font-weight: 600;
    font-size: 2.2rem;
}

.journey-path {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
}

.journey-row {
    display: flex;
    justify-content: space-around;
}

.journey-card {
    background-color: var(--card-bg-color);
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 2px solid var(--card-border-color);
    flex: 1;
    margin: 10px 20px;
}

.journey-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.journey-card h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.btn {
    display: inline-block;
    background-color: var(--secondary-color);
    color: var(--background-color);
    padding: 0.7rem 1.2rem;
    border-radius: 25px;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
    margin-top: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.btn:hover {
    background-color: var(--primary-color);
    transform: translateY(-2px);
}

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

.connect {
    text-align: center;
    padding: 1rem 0;
    margin-top: 3rem;
    border-radius: 15px;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary-color);
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.social-icon:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
}

.social-icon svg {
    width: 20px;
    height: 20px;
    fill: var(--background-color);
}

.buy-coffee {
    margin-top: 3rem;
    text-align: center;
}

.buy-coffee img {
    height: 50px;
    width: auto;
    transition: transform 0.3s ease;
}

.buy-coffee img:hover {
    transform: translateY(-2px);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero, .journey-card, .tech-insights .journey-card {
    animation: fadeInUp 0.6s ease-out;
}

/* Responsive design */
@media (max-width: 768px) {
    .hero {
        flex-direction: column;
    }

    .hero-content {
        padding-right: 0;
        margin-bottom: 2rem;
    }

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

    .journey-card {
        margin: 10px 0;
    }

    .form-group {
        flex-direction: column;
        border-radius: 15px;
    }

    .form-group input,
    .form-group button {
        width: 100%;
        border-radius: 0;
    }

    .form-group input {
        border-bottom: 1px solid var(--card-border-color);
    }
}

/* Modern animations */
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.10);
    }
    100% {
        transform: scale(1);
    }
}

.form-group button {
    animation: pulse 2s infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
      }
    
      50% {
        transform: translateY(-20px);
      }
    
      100% {
        transform: translateY(0px);
      }
}

.hero-image img {
    animation: float 6s ease-in-out infinite;
}

.cta-container {
    background-color: #f0f8ff;
    border-radius: 8px;
    padding: 1.5rem;
}

.highlight {
    background-color: #ffd700;
    padding: 0.2rem 0.4rem;
    border-radius: 10px;
}
.hero-description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}
.emphasis {
    font-weight: bold;
    color: #0066cc;
}
.cta {
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 1rem;
    text-align: center;
}