* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2196f3;
    --primary-gradient: linear-gradient(90deg, #2196f3 0%, #1565c0 100%);
    --secondary-color: #1565c0;
    --accent-color: #00bcd4;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.7);
    --hex-bg: url('data:image/svg+xml;utf8,<svg width="100" height="100" viewBox="0 0 100 100" fill="none" xmlns="http://www.w3.org/2000/svg"><polygon points="50,5 95,27.5 95,72.5 50,95 5,72.5 5,27.5" stroke="%23e3eafc" stroke-width="2" fill="none"/></svg>');
    --shadow-lg: 0 10px 30px -5px rgba(33, 150, 243, 0.10), 0 4px 6px -4px rgba(21, 101, 192, 0.10);
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
    background: var(--bg-light);
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-lg);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    text-decoration: none;
    gap: 12px;
}

.logo-img {
    height: 48px;
    width: auto;
    display: inline-block;
    margin-right: 8px;
    vertical-align: middle;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
    font-size: 14px;
    font-family: 'Quicksand';

}

.nav-links a:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: none;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
    color: #fff;
    position: relative;
    z-index: 2;
}

.hero h1 {
    /* font-size: clamp(2.5rem, 5vw, 4rem);
     */
    font-size: 40px;
    font-family: Quicksand;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    animation: fadeInUp 1s ease-out;
    text-shadow: 0 4px 24px rgba(0, 0, 0, 0.18), 0 1px 2px rgba(0, 0, 0, 0.12);
}

.hero .subheadline {
    /* font-size: clamp(1.1rem, 2vw, 1.3rem); */
    font-size: 18px;
    font-family: Quicksand;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 1s ease-out 0.2s both;
    color: #fff;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
}

.cta-button {
    display: inline-block;
    background: var(--secondary-color);
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-lg);
    animation: fadeInUp 1s ease-out 0.4s both;
    font-size: 18px;
    font-family: Quicksand;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    background: #d97706;
}

/* Floating elements */
.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.shape {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.shape:nth-child(1) {
    width: 80px;
    height: 80px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.shape:nth-child(2) {
    width: 120px;
    height: 120px;
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.shape:nth-child(3) {
    width: 60px;
    height: 60px;
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
}

/* Sections */
.section {
    padding: 5rem 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    /* font-size: clamp(2rem, 4vw, 3rem); */
    font-size: 40px;
    font-family: Quicksand;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
    font-size: 18px;
    font-family: Quicksand;
}

/* What We Do Section */
.what-we-do {
    background: linear-gradient(135deg, #f8fafc 80%, #e3f0fc 100%);
    position: relative;
    overflow: hidden;
}

.what-we-do .hex-bg {
    background-image: var(--hex-bg);
    background-size: 120px 120px;
    opacity: 0.08;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.comp-logo {
    display: flex !important;
    justify-content: space-evenly;
}

.para-under-img {
    padding-top: 5%;

}

.icon-flex {
    justify-content: center !important;
}

.image-links {
    display: flex;
    justify-content: space-around;
    padding-top: 3%;
}

.linkedIn-image {
    width: 20%;
    transition: width 0.3s ease, box-shadow 0.3s ease;
}

.mail-image {
    width: 20%;
    transition: width 0.3s ease, box-shadow 0.3s ease;
}

.linkedIn-image:hover,
.mail-image:hover {
    width: 25%;
    /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); */
}

.icon-flex {
    padding-top: 5%;
}


/* .iso{
    display:flex;
    justify-content: center;
    padding-top:3%;
    padding-bottom:3%;
} */

@media (max-width: 1440px) {
    .hero-content {
        margin-top: 15%;
        margin-bottom: 15%;
    }
}

@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(max-width:768px) {
    .hero-content {
        margin-top: 20%;
    }
}

@media (max-width: 700px) {
    .services-grid {
        grid-template-columns: 1fr;
    }

}


@media(max-width:500px) {
    .joint-vision {
        display: block !important;
    }

    .member1 {
        width: 100% !important;
        margin-bottom: 3%;
    }

    .footer-divs {
        display: block !important;
    }

    .logo-media1,
    .logo-media2,
    .logo-media3,
    .logo-media4,
    .logo-media5 {
        width: 100%;
        margin-bottom: 5%;
    }

    .footer-head-inner {
        padding-bottom: 3%;
    }

    .contact-sec {
        justify-content: center;
    }

    .footers-foot {
        display: block !important;
    }
}

@media(max-width: 425px) {
    .hero-content {
        margin-top: 30%;
    }

    .hero h1 {
        font-size: 24px;
    }

    .contact-email {
        font-size: 24px !important;
    }

    .subheadline,
    .section-subtitle,
    .tagline-callout,
    .why-section-subtitle,
    .testimonial-text,
    .contact-a,
    .report-a {
        font-size: 16px !important;
    }

    .cta-button {
        font-size: 14px !important;
    }

    .section-title {
        font-size: 24px !important;
    }

    .why-section-title {
        font-size: 24px !important;
    }

    /* .comp-logo{
        display:block !important;
    } */

    .member-images {
        width: 35% !important;
    }

    .logo-comp {
        width: 20% !important;
    }

    .para-under-img {
        padding-left: 5%;
        padding-right: 5%;
    }
}

.what-we-do .tagline-callout {
    margin: 2.2rem auto 1.5rem auto;
    max-width: 700px;
    font-size: 18px;
    font-family: Quicksand;
    font-weight: 700;
    color: #1565c0;
    background: linear-gradient(90deg, #e3f0fc 60%, #f8fafc 100%);
    border-left: 6px solid #2196f3;
    border-radius: 0 12px 12px 0;
    padding: 1.1rem 1.5rem 1.1rem 1.2rem;
    box-shadow: 0 2px 12px 0 rgba(33, 150, 243, 0.07);
    letter-spacing: 0.01em;
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.what-we-do .tagline-callout i {
    color: #2196f3;
    font-size: 1.5rem;
    margin-right: 0.5rem;
}

.service-card {
    background: rgba(255, 255, 255, 0.85);
    padding: 2.5rem 2rem 2rem 2rem;
    border-radius: 22px;
    box-shadow: 0 6px 32px 0 rgba(33, 150, 243, 0.08);
    transition: transform 0.35s cubic-bezier(.4, 2, .6, 1), box-shadow 0.3s, border 0.3s;
    position: relative;
    overflow: hidden;
    border: 1.5px solid #e3eafc;
    backdrop-filter: blur(6px);
    animation: serviceFadeIn 1.1s cubic-bezier(.4, 2, .6, 1) both;
}

.service-card:hover {
    transform: translateY(-10px) scale(1.035);
    box-shadow: 0 12px 40px -8px #2196f3cc, 0 4px 16px 0 #1565c033;
    border: 2.5px solid #2196f3;
}

@keyframes serviceFadeIn {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.97);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.service-icon {
    width: 62px;
    height: 62px;
    background: linear-gradient(135deg, #2196f3 0%, #00bcd4 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 2rem;
    margin: 0 auto 1.2rem auto;
    box-shadow: 0 2px 12px 0 rgba(33, 150, 243, 0.13);
    animation: iconPulse 2.2s infinite alternate;
}

@keyframes iconPulse {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.12);
    }
}

.service-title {
    font-size: 20px;
    font-family: Quicksand;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1565c0;
    letter-spacing: 0.01em;
    text-align: center;
}

.service-description {
    color: var(--text-light);
    line-height: 1.6;
    text-align: center;
    font-size: 14px;
    font-family: Quicksand;
}

.what-we-do .section-title {
    font-size: clamp(2.2rem, 5vw, 2.8rem);
    font-weight: 800;
    color: #1565c0;
    letter-spacing: 0.01em;
    text-align: center;
    margin-bottom: 0.5rem;
    position: relative;
}

.what-we-do .section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #2196f3 0%, #00bcd4 100%);
    border-radius: 2px;
    margin: 18px auto 0 auto;
}

.what-we-do .section-subtitle {
    font-size: 1.15rem;
    color: #6b7280;
    text-align: center;
    margin-bottom: 0.5rem;
}

/* Core Offerings */
.core-offerings-section {
    background: linear-gradient(135deg, #e3f0fc 60%, #f8fafc 100%);
    position: relative;
    overflow: hidden;
}

.core-offerings-section .hex-bg {
    background-image: var(--hex-bg);
    background-size: 120px 120px;
    opacity: 0.07;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.offerings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2.2rem;
    margin-top: 3rem;
}

.offering-card {
    background: rgba(255, 255, 255, 0.92);
    border-radius: 22px;
    padding: 2.5rem 2rem 2rem 2rem;
    box-shadow: 0 6px 32px 0 rgba(33, 150, 243, 0.08);
    transition: transform 0.35s cubic-bezier(.4, 2, .6, 1), box-shadow 0.3s, border 0.3s;
    border: 1.5px solid #e3eafc;
    position: relative;
    overflow: hidden;
    animation: offeringFadeIn 1.1s cubic-bezier(.4, 2, .6, 1) both;
}

.offering-card:hover {
    transform: translateY(-10px) scale(1.035);
    box-shadow: 0 12px 40px -8px #2196f3cc, 0 4px 16px 0 #1565c033;
    border: 2.5px solid #2196f3;
}

@keyframes offeringFadeIn {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.97);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.offering-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #2196f3 0%, #00bcd4 100%);
    color: #fff;
    border-radius: 50%;
    font-weight: 800;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 12px 0 rgba(33, 150, 243, 0.13);
    animation: iconPulse 2.2s infinite alternate;
}

.offering-title {
    font-size: 20px;
    font-family: Quicksand;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1565c0;
    letter-spacing: 0.01em;
    text-align: center;
}

.offering-features {
    list-style: none;
    margin-top: 1.5rem;
    padding-left: 0;
}

.offering-features li {
    padding: 0.5rem 0 0.5rem 2.2rem;
    color: #1565c0;
    position: relative;
    font-weight: 500;
    font-size: 14px;
    font-family: Quicksand;
}

.offering-features li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0.5rem;
    color: #10b981;
    font-size: 1.1rem;
}

.offering-card p {
    color: #6b7280;
    text-align: center;
    margin-bottom: 0.5rem;
    font-size: 16px;
    font-family: Quicksand;
}

@media (max-width: 900px) {
    .offerings-grid {
        grid-template-columns: 1fr;
    }
}

/* Why Sanadi Section */
.why-sanadi {
    background: var(--primary-gradient);
    color: white;
    position: relative;
    overflow: hidden;
}

.why-sanadi .hex-bg {
    background-image: var(--hex-bg);
    background-size: 100px 100px;
    opacity: 0.18;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    animation: hexMove 18s linear infinite alternate;
}

@keyframes hexMove {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: 80px 40px;
    }
}

.why-sanadi .container {
    position: relative;
    z-index: 2;
}

.why-section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.why-section-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 900;
    color: #fff;
    letter-spacing: 0.01em;
    text-shadow: 0 6px 32px rgba(21, 101, 192, 0.25), 0 1px 2px rgba(0, 0, 0, 0.18);
    margin-bottom: 0.5rem;
    animation: whyTitleGlow 2s ease-in-out infinite alternate;
    font-size: 40px;
    font-family: Quicksand;
}

@keyframes whyTitleGlow {
    0% {
        text-shadow: 0 6px 32px rgba(21, 101, 192, 0.25), 0 1px 2px rgba(0, 0, 0, 0.18);
    }

    100% {
        text-shadow: 0 0px 48px #2196f3, 0 1px 2px rgba(0, 0, 0, 0.18);
    }
}

.why-section-subtitle {
    color: #e3eafc;
    /* font-size: 1.25rem; */
    font-weight: 500;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.10);
    font-size: 18px;
    font-family: Quicksand;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
    margin-top: 2.5rem;
    justify-content: center;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 1200px) {
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 700px) {
    .why-grid {
        grid-template-columns: 1fr;
    }
}

.why-card {
    background: rgba(255, 255, 255, 0.18);
    box-shadow: 0 8px 32px 0 rgba(33, 150, 243, 0.18);
    border-radius: 28px;
    padding: 2.5rem 2rem 2rem 2rem;
    min-width: 320px;
    max-width: 350px;
    flex: 1 1 320px;
    text-align: center;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(18px);
    border: 1.5px solid rgba(33, 150, 243, 0.13);
    transition: transform 0.4s cubic-bezier(.4, 2, .6, 1), box-shadow 0.3s, border 0.3s;
    animation: whyFadeIn 1.2s cubic-bezier(.4, 2, .6, 1) both;
    opacity: 0;
}

.why-card.visible {
    opacity: 1;
}

.why-card:hover {
    transform: translateY(-12px) scale(1.045) rotate(-1deg);
    box-shadow: 0 16px 48px -8px #2196f3cc, 0 4px 16px 0 #1565c033;
    border: 2.5px solid #2196f3;
}

.why-icon {
    width: 74px;
    height: 74px;
    margin: 0 auto 1.2rem auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #2196f3 0%, #00bcd4 100%);
    border-radius: 50%;
    color: #fff;
    font-size: 2.4rem;
    box-shadow: 0 4px 16px 0 rgba(33, 150, 243, 0.13);
    position: relative;
    animation: whyIconFloat 2.5s ease-in-out infinite alternate;
}

@keyframes whyIconFloat {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-10px);
    }
}

.why-title {
    /* font-size: 1.18rem; */
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #fff;
    letter-spacing: 0.01em;
    font-size: 20px;
    font-family: Quicksand;
}

.why-description {
    color: #fff;
    opacity: 0.98;
    /* font-size: 1.08rem; */
    font-weight: 500;
    font-size: 14px;
    font-family: Quicksand;
}

@keyframes whyFadeIn {
    from {
        opacity: 0;
        transform: translateY(60px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Responsive */
@media (max-width: 900px) {
    .why-grid {
        flex-direction: column;
        align-items: center;
    }

    .why-card {
        max-width: 95vw;
        min-width: 0;
    }
}

/* Testimonial */
.testimonial {
    background: var(--bg-light);
    padding: 4rem 0;
}

.testimonial-card {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 4rem;
    color: var(--primary-color);
    font-family: serif;
}

.testimonial-text {
    /* font-size: 1.2rem; */
    line-height: 1.8;
    margin-bottom: 2rem;
    color: var(--text-dark);
    font-size: 18px;
    font-family: Quicksand;
}

.testimonial-author {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 14px;
    font-family: Quicksand;
}

.contact-email {
    font-size: 20px;
    font-family: Quicksand;
}

.contact-a {
    font-size: 18px;
    font-family: Quicksand;
}

.report-a {
    font-size: 16px;
    font-family: Quicksand;
}

.testimonial-role {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Contact Section */
.contact {
    background: var(--bg-light);
    padding: 4rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.contact-info {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.contact-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-right: 1rem;
}

/* Footer */
.footer {
    /* background: var(--text-dark);
    color: white; */
    text-align: center;
    padding: 2rem 0;
}

.our-peoples {
    background-color: var(--mdc-color-neutral-gray-06);
    padding: 5%;

}

h1.people-one {
    padding-bottom: 2%;
}

.joint-vision {
    display: flex;
    justify-content: space-around;
    width: 100%;

}

.member-name {
    font-size: 18px;
    font-family: Quicksand;
    font-weight: bold;
    padding: 5%;

}

.about-memb {
    color: #6b7280;
    text-align: center;
    margin-bottom: 0.5rem;
    font-size: 16px;
    font-family: Quicksand;

}

.member1 {
    width: 33%;
    padding: 3%;
    background-color: white;
    text-align: center;
    text-decoration: none !important;
    color: inherit;
    border-radius: 5px;
}

.member1:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transform: translateY(1px);
}


.member-img {
    display: flex;
    justify-content: center;
}

.people-one {
    text-align: center;
    font-size: 40px;
    font-family: Quicksand;
    font-weight: 700;
}

.member-images {
    width: 50%;
    height: auto;
    object-fit: cover;
    display: block;
    border-radius: 50%;
    /* Makes it a perfect circle */
}

.sio-div {
    display: flex;
    justify-content: center;
}

.iso-image {
    width: 15%;
    max-width: 100%;
    height: auto;
    display: block;
}


/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero-content {
        padding: 0 1rem;
    }

    .container {
        padding: 0 1rem;
    }

    .services-grid,
    .offerings-grid,
    .why-grid {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .testimonial-card {
        padding: 2rem 1rem;
    }
}

/* Scroll animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Loading animation */
.loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.loading.hidden {
    opacity: 0;
    pointer-events: none;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top: 3px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Add animated hexagons floating in hero/footer */
.floating-hex {
    position: absolute;
    width: 60px;
    height: 60px;
    background-image: var(--hex-bg);
    opacity: 0.18;
    animation: floatHex 8s infinite linear alternate;
}

.floating-hex.hex1 {
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.floating-hex.hex2 {
    top: 70%;
    left: 80%;
    animation-delay: 2s;
}

.floating-hex.hex3 {
    top: 50%;
    left: 60%;
    animation-delay: 4s;
}

@keyframes floatHex {
    0% {
        transform: translateY(0) scale(1);
    }

    100% {
        transform: translateY(-30px) scale(1.1);
    }
}

/* Section transitions with SVG wave */
.svg-wave {
    display: none;
    width: 100%;
    height: 60px;
    margin-bottom: -2px;
}

@keyframes animatedGradient {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.hero {
    background: linear-gradient(120deg, #2196f3, #1565c0, #00bcd4, #2196f3);
    background-size: 300% 300%;
    animation: animatedGradient 8s ease-in-out infinite;
}

@keyframes fadeInUpHero {
    0% {
        opacity: 0;
        transform: translateY(40px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero h1 {
    opacity: 0;
    animation: fadeInUpHero 1.2s 0.2s forwards;
}

.hero .subheadline {
    opacity: 0;
    animation: fadeInUpHero 1.2s 0.6s forwards;
}

.hero .cta-button {
    opacity: 0;
    animation: fadeInUpHero 1.2s 1s forwards;
}

@keyframes floatShape1 {
    0% {
        transform: translateY(0) scale(1);
    }

    100% {
        transform: translateY(-30px) scale(1.08) rotate(6deg);
    }
}

@keyframes floatShape2 {
    0% {
        transform: translateY(0) scale(1);
    }

    100% {
        transform: translateY(-18px) scale(1.12) rotate(-8deg);
    }
}

@keyframes floatShape3 {
    0% {
        transform: translateY(0) scale(1);
    }

    100% {
        transform: translateY(-24px) scale(1.05) rotate(4deg);
    }
}

.hero {
    position: relative;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 3;
}

.floating-shapes {
    pointer-events: none;
    z-index: 1;
}

.hero-wave {
    z-index: 2;
}

/* Add these to the <style> section for contact form and grid */
.contact-grid-centered {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    margin-top: 3rem;
}

.contact-info-optimized {
    margin: 0 auto;
    max-width: 480px;
    width: 100%;
    box-shadow: 0 8px 32px 0 rgba(33, 150, 243, 0.10);
    border-radius: 18px;
    padding: 2.5rem 2rem 2rem 2rem;
    background: #fff;
}

.contact-info-optimized h3 {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    text-align: center;
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: 0.01em;
}

.contact-info-optimized form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.contact-info-optimized input,
.contact-info-optimized textarea {
    padding: 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1.1rem;
}

.contact-info-optimized button {
    border: none;
    cursor: pointer;
    font-size: 1.15rem;
}

.contact-info-optimized .contact-email {
    margin-top: 2.2rem;
    text-align: center;
    color: #2196f3;
    font-size: 1.1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.contact-info-optimized .contact-email span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-info-optimized .contact-email a {
    color: #2196f3;
    text-decoration: underline;
    font-weight: 600;
}