:root {
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --secondary-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --eco-gradient: linear-gradient(135deg, #4ecdc4 0%, #44a08d 100%);
    --dark-bg: #0a0a0a;
    --light-bg: #ffffff;
    --text-primary: #1a1a1a;
    --text-secondary: #666666;
    --accent-blue: #667eea;
    --accent-green: #4ecdc4;
    --accent-orange: #ff9a56;
    --surface: #f8fafc;
    --border: #e2e8f0;
    --shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.15);
    --vivid-orange: hsl(21, 100%, 50%);
    --sky-blue: hsl(204, 100%, 50%);
}

html {
    scroll-behavior: smooth;

}

.fade-in {
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.fade-in.visible {
    opacity: 1;
}


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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    overflow-x: hidden;
}

/* Custom Cursor */
body {
    cursor: none;
}

.custom-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 20px;
    height: 20px;
    background: hsl(23, 100%, 50%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.1s ease;
    mix-blend-mode: difference;
}

.custom-cursor.hover {
    transform: scale(2);
}
body {
    margin: 0;
}

/* Header */
header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background: transparent;
    z-index: 10;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.logo img {
    width: 220px;
    height: auto;
    object-fit: contain;
    display: block;
}

.nav-links {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.nav-links a {
    text-decoration: none;
    color: white;
    font-weight: 900;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    color: var(--sky-blue);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    transition: width 0.3s ease;
    background: var(--sky-blue);
}

.nav-links a:hover::after {
    width: 100%;
}

/* Get Quote button */
.nav-links a.cta-button {
    padding: 0.8rem 1.5rem;
    background: var(--sky-blue);
    color: white;
    border-radius: 50px;
    font-weight: 900;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.nav-links a.cta-button:hover {
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.nav-links a.cta-button::after {
    display: none;
}

.cta-button {
    padding: 0.8rem 1.5rem;
    background: var(--sky-blue);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

/* Hero Section */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--light-bg);
}

/* Video fills the entire hero, including behind header */
.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

/* Dark overlay for navigation and hero text readability */
.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            135deg,
            rgba(3, 18, 32, 0.88),
            rgba(0, 112, 185, 0.55)
        );
    z-index: 1;
    pointer-events: none;
}

.hero-content {
    text-align: center;
    color: white;
    z-index: 2;
    max-width: 800px;
    padding: 0 2rem;
}

.hero h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    animation: fadeInUp 1s ease;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.2s both;
}

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

.btn-primary,
.btn-secondary,
.btn-outline {
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

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

.btn-secondary {
    background: var(--sky-blue);
    color: white;
    box-shadow: var(--shadow);
}

.btn-outline {
    background: transparent;
    color: white;
    border-color: white;
}

.btn-primary:hover,
.btn-secondary:hover,
.btn-outline:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

/* Quick Links Banner */
.quick-links {
    background: var(--surface);
    padding: 3rem 5%;
    text-align: center;
}

.quick-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    max-width: 1500px;
    margin: 0 auto;
}

.quick-link {
    background: white;
    padding: 2rem 1rem;
    border-radius: 20px;
    text-decoration: none;
    color: black;
    transition: all 0.3s ease;
    box-shadow: var(--sky-blue);
    border: 2px solid transparent;
}

.quick-link:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--sky-blue);
}

.quick-link i {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    background: var(--sky-blue);
    -webkit-background-clip: text;
    -webkit-text-fill-color: var(--sky-blue);
    background-clip: text;
}

.quick-link h3 {
    font-size: 1rem;
    font-weight: 400;
}

/* Floating Elements */
.floating-element {
    position: absolute;
    pointer-events: none;
    animation: float 6s ease-in-out infinite;
}

.floating-element:nth-child(2) {
    animation-delay: -2s;
}

.floating-element:nth-child(3) {
    animation-delay: -4s;
}

@keyframes float {

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

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

/* About Section */
.about {
    padding: 6rem 5%;
    background: white;
}

.about-container {
    max-width: 1500px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}

.about-content h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 4rem;
    margin-bottom: 0.5rem;
    background: var(--sky-blue);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-content p1 {
    color: black;
    font-size: 1rem;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.about-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.feature-card {
    background: var(--surface);
    padding: 1.5rem;
    border-radius: 15px;
    border-left: 4px solid var(--sky-blue);
}

/* Services Section */
.services {
    padding: 4rem 5%;
    background: var(--surface);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 3rem;
    margin-bottom: 1rem;
    margin-top: 3rem;
    background: var(--sky-blue);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.service-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    position: relative;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

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

.service-content {
    padding: 2rem;
}

.service-content h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--sky-blue);
}

.service-content p {
    font-size: 1rem;
    color: black;
    margin-bottom: 1rem;
}

.service-content ul {
    list-style: disc;
    padding-left: 1.5rem;
    color: black;
}


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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--border);
    border-radius: 10px;
    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(--accent-blue);
}

/* Portfolio Section */
.portfolio {
    padding: 5rem 5%;
    background: var(--dark-bg);
    color: white;
}

.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.8rem 1.5rem;
    background: transparent;
    color: white;
    border: 2px solid white;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn.active,
.filter-btn:hover {
    background: white;
    color: var(--dark-bg);
}

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

.portfolio-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    aspect-ratio: 16/9;
    cursor: pointer;
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        linear-gradient(
            135deg,
            rgba(3, 18, 32, 0.88),
            rgba(0, 112, 185, 0.55)
        );
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0s linear 0.3s;
}

/* Only pointer devices show the overlay on hover. */
@media (hover: hover) and (pointer: fine) {
    .portfolio-item:hover .portfolio-overlay {
        opacity: 1;
        visibility: visible;
        transition-delay: 0s;
    }
}

/* Touch/tap and keyboard access to the same details. */
.portfolio-item.is-open .portfolio-overlay,
.portfolio-item:focus-visible .portfolio-overlay {
    opacity: 1;
    visibility: visible;
    transition-delay: 0s;
}

.portfolio-item:focus-visible {
    outline: 3px solid var(--sky-blue);
    outline-offset: 3px;
}

/* Contact Section */
.contact {
    padding: 5rem 5%;
    background: black;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info {
    background: var(--surface);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.contact-form {
    background: var(--surface);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-item i {
    width: 50px;
    height: 50px;
    background: var(--sky-blue);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-info h3,
.contact-form h3 {
    margin-bottom: 2rem;
}

/* Footer */
footer {
    background: var(--dark-bg);
    color: white;
    padding: 4rem 5% 2rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 0.1rem;
}

.footer-section h3 {
    margin-bottom: 1.5rem;
    color: var(--sky-blue);
}

.footer-section a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--sky-blue);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

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

.social-links i {
    color: white;
}

.social-links a:hover {
    transform: scale(1.1);
    color: var(--sky-blue);
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 2rem;
    text-align: center;
    color: #999;
    margin-top: 2rem;
    font-size: 0.7rem;
}

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

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

.fade-in-up {
    animation: fadeInUp 1s ease;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .nav-toggle {
        display: block;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .about-container,
    .contact-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

    .quick-links-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    :root {
        --light-bg: #1a1a1a;
        --text-primary: #ffffff;
        --text-secondary: #cccccc;
        --surface: #2a2a2a;
        --border: #404040;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Micro-interactions */
.micro-interaction {
    transition: all 0.2s ease;
}

.micro-interaction:hover {
    transform: scale(1.05);
}

/* WhatsApp Chat Widget */
.chat-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: var(--sky-blue);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-hover);
    cursor: pointer;
    z-index: 1000;
    text-decoration: none;
    transition: all 0.3s ease;
}

.chat-widget i {
    font-size: 2rem;
}

.chat-widget:hover {
    transform: translateY(-5px) scale(1.05);
    background: #1ebe5d;
    color: white;
}

/* Newsletter Section */
.newsletter {
    background: var(--sky-blue);
    color: white;
    padding: 3rem 5%;
    margin: auto;
    text-align: center;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    max-width: 500px;
    margin: 2rem auto 0;
}

.newsletter-form input {
    flex: 1;
    padding: 1rem;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
}

.newsletter-form button {
    padding: 1rem 2rem;
    background: white;
    color: var(--sky-blue);
    border: none;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-form button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

/* About Section */

.about-section {
    background: white;
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: black;
    padding: 3rem;
    margin-left: 3rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1.8s forwards;
    transition: all 0.3s ease;
}

.section-block {
    margin-bottom: 3rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s forwards;
}

.about-us h1 {
    position: relative;
    font-size: 3rem;
    margin-bottom: 1rem;
    margin-top: 5rem;
    font-family: 'Space Grotesk', sans-serif;
    color: var(--sky-blue);
    text-align: center;
}

.section-block:nth-child(1) {
    animation-delay: 0.1s;
}

.section-block:nth-child(2) {
    animation-delay: 0.2s;
}

.section-block:nth-child(3) {
    animation-delay: 0.3s;
}

.section-block:nth-child(4) {
    animation-delay: 0.4s;
}

.section-block:nth-child(5) {
    animation-delay: 0.5s;
}

.section-block:nth-child(6) {
    animation-delay: 0.6s;
}

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

.mission-container {
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 1200px;
    margin: auto;
    padding: 3rem;
    background-color: white;
    color: black;
    border-radius: 20px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(255, 255, 255, 0.2);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s forwards;
    transition: all 0.3s ease;
}

.mission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
    transform: translateY(20px);
    animation: fadeInUp 1s forwards;
    transition: all 0.3s ease;
}

.section-block h2 {
    position: relative;
    font-size: 2rem;
    margin-bottom: 1rem;
    font-family: 'Space Grotesk', sans-serif;
    color: var(--sky-blue);
    text-align: center;
}

.mission-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(102, 126, 234, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.mission-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--sky-blue);
}

.mission-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.mission-card h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--sky-blue);
}

.mission-card p {
    font-size: 1rem;
    color: black;
}

.intro-text {
    font-size: 1.5rem;
    color: var(--sky-blue);
    text-align: left;
    font-weight: 500;
    margin-bottom: 2rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
    transform: translateY(20px);
    animation: fadeInUp 1s forwards;
    transition: all 0.3s ease;
}

.value-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(102, 126, 234, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;

}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(102, 126, 234, 0.2);
}

.value-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--sky-blue);
    margin-bottom: 1rem;
}

.value-card p {
    font-size: 1rem;
    color: var(--dark-bg);
    margin-bottom: 0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
    transform: translateY(20px);
    animation: fadeInUp 1s forwards;
    transition: all 0.3s ease;
}

.team-member {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: all 1.3s ease;
    border: 1px solid rgba(102, 126, 234, 0.1);
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.15);
}

.team-member img {
    width: 100%;
    height: 80%;
    border-radius: 10%;
    object-fit: cover;
    margin-bottom: 1rem;
    border: 1px solid rgba(102, 126, 234, 0.1);
}

.team-member h3 {
    font-size: 1.2rem;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.team-role {
    color: var(--sky-blue);
    font-weight: 500;
    margin-bottom: 1rem;
}

.highlight {
    background: var(--sky-blue);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
}

@media (max-width: 768px) {
    .about-section {
        padding: 2rem 1.5rem;
        margin: 1rem;
    }

    h1 {
        font-size: 2.2rem;
    }

    .intro-text {
        font-size: 1.1rem;
    }

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

/* Process Scroll Reveal Effect */
.process-section {
    position: relative;
    overflow: hidden;
}

.process-grid {
    align-items: stretch;
}

.process-step {
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.process-step:nth-child(1) {
    transition-delay: 0.1s;
}

.process-step:nth-child(2) {
    transition-delay: 0.25s;
}

.process-step:nth-child(3) {
    transition-delay: 0.4s;
}

.process-step:nth-child(4) {
    transition-delay: 0.55s;
}

.scroll-reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Career Modal */
.career-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100vh;
    overflow-y: auto;
    background: rgba(0, 0, 0, 0.75);
    padding: 5rem 1rem;
}

.career-modal.active {
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.career-modal-content {
    background: var(--surface);
    width: 100%;
    max-width: 600px;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-hover);
    position: relative;
    animation: modalFadeIn 0.35s ease;
}

.career-modal-content h2 {
    font-family: 'Space Grotesk', sans-serif;
    color: var(--sky-blue);
    margin-bottom: 0.7rem;
}

.career-modal-content p {
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

.career-modal-close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 2rem;
    font-weight: 700;
    color: black;
    cursor: pointer;
    transition: color 0.3s ease;
}

.career-modal-close:hover {
    color: var(--sky-blue);
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.98);
    }

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

body.modal-open {
    overflow: hidden;
}

/* ==================================================
   ABOUT PAGE HERO
================================================== */

.about-hero {
    position: relative;
    min-height: 78vh;
    padding: 170px 5% 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    text-align: center;
    color: #ffffff;

    background:
        url("https://images.pexels.com/photos/442587/pexels-photo-442587.jpeg")
        center center / cover no-repeat;
}

/* Dark overlay above the image */
.about-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(
            135deg,
            rgba(3, 18, 32, 0.88),
            rgba(0, 112, 185, 0.55)
        );
}

/* Optional decorative glow */
.about-hero::after {
    content: "";
    position: absolute;
    right: -120px;
    bottom: -180px;
    width: 420px;
    height: 420px;
    z-index: 1;
    border-radius: 50%;
    background: rgba(0, 170, 255, 0.2);
    filter: blur(20px);
    pointer-events: none;
}

.about-hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 950px;
    margin: 0 auto;
}

.about-hero-eyebrow {
    display: inline-block;
    margin-bottom: 1.2rem;
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.about-hero-eyebrow::before {
    content: "";
    display: inline-block;
    width: 42px;
    height: 2px;
    margin-right: 12px;
    vertical-align: middle;
    background: var(--sky-blue);
}

.about-hero h1 {
    max-width: 900px;
    margin: 0 auto 1.4rem;
    color: #ffffff;
    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(2.7rem, 6vw, 5rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.about-hero-content > p:not(.about-hero-eyebrow) {
    max-width: 720px;
    margin: 0 auto 2.2rem;
    color: rgba(255, 255, 255, 0.88);
    font-size: clamp(1rem, 2vw, 1.2rem);
    line-height: 1.8;
}

.about-hero .btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    padding: 1rem 1.8rem;
    background: var(--sky-blue);
    color: #ffffff;
    border: 2px solid var(--sky-blue);
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    box-shadow: 0 12px 30px rgba(0, 153, 255, 0.28);
    transition:
        transform 0.3s ease,
        background 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}

.about-hero .btn-secondary:hover {
    transform: translateY(-4px);
    background: transparent;
    border-color: #ffffff;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25);
}

.about-hero .btn-secondary i {
    transition: transform 0.3s ease;
}

.about-hero .btn-secondary:hover i {
    transform: translateY(4px);
}


/* ==================================================
   ABOUT OVERVIEW SECTION
================================================== */

.about-overview {
    position: relative;
    padding: 7rem 5%;
    background: #ffffff;
    scroll-margin-top: 100px;
}

.about-overview-header {
    max-width: 850px;
    margin: 0 auto 4rem;
    text-align: center;
}

.section-eyebrow {
    margin-bottom: 0.8rem;
    color: var(--sky-blue);
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.about-overview-header h2 {
    margin: 0;
    color: var(--sky-blue);
    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;

    /* Overrides the existing gradient heading rule */
    background: none;
    -webkit-background-clip: initial;
    -webkit-text-fill-color: initial;
    background-clip: initial;
}

.about-overview .about-container {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(380px, 0.95fr);
    gap: clamp(2.5rem, 6vw, 5rem);
    align-items: center;
}

.about-overview .about-section {
    margin: 0;
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    opacity: 1;
    transform: none;
    animation: none;
}

.about-overview .section-block {
    margin: 0;
    opacity: 1;
    transform: none;
    animation: none;
}

.about-overview .intro-text {
    position: relative;
    margin-bottom: 1.8rem;
    padding-left: 1.3rem;
    color: var(--sky-blue);
    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(1.35rem, 2.5vw, 1.85rem);
    font-weight: 700;
    line-height: 1.4;
    text-align: left;
}

.about-overview .intro-text::before {
    content: "";
    position: absolute;
    top: 0.15rem;
    bottom: 0.15rem;
    left: 0;
    width: 4px;
    border-radius: 10px;
    background: var(--sky-blue);
}

.about-overview .section-block > p:not(.intro-text) {
    margin-bottom: 1.25rem;
    color: #4b5563;
    font-size: 1.05rem;
    line-height: 1.85;
}

.about-overview .section-block > p:last-child {
    margin-bottom: 0;
}

.about-overview .highlight {
    color: var(--sky-blue);
    font-weight: 700;
    background: none;
    -webkit-background-clip: initial;
    -webkit-text-fill-color: initial;
    background-clip: initial;
}


/* ==================================================
   ABOUT IMAGE
================================================== */

.about-overview .about-image {
    position: relative;
}

.about-overview .about-image::before {
    content: "";
    position: absolute;
    top: -18px;
    right: -18px;
    width: 65%;
    height: 65%;
    z-index: 0;
    border-radius: 24px;
}

.about-overview .about-image::after {
    position: absolute;
    left: -24px;
    bottom: 28px;
    z-index: 2;
    padding: 0.9rem 1.3rem;
    background: rgba(8, 24, 38, 0.9);
    color: #ffffff;
    border-left: 4px solid var(--sky-blue);
    border-radius: 0 10px 10px 0;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    box-shadow: var(--shadow);
}

.about-overview .about-image img {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    min-height: 520px;
    object-fit: cover;
    border-radius: 24px;
    box-shadow: 0 24px 55px rgba(15, 23, 42, 0.18);
}


/* ==================================================
   RESPONSIVE FORMATTING
================================================== */

@media (max-width: 992px) {
    .about-hero {
        min-height: 70vh;
        padding: 150px 6% 90px;
    }

    .about-overview {
        padding: 5.5rem 6%;
    }

    .about-overview .about-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-overview .about-image {
        max-width: 760px;
        width: 100%;
        margin: 0 auto;
    }

    .about-overview .about-image img {
        min-height: 430px;
    }
}

@media (max-width: 768px) {
    .about-hero {
        min-height: 650px;
        padding: 130px 1.5rem 70px;
    }

    .about-hero-eyebrow::before {
        width: 25px;
        margin-right: 8px;
    }

    .about-hero h1 {
        font-size: clamp(2.3rem, 10vw, 3.4rem);
    }

    .about-hero-content > p:not(.about-hero-eyebrow) {
        font-size: 1rem;
        line-height: 1.7;
    }

    .about-overview {
        padding: 4.5rem 1.25rem;
    }

    .about-overview-header {
        margin-bottom: 2.8rem;
    }

    .about-overview-header h2 {
        font-size: 2.25rem;
    }

    .about-overview .intro-text {
        padding-left: 1rem;
        font-size: 1.35rem;
    }

    .about-overview .section-block > p:not(.intro-text) {
        font-size: 1rem;
        line-height: 1.75;
    }

    .about-overview .about-image img {
        min-height: 350px;
        border-radius: 18px;
    }

    .about-overview .about-image::before {
        top: -10px;
        right: -10px;
        border-radius: 18px;
    }

    .about-overview .about-image::after {
        left: 12px;
        bottom: 18px;
        font-size: 0.72rem;
    }
}

@media (max-width: 480px) {
    .about-hero {
        min-height: 600px;
    }

    .about-hero .btn-secondary {
        width: 100%;
        max-width: 300px;
    }

    .about-overview .about-image img {
        min-height: 290px;
    }

    .about-overview .about-image::after {
        display: none;
    }
}
/* Netlify form feedback */
.form-feedback {
    margin: 0.75rem 0 0;
    line-height: 1.5;
    font-size: 0.95rem;
}
.form-feedback:empty {
    display: none;
}
.form-feedback[data-state="success"] {
    color: #8de0b8;
}
.form-feedback[data-state="error"] {
    color: #ffb1b1;
}
.newsletter-feedback {
    text-align: center;
}

/* ==================================================
   RESPONSIVE LAYOUT — PHONES, TABLETS AND DESKTOPS
   Fixes: mobile overflow, header/hero collisions,
   narrow cards and forms, floating social obstruction.
================================================== */
html,
body {
    max-width: 100%;
}

body {
    overflow-x: clip;
}

img,
video {
    max-width: 100%;
}

.hero-content,
.service-card,
.contact-container > *,
.footer-content > *,
.about-container > * {
    min-width: 0;
}

/* Keep the mobile navigation accessible without changing desktop links. */
.nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 12px;
    background: rgba(3, 18, 32, 0.72);
    color: #fff;
    cursor: pointer;
    font-size: 1.25rem;
}

.nav-toggle:focus-visible,
.nav-links a:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 3px;
}

.form-fields-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.form-fields-grid > * {
    min-width: 0;
}

.contact-container {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.services-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 350px), 1fr));
}

.portfolio-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
}

.newsletter-form {
    width: 100%;
    min-width: 0;
}

.newsletter-form input {
    min-width: 0;
}

.footer-section {
    min-width: 0;
    overflow-wrap: anywhere;
}

@media (max-width: 1024px) {
    header {
        z-index: 1100;
    }

    header nav {
        position: relative;
        min-height: 76px;
        padding: 0.65rem clamp(1rem, 4vw, 2rem);
        gap: 1rem;
    }

    header nav .logo {
        display: block;
        flex: 0 1 auto;
        min-width: 0;
    }

    header nav .logo img {
        display: block;
        width: auto;
        height: auto;
        max-width: min(42vw, 176px);
        max-height: 74px;
        object-fit: contain;
        object-position: left center;
    }

    .nav-toggle {
        display: inline-flex;
        flex: 0 0 46px;
        margin-left: auto;
    }

    header .nav-links {
        display: none;
        position: absolute;
        top: calc(100% - 1px);
        left: 1rem;
        right: 1rem;
        width: auto;
        max-height: min(75dvh, 550px);
        overflow-y: auto;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 0.65rem;
        background: rgba(9, 24, 40, 0.98);
        border: 1px solid rgba(255, 255, 255, 0.15);
        border-radius: 16px;
        box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
    }

    header .nav-links.mobile-active {
        display: flex;
    }

    header .nav-links li,
    header .nav-links a {
        width: 100%;
    }

    header .nav-links a {
        display: block;
        padding: 0.85rem 1rem;
        font-weight: 600;
    }

    header .nav-links a.cta-button {
        text-align: center;
        margin-top: 0.35rem;
    }

    /* A mid-screen floating social rail blocks content and form controls. */
    body > .social-links[style*="position: fixed"] {
        display: none !important;
    }

    .contact-container {
        grid-template-columns: minmax(0, 1fr);
        gap: 1.75rem;
    }

    .contact-info,
    .contact-form {
        min-width: 0;
        padding: clamp(1.25rem, 4vw, 2.25rem);
    }

    .contact-item > div {
        min-width: 0;
        overflow-wrap: anywhere;
    }

    .about-features {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero {
        min-height: 100svh;
        height: auto;
        padding: 8rem 1.5rem 4rem;
    }

    .hero-content {
        width: 100%;
        max-width: 800px;
        padding: 0;
    }
}

@media (max-width: 768px) {
    /* Natural height keeps hero copy and CTAs clear of the header. */
    .hero {
        min-height: 100svh;
        padding: 7.75rem 1.25rem 3.5rem;
    }

    .hero h1 {
        font-size: clamp(1.9rem, 6.7vw, 2.8rem);
        line-height: 1.14;
        letter-spacing: -0.025em;
        overflow-wrap: normal;
        margin-bottom: 1rem;
    }

    .hero p {
        font-size: clamp(1rem, 3.5vw, 1.15rem);
        line-height: 1.65;
        max-width: 38rem;
        margin: 0 auto 1.5rem;
    }

    .hero-buttons {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        width: 100%;
        max-width: 420px;
        margin: 0 auto;
        gap: 0.85rem;
    }

    .hero-buttons a {
        width: 100%;
        min-width: 0;
        min-height: 52px;
        padding: 0.8rem 1rem;
        justify-content: center;
        text-align: center;
        line-height: 1.4;
        white-space: normal;
    }

    /* Disable JS video parallax on small displays. */
    .hero-video {
        transform: none !important;
    }

    .about,
    .services,
    .portfolio,
    .contact,
    .quick-links,
    .newsletter,
    footer {
        width: 100%;
        max-width: 100%;
    }

    .about,
    .services,
    .portfolio,
    .contact {
        padding: 3.25rem clamp(1rem, 5vw, 1.5rem);
    }

    .section-header {
        margin-bottom: 2rem;
    }

    .section-header h2,
    .about-content h2 {
        font-size: clamp(1.75rem, 7vw, 2.5rem);
        line-height: 1.2;
        margin-top: 0;
    }

    .about-container,
    .contact-container {
        grid-template-columns: minmax(0, 1fr);
    }

    .about-features,
    .services-grid,
    .portfolio-grid,
    .mission-grid,
    .values-grid,
    .team-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .service-content {
        padding: 1.35rem;
    }

    .service-content h3 {
        font-size: 1.3rem;
    }

    .quick-links-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .quick-link {
        padding: 1.25rem 0.85rem;
    }

    .contact-info,
    .contact-form {
        padding: clamp(1.1rem, 4vw, 1.65rem);
    }

    .contact-info h3,
    .contact-form h3 {
        font-size: clamp(1.25rem, 5vw, 1.65rem);
        line-height: 1.3;
        margin-bottom: 1.5rem;
    }

    .form-fields-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 0;
    }

    .form-group {
        min-width: 0;
        margin-bottom: 1.25rem;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        min-width: 0;
        max-width: 100%;
        font-size: 16px; /* Prevent focus zoom on mobile browsers. */
    }

    .newsletter {
        padding: 3.25rem 1.25rem;
    }

    .newsletter h2 {
        font-size: clamp(1.65rem, 6vw, 2.2rem);
        line-height: 1.25;
    }

    .newsletter p {
        font-size: 1rem;
        line-height: 1.6;
    }

    .newsletter-form {
        flex-direction: column;
        align-items: stretch;
        gap: 0.8rem;
        max-width: 420px;
    }

    .newsletter-form input,
    .newsletter-form button {
        width: 100%;
        min-width: 0;
        min-height: 52px;
        flex: initial;
    }

    .footer-content {
        grid-template-columns: minmax(0, 1fr);
        gap: 2rem;
    }

    footer .social-links {
        display: flex;
        flex-flow: row wrap;
    }

    .chat-widget {
        width: 50px;
        height: 50px;
        right: 14px;
        bottom: max(14px, env(safe-area-inset-bottom));
    }

    .chat-widget i {
        font-size: 1.55rem;
    }

    /* Avoid a desktop-only pointer dot on touchscreens. */
    body {
        cursor: auto;
    }

    .custom-cursor {
        display: none;
    }

    .career-modal {
        padding: 1rem;
    }

    .career-modal-content {
        padding: 1.5rem 1.1rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 7rem 1rem 3rem;
    }

    .hero h1 {
        font-size: clamp(1.8rem, 7.5vw, 2.15rem);
    }

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

    .quick-links-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .contact-item {
        gap: 0.75rem;
        align-items: flex-start;
    }

    .contact-item i {
        width: 42px;
        height: 42px;
        flex: 0 0 42px;
    }
}

@media (hover: none), (pointer: coarse) {
    body {
        cursor: auto;
    }

    .custom-cursor {
        display: none;
    }
}

/* Keep long service-card calls to action within narrow screens. */
@media (max-width: 768px) {
    .service-content .btn-primary,
    .service-content .btn-secondary,
    .service-content .btn-outline {
        max-width: 100%;
        padding: 0.85rem 1rem;
        justify-content: center;
        text-align: center;
        white-space: normal;
        overflow-wrap: anywhere;
    }

    .portfolio-item .portfolio-overlay {
        /* Retain dark contrast when revealed, but do not force visibility on phones. */
        background: linear-gradient(0deg, rgba(3, 18, 32, 0.86), rgba(3, 18, 32, 0.18));
    }
}


/* Mobile cards: two-column features, single-column services and portfolio */
@media (max-width: 768px) {
    /*
     * Feature and quick-link cards stay two columns on phones.
     * Services and portfolio cards use a single full-width column.
     */
    .quick-links-grid,
    .about-features,
    .mission-grid,
    .values-grid,
    .team-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: clamp(0.65rem, 2.5vw, 1rem);
        align-items: stretch;
    }

    .services-grid,
    .portfolio-grid {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 1.15rem;
    }

    /* Restore comfortable card sizing now that services have full mobile width. */
    .services-grid .service-card img {
        height: clamp(170px, 50vw, 240px);
    }

    .services-grid .service-content {
        padding: clamp(1rem, 4vw, 1.5rem);
    }

    .services-grid .service-content h3 {
        font-size: clamp(1.15rem, 4.7vw, 1.45rem);
    }

    .services-grid .service-content p,
    .services-grid .service-content li {
        font-size: 1rem;
        line-height: 1.6;
    }

    .services-grid .service-content a.btn-primary,
    .services-grid .service-content a.btn-secondary,
    .services-grid .service-content a.btn-outline {
        font-size: 0.95rem;
    }

    .about-features .feature-card {
        padding: clamp(0.75rem, 2.5vw, 1.15rem);
    }

    .about-features .feature-card h4 {
        font-size: clamp(0.83rem, 3.4vw, 1.04rem);
        line-height: 1.35;
    }

    .about-features .feature-card p {
        font-size: clamp(0.8rem, 3.15vw, 0.97rem);
        line-height: 1.5;
    }

    .portfolio-grid .portfolio-item {
        aspect-ratio: 16 / 10;
    }

    .portfolio-grid .portfolio-overlay h3 {
        font-size: clamp(1.05rem, 4.4vw, 1.35rem);
    }

    .quick-links-grid > *,
    .about-features > *,
    .services-grid > *,
    .portfolio-grid > *,
    .mission-grid > *,
    .values-grid > *,
    .team-grid > * {
        min-width: 0;
        max-width: 100%;
    }

    .quick-link,
    .feature-card,
    .mission-card,
    .value-card,
    .team-member {
        padding: clamp(0.75rem, 2.5vw, 1.15rem);
        border-radius: 14px;
        overflow-wrap: anywhere;
    }

    .quick-link i {
        font-size: 1.35rem;
        margin-bottom: 0.55rem;
    }

    .quick-link h3,
    .feature-card h4,
    .mission-card h2,
    .value-card h3,
    .team-member h3 {
        font-size: clamp(0.83rem, 3.4vw, 1.04rem);
        line-height: 1.32;
        overflow-wrap: anywhere;
    }

    .feature-card p,
    .mission-card p,
    .value-card p,
    .team-member p {
        font-size: clamp(0.8rem, 3.15vw, 0.97rem);
        line-height: 1.5;
        overflow-wrap: anywhere;
    }

    .service-card {
        display: flex;
        flex-direction: column;
        min-width: 0;
        border-radius: 14px;
    }

    .service-card img {
        height: clamp(105px, 27vw, 160px);
        object-fit: cover;
    }

    .service-content {
        display: flex;
        flex-direction: column;
        flex: 1;
        min-width: 0;
        padding: clamp(0.7rem, 2.5vw, 1rem);
        overflow-wrap: anywhere;
    }

    .service-content h3 {
        font-size: clamp(0.88rem, 3.6vw, 1.12rem);
        line-height: 1.3;
        margin-bottom: 0.55rem;
    }

    .service-content p,
    .service-content li {
        font-size: clamp(0.8rem, 3.15vw, 0.98rem);
        line-height: 1.5;
        overflow-wrap: anywhere;
    }

    .service-content ul {
        padding-left: 1rem;
        margin-bottom: 0.85rem;
    }

    .service-content a.btn-primary,
    .service-content a.btn-secondary,
    .service-content a.btn-outline {
        display: inline-flex;
        width: 100%;
        max-width: 100%;
        min-height: 44px;
        padding: 0.6rem;
        font-size: clamp(0.77rem, 2.9vw, 0.9rem);
        line-height: 1.3;
        white-space: normal;
        overflow-wrap: anywhere;
        border-radius: 18px;
        text-align: center;
        justify-content: center;
    }

    .portfolio-item {
        min-width: 0;
        aspect-ratio: 4 / 3;
    }

    .portfolio-overlay {
        padding: 0.6rem;
        text-align: center;
    }

    .portfolio-overlay h3 {
        font-size: clamp(0.78rem, 3.2vw, 1rem);
        line-height: 1.3;
        overflow-wrap: anywhere;
    }
}

/* Smaller screens: retain compact feature cards while services stay full width. */
@media (max-width: 360px) {
    .quick-links-grid,
    .about-features,
    .mission-grid,
    .values-grid,
    .team-grid {
        gap: 0.55rem;
    }

    .services-grid,
    .portfolio-grid {
        gap: 0.9rem;
    }

    .service-content,
    .quick-link,
    .about-features .feature-card,
    .mission-card,
    .value-card,
    .team-member {
        padding: 0.65rem;
    }
}

/* Equal-height, two-column hero actions on phones and tablets. */
@media (max-width: 1024px) {
    .hero .hero-buttons {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        justify-items: stretch;
        align-items: stretch;
        width: min(100%, 560px);
        margin-inline: auto;
        gap: clamp(0.55rem, 2.5vw, 0.9rem);
    }

    .hero .hero-buttons > a {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 0.42rem;
        width: 100%;
        min-width: 0;
        min-height: 106px;
        padding: 0.8rem 0.55rem;
        border-radius: 24px;
        box-sizing: border-box;
        text-align: center;
        white-space: normal;
        font-size: clamp(0.85rem, 3.2vw, 1rem);
        font-weight: 700;
        line-height: 1.3;
    }

    .hero .hero-buttons > a i {
        flex: 0 0 auto;
        margin: 0;
        font-size: 1.2rem;
        line-height: 1;
    }

    .hero .hero-buttons .hero-button-label {
        display: block;
        width: 100%;
        min-width: 0;
        max-width: 15rem;
        text-wrap: balance;
        overflow-wrap: break-word;
    }
}

@media (max-width: 360px) {
    .hero .hero-buttons {
        gap: 0.5rem;
    }

    .hero .hero-buttons > a {
        padding-inline: 0.35rem;
        font-size: 0.84rem;
    }
}

/* Responsive footer: Ascendrone | Solutions, then Quick Links | Contact. */
@media (max-width: 768px) {
    footer {
        padding: 3rem clamp(1rem, 4vw, 2rem) 1.75rem;
    }

    footer .footer-content {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: clamp(0.85rem, 3vw, 2rem);
        row-gap: 2rem;
        align-items: start;
    }

    footer .footer-section {
        min-width: 0;
        overflow-wrap: anywhere;
    }

    footer .footer-section h3 {
        margin-bottom: 0.85rem;
        font-size: clamp(1rem, 3.1vw, 1.2rem);
        line-height: 1.3;
    }

    footer .footer-section p,
    footer .footer-section li {
        font-size: clamp(0.82rem, 2.4vw, 1rem);
        line-height: 1.6;
    }

    /* Email and phone should never cause horizontal scrolling. */
    footer .footer-section a {
        overflow-wrap: anywhere;
        word-break: normal;
    }

    footer .social-links {
        display: flex;
        flex-flow: row wrap;
        gap: 0.55rem;
        margin-top: 0.85rem;
    }

    footer .social-links a {
        flex: 0 0 36px;
        width: 36px;
        height: 36px;
    }
}

@media (max-width: 480px) {
    footer {
        padding-inline: 1rem;
    }

    footer .footer-content {
        column-gap: 0.9rem;
        row-gap: 1.75rem;
    }

    footer .footer-section h3 {
        font-size: clamp(0.95rem, 4vw, 1.08rem);
    }

    footer .footer-section p,
    footer .footer-section li {
        font-size: clamp(0.8rem, 3.5vw, 0.92rem);
    }

    footer .social-links {
        gap: 0.45rem;
    }

    footer .social-links a {
        flex-basis: 34px;
        width: 34px;
        height: 34px;
    }
}
