* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
}

/* Captcha + Submit row */
.captcha-submit-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Smooth Scroll Fix (Point 15) */
html {
  scroll-behavior: smooth;
}

/* Typography Utility Classes */
:root {
  --font-heading: 'Work Sans', sans-serif;
  --font-body: 'Avenir', 'Avenir Light', 'Nunito Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

.font-work-sans {
  font-family: var(--font-heading);
  font-weight: 600; /* Semi-Bold */
}

.font-avenir-light {
  font-family: var(--font-body);
  font-weight: 300; /* Light */
}

.font-avenir {
  font-family: var(--font-body);
  font-weight: 400;
}

body {
    color: #1a1a2e;
    background-color: #ffffff;
    line-height: 1.6;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: rgba(255, 255, 255, 0.95);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 8%;
    border-bottom: 1px solid #f0f0f0;
    z-index: 1000;
}

.logo {
    font-weight: 700;
    font-size: 1.1rem;
    line-height: 1.2;
    color: #111827;
}

.logo a {
    font: inherit;
    color: inherit;
    text-decoration: none;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 18px;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    position: absolute;
    right: 8%;
    top: 31px;
    z-index: 1100;
}

.nav-toggle span {
    display: block;
    height: 2px;
    width: 100%;
    background-color: #111827;
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle.open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.navbar nav a {
    margin-left: 2rem;
    text-decoration: none;
    color: #4b5563;
    font-weight: 500;
    transition: color 0.2s;
}

.navbar nav a:hover, .navbar nav a.active {
    color: #8b5cf6;
}

/* Section Shared */
section {
    padding: 120px 8% 80px 8%;
    min-height: 80vh;
}

.section-tag {
    color: #8b5cf6;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    margin-bottom: 1rem;
    display: block;
    text-transform: uppercase;
}

/* Hero Section */
.hero-section {
  width: 100%;
  min-height: 100vh;
  background-image: url('assets/wavy-background.svg'); /* Path to your custom/royalty-free SVG */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: flex-start;
  padding: 140px 8% 100px 8%;
}

.hero-content {
    max-width: 50%;
}

.hero-content h1 {
    font-family: var(--font-heading);
    font-size: 92px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.1;
    margin-bottom: 2.5rem;
}

.hero-content p {
    font-family: var(--font-body);
    font-weight: 300;
    font-size: 26px;
    line-height: 1.5;
    max-width: 800px;
    color: #475569;
    margin-bottom: 1.5rem;
}

@keyframes revealUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content h1,
.hero-content p,
.hero-content .btn-primary {
    opacity: 0;
    animation: revealUp 0.8s ease forwards;
}

.hero-content h1 {
    animation-delay: 1s;
}

.hero-content p {
    animation-delay: 1.3s;
}

.hero-content .btn-primary {
    animation-delay: 1.6s;
}

@media (prefers-reduced-motion: reduce) {
    .hero-content h1,
    .hero-content p,
    .hero-content .btn-primary {
        animation: none;
        opacity: 1;
        transform: none;
    }
}

.btn-primary, .btn-submit {
    background-color: #8b5cf6;
    color: white;
    padding: 12px 32px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    border: none;
    cursor: pointer;
    display: inline-block;
    transition: background-color 0.2s;
}

.btn-primary:hover, .btn-submit:hover {
    background-color: #7c3aed;
}

.hero-graphic img {
    max-width: 100%;
    height: auto;
}

/* Services Section */
.services-section {
    text-align: center;
}

.services-section .section-tag {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
}

.services-section h2 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 36px;
  line-height: 1.3;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    padding: 2rem;
    text-align: left;
}

.service-card .icon {
    height: 128px;
    width: 128px;
    margin: 0 auto 1.5rem auto;
}

.service-card .icon img {
    width: 100%;
    height: 100%;
    display: block;
}

.service-card h3 {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
}

.service-card p {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 18px;
  line-height: 1.6;
}

/* About Section */
.about-section {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.about-content {
    flex: 1;
}

.about-content h2 {
    font-size: 2.25rem;
    margin-bottom: 1.5rem;
}

.about-content p {
    margin-bottom: 1.2rem;
    color: #475569;
    font-size: 0.95rem;
}

.about-graphic {
    flex: 1;
}

/* Point 16: Align Image Height with Left Content */
.about-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: stretch; /* Keeps columns at equal height */
}

.about-image-wrapper {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.about-image {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Crops proportionally without distorting or overflowing */
  border-radius: 8px; /* Optional rounding */
}

/* Point 9: About Tag */
.about-section .section-tag {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 700;
}

/* Point 10: About Title */
.about-section h2 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 30px;
  line-height: 1.3;
}

/* Point 11: About Text */
.about-section p {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 18px;
  line-height: 1.6;
}

/* Contact Section */
.contact-section {
    background-color: #fafafa;
}

.contact-container {
    display: flex;
    gap: 4rem;
}

.contact-info, .contact-form-wrapper {
    flex: 1;
}

.contact-info h2 {
    font-size: 2.25rem;
    margin-bottom: 1rem;
}

.address-block {
    margin-top: 2rem;
}

.address-block h4 {
    margin-bottom: 1rem;
}

.address-block p {
    margin-bottom: 1rem;
    color: #475569;
}

/* Point 12: Contact Tag */
.contact-section .section-tag {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 700;
}

/* Point 13: Contact Title */
.contact-section h2 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 34px;
  line-height: 1.3;
}

/* Point 14: Contact Body Text */
.contact-section p {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 18px;
  line-height: 1.6;
}

/* Form Styling */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: flex;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.form-group label {
    font-size: 0.85rem;
    color: #374151;
    margin-bottom: 0.25rem;
}

.form-group input, .form-group textarea {
    border: none;
    border-bottom: 1px solid #9ca3af;
    background: transparent;
    padding: 8px 0;
    outline: none;
    font-size: 1rem;
}

.form-group input:focus, .form-group textarea:focus {
    border-bottom-color: #8b5cf6;
}

.btn-submit {
    margin-top: 0;
}

/* Thank You page */
.thank-you-section {
    justify-content: center;
    align-items: center;
}

.thank-you-content {
    max-width: 600px;
    width: 100%;
    text-align: center;
    margin: 0 auto;
    margin-top: -80px;
}

.thank-you-icon {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
}

.thank-you-content h1 {
    font-family: var(--font-heading);
    font-size: 56px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.1;
    margin-bottom: 1.25rem;
}

.thank-you-content p {
    font-family: var(--font-body);
    font-weight: 300;
    font-size: 20px;
    line-height: 1.5;
    color: #475569;
    margin-bottom: 2rem;
}

/* Footer */
footer {
    text-align: right;
    padding: 2rem 8%;
    color: #8b5cf6;
    font-size: 0.9rem;
    border-top: 1px solid #f0f0f0;
}

/* Responsive breakpoints */
@media (max-width: 900px) {
    .hero-section {
        padding-top: 110px;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .about-container {
        grid-template-columns: 1fr;
    }

    .about-image-wrapper {
        height: 320px;
    }

    .contact-container {
        flex-direction: column;
        gap: 2.5rem;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .navbar nav {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: #ffffff;
        padding: 0 8%;
        max-height: 0;
        overflow: hidden;
        border-bottom: 1px solid #f0f0f0;
        transition: max-height 0.3s ease;
        z-index: 999;
    }

    .navbar nav.open {
        max-height: 320px;
        padding: 0.5rem 8% 1.5rem 8%;
    }

    .navbar nav a {
        margin-left: 0;
        padding: 0.75rem 0;
        width: 100%;
        border-bottom: 1px solid #f5f5f5;
    }
}

@media (max-width: 640px) {
    .hero-section {
        padding-top: 100px;
    }

    .navbar {
        padding: 0 5%;
    }

    .logo {
        font-size: 0.95rem;
    }

    .nav-toggle {
        right: 5%;
    }

    .navbar nav {
        padding-left: 5%;
        padding-right: 5%;
    }

    .navbar nav.open {
        padding: 0.5rem 5% 1.5rem 5%;
    }

    section {
        padding: 100px 6% 60px 6%;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .service-card .icon {
        height: 96px;
        width: 96px;
    }

    .form-row {
        flex-direction: column;
        gap: 1.5rem;
    }

    .captcha-submit-row {
        flex-direction: column;
        align-items: flex-start;
    }
}