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

:root {
    --color-primary: #49b6b9;
    --color-primary-light: #5ce1e6;
    --color-primary-bg: #effcfc;
    --color-secondary: #fac823;
    --color-secondary-light: #fadal6;
    --color-yellow-light: #fbf65b;
    --color-cyan-light: #cdf6f7;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    line-height: 1.6;
    color: #1f2937;
    background: white;
}

h1 {
    font-size: 3rem;
    line-height: 1.2;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2.5rem;
    line-height: 1.2;
    font-weight: 700;
    margin-bottom: 1rem;
    text-align: center;
}

h3 {
    font-size: 1.5rem;
    line-height: 1.3;
    font-weight: 600;
    margin-bottom: 1rem;
}

p {
    font-size: 1.125rem;
    line-height: 1.75;
    color: #4b5563;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    z-index: 1000;
    border-bottom: 1px solid #f3f4f6;
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 64px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.logo-square {
    width: 24px;
    height: 24px;
    border-radius: 2px;
}

.logo-text {
    margin-left: 0.75rem;
    color: var(--color-primary);
    font-weight: 600;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

/* Make links inherit surrounding text color */
a {
    color: inherit;
    text-decoration: none;
}

/* Underline links in footer only */
footer a {
    text-decoration: underline;
}

/* Top nav links (exclude button-style links) */
.nav-links a:not(.btn) {
    color: inherit;
    padding: 0.35rem 0.6rem;
    border-radius: 0.375rem;
    transition: background-color 0.15s ease, color 0.15s ease;
    text-decoration: none;
}

.nav-links a:not(.btn):hover {
    background: rgba(31, 41, 55, 0.06); /* subtle highlight */
    color: inherit;
}

/* mobile nav hover highlight */
.mobile-nav a:hover {
    background: rgba(31, 41, 55, 0.04);
    border-radius: 0.375rem;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-nav {
    display: none;
    padding: 0.5rem 0;
    background: #ffffff; /* solid white background for mobile nav */
    box-shadow: 0 6px 18px rgba(16, 24, 40, 0.06); /* subtle separation */
}

.mobile-nav.active {
    display: block;
}

/* Make mobile links full-width and add horizontal padding by default */
.mobile-nav a {
    display: block;
    padding: 0.75rem 1rem;
    color: inherit;
    text-decoration: none;
}

/* Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 1rem;
}

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

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

.btn-secondary {
    background: var(--color-secondary);
    color: #1f2937;
}

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

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

.btn-outline:hover {
    background: var(--color-primary-bg);
}

.btn-full {
    width: 100%;
}

/* Container */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

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

/* Sections */
section {
    padding: 5rem 1.5rem;
}

.section-bg {
    background: var(--color-primary-bg);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    height: 100vh;
    width: 100%;
    padding-top: 0;
    padding-bottom: 0;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-wave {
    position: absolute;
    top: 0;
    right: 0;
    width: 60vw;
    height: 100%;
    opacity: 0.2;
    z-index: 0;
    pointer-events: none;
    transform: translateX(0);
}

.hero-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-text h1 {
    font-size: 3rem;
}

.hero-text p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

.social-proof {
    background: var(--color-primary-bg);
    padding: 1.5rem;
    border-radius: 0.5rem;
    border-left: 4px solid var(--color-primary);
    margin-bottom: 2rem;
}

.social-proof p {
    font-style: italic;
    color: #374151;
    margin-bottom: 0.5rem;
}

.social-proof .author {
    font-size: 0.875rem;
    color: var(--color-primary);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-links a {
    color: var(--color-primary);
    transition: color 0.2s;
}

.social-links a:hover {
    color: var(--color-primary-light);
}

.hero-image-wrapper {
    position: relative;
}

.hero-image-bg {
    position: absolute;
    top: -1rem;
    right: -1rem;
    width: 100%;
    height: 100%;
    background: var(--color-cyan-light);
    border-radius: 1.5rem;
    z-index: 0;
}

.hero-image-card {
    position: relative;
    background: white;
    padding: 1rem;
    border-radius: 1.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    z-index: 1;
}

.hero-image-card img {
    width: 100%;
    border-radius: 1rem;
    display: block;
}

/* Footer */
footer {
    background: white;
    color: #111827;
    padding: 3rem 1.5rem;
    text-align: center;
}

.footer-logo {
    display: flex;
    justify-content: center;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.footer-logo-square {
    width: 32px;
    height: 32px;
    border-radius: 2px;
}

footer p {
    color: #9ca3af;
    margin-bottom: 0.5rem;
}

footer p:first-of-type {
    font-size: 1.25rem;
    color: white;
    margin-bottom: 0.5rem;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: white;
    border-radius: 0.75rem;
    padding: 2rem;
    max-width: 28rem;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-header {
    margin-bottom: 1.5rem;
}

.modal-title {
    font-size: 1.5rem;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.modal-description {
    color: #6b7280;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    color: #6b7280;
}

/* Icons */
.icon {
    width: 24px;
    height: 24px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.icon-sm {
    width: 20px;
    height: 20px;
}

.icon-lg {
    width: 32px;
    height: 32px;
}

/* Trusted brands */
.brands-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0.2rem;
    align-items: center;
    justify-items: center;
    padding: 1.5rem 0;
}

.brands-grid img {
    max-width: 100%;
    height: 72px; /* increased logo height on desktop */
    object-fit: contain;
    filter: grayscale(100%) opacity(0.65);
    transition: filter 200ms ease, transform 200ms ease;
}

.brands-grid img:hover {
    filter: none;
    opacity: 1;
    transform: translateY(-3px);
}

@media (max-width: 1024px) {
    .brands-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .brands-grid img {
        height: 64px; /* slightly smaller on tablet */
    }
}

@media (max-width: 640px) {
    .brands-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .brands-grid img {
        height: 56px; /* mobile size */
    }
}

/* Responsive */
@media (min-width: 768px) {
    h1 {
        font-size: 3.75rem;
    }

    h2 {
        
        font-size: 2rem;
        color:#6b7280;
    }

    /* Increase spacing above hero content on desktop */
    .hero {
        min-height: 100vh;
        height: 100vh;
        width: 100%;
        padding-top: 0;
        padding-bottom: 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .hero-content {
        grid-template-columns: 1fr 1fr;
    }

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

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

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

    .mobile-menu-btn {
        display: none !important;
    }
}

@media (max-width: 767px) {
        .hero-wave {
            display: none;
        }
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 2rem;
    }

    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

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

    .hero-actions .btn {
        width: 100%;
    }

    section {
        padding: 3rem 1rem;
    }

    .hero {
        min-height: auto;
        height: auto;
        width: 100%;
        padding-top: 6rem;
        padding-bottom: 3rem;
        display: block;
    }
    .hero-content {
        display: block;
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* Stack mobile nav items vertically and stretch buttons to full width */
    .mobile-nav .nav-container {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
        padding: 0.5rem 1.5rem;
        height: auto; /* allow the container to expand so all items stay inside the white background */
    }

    /* Ensure the primary CTA fills the container width on mobile */
    .mobile-nav .btn-full {
        width: 100%;
    }
}

/* Utility Classes */
.hidden {
    display: none;
}

.mb-4 { margin-bottom: 1rem; }
.mb-8 { margin-bottom: 2rem; }

/* Container */
#cookie-banner {
    position: fixed;
    bottom: 20px;
    z-index: 99999;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    max-width: 800px;

    display: flex;
    align-items: center;       /* Vertically center the content */
    justify-content: space-between;
    gap: 1rem;                 /* Optional spacing between children */
    padding: 1rem;

    padding: 1rem;
    bottom: 1rem;
    background: #747474;
    color: #fff;
    border-radius: 12px;
    
}

/* Message takes up remaining space */
#cookie-message {
    flex: 1 1 auto;           /* Grow and shrink as needed */
    color: white;
    

}

/* Actions container */
#cookie-actions {
    flex: 0 0;           /* Do not grow, do not shrink */
    display: flex;            /* Align buttons horizontally */
    max-width: 500px;         /* Cap the width */
    display: flex;            /* Align buttons horizontally */
    gap: 0.5rem;              /* Space between buttons */   
    flex-wrap: nowrap;
    justify-content: right;
  
}

/* Optional button styling */
.cookie-btn-primary,
.cookie-btn-secondary {
  padding: 0.4rem 0.8rem;
  min-width: 120px;
  cursor: pointer;
  background: #fff;
  color: #747474;
  border: 1px solid #fff;
  border-radius: 8px;
  font-size: 0.875rem;
  transition: background 0.2s, color 0.2s;
  margin: 5px;
  cursor: pointer;
}

/* Small screens: allow buttons to wrap into two rows */
@media (max-width: 900px) {
  #cookie-banner {
    flex-direction: column; /* stack text and buttons on very small screens */
    align-items: flex-start;
  }

}