 /* Import Theme */
@import "./theme.css";

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

body {
    font-family: 'Raleway', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #fff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    padding: 0;
}
body.noscroll {
    overflow: hidden;
}
.container {
    max-width: var(--max-container);
    margin: 0 auto;
    padding: 0 0;
}

/* Header */
header {
    background: transparent;
    padding: 20px 15px;
    /* border-bottom: 1px solid var(--light-gray); */
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    transition: background 0.3s ease, border-bottom 0.3s ease;
}

header .container {
    margin: auto;
}

header.scrolled {
    background: #fff;
    box-shadow: 0px 20px 50px 0px rgba(0, 0, 0, 0.1);
    -webkit-box-shadow: 0px 20px 50px 0px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0px 20px 50px 0px rgba(0, 0, 0, 0.1);
}

header .navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

header .logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--dark-blue);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
}
.logo img{
    max-width: 230px;
}
header .nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
    margin-left: auto;
    /* Push nav-links to the right */
}

header .nav-links .active{
    color: var(--primary-color);
}

header .nav-links li a {
    text-decoration: none;
    color: #222;
    font-weight: 500;
    transition: color 0.3s ease;
}

header .nav-links li a:hover {
    color: var(--primary-color);
}

header .contact-btn {
    background-color: transparent;
    color: var(--dark-blue);
    border: 1px solid var(--dark-blue);
    padding: 10px 20px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-left: 30px;
    text-transform: uppercase;
}

header .contact-btn:hover {
    background-color: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

/* Hamburger Menu (hidden on desktop) */
header .menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

header .menu-toggle span {
    width: 25px;
    height: 3px;
    background: #222;
    border-radius: 3px;
    transition: 0.3s;
}

/* Animate Hamburger into X */
header .menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

header .menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

header .menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Hero Section */
.hero {
    height: 100vh;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    /* Align items to the top for better spacing */
    gap: 40px;
    flex-wrap: wrap;
}

.hero .container {
    /* height: 100vh; */
    width: 100%;
    /* max-width: var(--max-container); */
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    padding: 120px 0;
}

.hero-content {
    flex: 2;
    min-width: 300px;
    /* Ensure content doesn't shrink too much */
}

.tags {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.tag {
    background-color: var(--tag-bg);
    color: var(--tag-text);
    border: 1px solid #C63457;
    padding: 5px 25px;
    border-radius: 20px;
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
}

.tag span {
    width: 4px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 4px;
    /* font-size: 20px; */
    margin: 5px;
}
.hero h1.brand-style-1  {
    font-size: 65px;
    font-weight: 300;
    color: var(--dark-blue);
    margin-bottom: 20px;
    line-height: 76px;
}

h1.brand-style-1  {
    font-size: 55px;
    font-weight: 300;
    color: var(--dark-blue);
    margin-bottom: 20px;
    line-height: 76px;
}

h1.brand-style-1 span {
    color: var(--primary-color);
}

.hero p {
    font-size: 18px;
    color: var(--text-color);
    margin-bottom: 40px;
    max-width: 600px;
}

.hero-actions {
    display: flex;
    gap: 20px;
}

.btn {
    display: inline-flex;
    padding: 10px 30px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    text-transform: uppercase;
}

.btn-primary {
    background-color: var(--dark-blue);
    color: #fff;
    cursor: pointer;
}

.btn-primary:hover {
    background-color: var(--primary-color);
    /* Darker shade of blue */
    color: #fff;
}

.btn-border-light:hover {
    background-color: #fff;
    color: var(--primary-color);
    border: 1px solid #ffffff;
    /* box-shadow: 0px 10px 20px 0px rgba(0, 0, 0, 0.4);
    -webkit-box-shadow: 0px 10px 50px 0px rgba(0, 0, 0, 0.4);
    -moz-box-shadow: 0px 10px 20px 0px rgba(0, 0, 0, 0.4); */
}

#notoptedoutbutton, #optedoutbutton{
    margin-top: 15px;
}

.btn-secondary {
    background-color: transparent;
    color: var(--dark-blue);
    border-color: var(--dark-blue);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

/* Hero Image Animation */
.hero-images {
    display: flex;
    gap: 20px;
    height: 76vh;
    overflow: hidden;
}


.image-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}


.scroll-up {
    animation: scroll-up 2s ease-in-out infinite;
    animation-delay: 1s;
}


.scroll-down {
    position: relative;
    top: -450px;
    animation: scroll-down 2s ease-in-out infinite;
    animation-delay: 1s;
}


.image-column img {
    width: 150px;
    border-radius: 20px;
    object-fit: cover;
}


@keyframes scroll-up {
    0% {
        transform: translateY(0);
    }

    80% {
        transform: translateY(-50%);
    }

    100% {
        transform: translateY(-50%);
    }
}


@keyframes scroll-down {
    0% {
        transform: translateY(0);
    }

    80% {
        transform: translateY(50%);
    }

    100% {
        transform: translateY(50%);
    }
}

/* Card Sections Light */
.why-adelement {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    border-radius: 40px;
    padding: 40px;
    max-width: var(--max-container);
    width: 100%;
    box-shadow: 0px 20px 50px 0px rgba(0, 0, 0, 0.1);
    -webkit-box-shadow: 0px 20px 50px 0px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0px 20px 50px 0px rgba(0, 0, 0, 0.1);
    flex-wrap: wrap;
}

.card-section-light {
    background: #fff;
}
.card-section-dark {
    background: var(--dark-blue);
}

.why-adelement .container {
    width: 90%;
    max-width: var(--max-container);
}

.why-adelement-content {
    width: 100%;
    max-width: var(--max-container);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    background-color: #fff;
}

/* Left side illustration */
.why-adelement .illustration {
    flex: 1;
    min-width: 300px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.why-adelement .card {
    background: #fff;
    border-radius: 16px;
    padding: 20px;
    width: 280px;
    box-shadow: 0px 20px 50px 0px rgba(0, 0, 0, 0.1);
    -webkit-box-shadow: 0px 20px 50px 0px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0px 20px 50px 0px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 2;
}


.illustration .tag {
    position: absolute;
    color: var(--dark-blue);
    background: #fff;
    padding: 15px 20px;
    border-radius: 20px;
    border: none;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0px 20px 50px 0px rgba(0, 0, 0, 0.1);
    -webkit-box-shadow: 0px 20px 50px 0px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0px 20px 50px 0px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 6px;
}

.illustration .tag i {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-right: 10px;
}

.illustration .tag i svg {
    width: 32px;
    height: 32px;
}

.illustration .tag:nth-child(2) {
    top: 35%;
    left: 25px;
}

.illustration .tag:nth-child(3) {
    bottom: 8%;
    left: 30px;
}

.illustration .tag:nth-child(4) {
    top: 18%;
    right: 10px;
}

.illustration .tag:nth-child(5) {
    bottom: 27%;
    right: -30px;
}

.illustration .tag-icon {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: inline-block;
}

/* Right side content */
.why-adelement .content {
    flex: 1;
    min-width: 300px;
    padding-left: 60px;
    z-index: 1;
}

.why-adelement .heading {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    line-height: 76px;
    font-weight: 300;
    margin-bottom: 16px;
    color: #1a1a1a;
}

.why-adelement .highlight {
    background: #cce7ff;
    padding: 10px 20px;
    border-radius: 20px;
}

.why-adelement .description {
    font-size: 16px;
    color: var(--text-color);
    max-width: 500px;
    line-height: 1.6;
}

.why-adelement-img {
    width: 230px;
    border-radius: 35px;
    box-shadow: 0px 20px 50px 0px rgba(0, 0, 0, 0.1);
    -webkit-box-shadow: 0px 20px 50px 0px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0px 20px 50px 0px rgba(0, 0, 0, 0.1);
}

.why-adelement .background-circle {
    position: absolute;
    width: 100%;
    max-width: var(--max-container);
    flex: auto;
    max-height: 640px;
    left: 0px;
    top: 0px;
    height: fit-content;
}

.why-adelement .yellow-circle {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    position: absolute;
    top: -70px;
    left: -60px;
    background: #FFF8F0;
    background: linear-gradient(130deg, rgba(255, 248, 240, 1) 0%, rgba(254, 210, 169, 1) 100%);
}

.why-adelement .pink-circle {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    position: absolute;
    top: -30px;
    left: calc(45% - 250px);
    background: #F1CDE9;
    background: linear-gradient(130deg, rgba(241, 205, 233, 1) 0%, rgba(251, 112, 143, 1) 100%);
}

.why-adelement .blue-circle {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    position: absolute;
    top: 430px;
    left: 10px;
    background: transparent;
}

.why-adelement .blue-circle .front-circle {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    position: absolute;
    top: -30px;
    left: 30px;
    background: #ACDEF7;
    background: linear-gradient(130deg, rgba(172, 222, 247, 1) 0%, rgba(9, 168, 252, 1) 100%);
}

.why-adelement .blue-circle .back-circle {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    position: absolute;
    top: -30px;
    left: -20px;
    opacity: 0.5;
    background: #ACDEF7;
    background: linear-gradient(130deg, rgba(172, 222, 247, 1) 0%, rgba(9, 168, 252, 1) 100%);
}

/*  Features */
.features {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    max-width: 1200px;
    width: 100%;
    gap: 40px;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.feature-card {
    flex: 1;
    min-width: 280px;
    background: transparent;
    border-radius: 16px;
    padding: 30px 20px;
    text-align: left;
    /* box-shadow: 0 4px 12px rgba(0,0,0,0.06); */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-6px);
    /* box-shadow: 0 8px 20px rgba(0,0,0,0.1); */
}

.feature-icon {
    font-size: 40px;
    width: 50px;
    height: 50px;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 16px;
}

.feature-title {
    font-size: 20px;
    font-weight: 600;
    color: #d33b4a;
    margin-bottom: 12px;
}

.feature-text {
    font-size: 15px;
    color: var(--text-color);
    line-height: 1.6;
}

@media(max-width: 900px) {
    .features {
        gap: 20px;
    }

    .feature-card {
        flex: 1 1 100%;
    }
}


/*  Publishers Stats */
.publishers-stats {
    display: flex;
    justify-content: space-between;
    align-items: stretch; 
    width: 100%;
    gap: 40px;
    margin-top: 2rem;
    flex-wrap: wrap;
    padding: 20px;
}

.publishers-stats-card {
    flex: 1;
    min-width: 280px;
    background: transparent;
    border-radius: 16px;
    padding: 0px 40px 40px 40px;
    text-align: center;
    /* box-shadow: 0 4px 12px rgba(0,0,0,0.06); */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.publishers-stats-card:hover {
    transform: translateY(-6px);
    /* box-shadow: 0 8px 20px rgba(0,0,0,0.1); */
}

.publishers-stats-icon {
    font-size: 40px;
    width: 50px;
    height: 50px;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 16px;
}
.publishers-stats h1 {
    text-align: center;
}
.publishers-stats-title {
    font-size: 55px;
    font-weight: 700;
    color: var(--dark-blue);
    margin-bottom: 0px;
}

.publishers-stats-text {
    font-size: 15px;
    color: var(--text-color);
    line-height: 1.6;
}

@media(max-width: 900px) {
    .publishers-stats {
        gap: 20px;
    }

    .publishers-stats-card {
        flex: 1 1 100%;
    }
}



/* Card Sections Light */
.how-it-works {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    border-radius: 40px;
    padding: 40px;
    max-width: var(--max-container);
    width: 100%;
    box-shadow: 0px 20px 50px 0px rgba(0, 0, 0, 0.1);
    -webkit-box-shadow: 0px 20px 50px 0px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0px 20px 50px 0px rgba(0, 0, 0, 0.1);
    flex-wrap: wrap;
} 

.how-it-works .container {
    width: 90%;
    max-width: var(--max-container);
}

.how-it-works-content {
    width: 100%;
    max-width: var(--max-container);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    padding: 30px 0px;
    background-color: #fff;
} 

/* Left side illustration */
.how-it-works .illustration {
    flex: 1;
    min-width: 300px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    left: -28%;
}

.how-it-works .card {
    background: #fff;
    border-radius: 16px;
    padding: 20px;
    width: 280px;
    box-shadow: 0px 20px 50px 0px rgba(0, 0, 0, 0.1);
    -webkit-box-shadow: 0px 20px 50px 0px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0px 20px 50px 0px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 2;
}


.illustration .tag {
    position: absolute;
    color: var(--dark-blue);
    background: #fff;
    padding: 15px 20px;
    border-radius: 20px;
    border: none;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0px 20px 50px 0px rgba(0, 0, 0, 0.1);
    -webkit-box-shadow: 0px 20px 50px 0px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0px 20px 50px 0px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 6px;
}

.illustration .tag i {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-right: 10px;
}

.illustration .tag i svg {
    width: 32px;
    height: 32px;
}

.illustration .tag:nth-child(2) {
    top: 35%;
    left: 25px;
}

.illustration .tag:nth-child(3) {
    bottom: 8%;
    left: 30px;
}

.illustration .tag:nth-child(4) {
    top: 18%;
    right: 10px;
}

.illustration .tag:nth-child(5) {
    bottom: 27%;
    right: -30px;
}

.illustration .tag-icon {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: inline-block;
}

/* Right side content */
.how-it-works .content {
    flex: 1;
    min-width: 300px;
    padding-left: 15px;
    z-index: 1;
}

.how-it-works .heading {
    font-size: 55px;
    line-height: 76px;
    font-weight: 300;
    margin-bottom: 16px;
    color: #1a1a1a;
}

.how-it-works .highlight {
    background: #cce7ff;
    padding: 10px 20px;
    border-radius: 20px;
}

.how-it-works .description {
    font-size: 16px;
    color: var(--text-color);
    max-width: 500px;
    line-height: 1.6;
}

.how-it-works-img {
    width: 230px;
    border-radius: 35px;
    box-shadow: 0px 20px 50px 0px rgba(0, 0, 0, 0.1);
    -webkit-box-shadow: 0px 20px 50px 0px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0px 20px 50px 0px rgba(0, 0, 0, 0.1);
}

.how-it-works .background-circle {
    position: absolute;
    width: 100%;
    max-width: var(--max-container);
    flex: auto;
    max-height: 640px;
    left: 0px;
    top: 0px;
    height: fit-content;
}

.how-it-works .yellow-circle {
    width: 470px;
    height: 470px;
    border-radius: 50%;
    position: absolute;
    top: -120px;
    left: -60px;
    background: #FFF8F0;
    background: linear-gradient(130deg, rgba(255, 248, 240, 1) 0%, rgba(254, 210, 169, 1) 100%);
}

.how-it-works .pink-circle {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    position: absolute;
    top: -70px;
    right: -100px;
    background: #F1CDE9;
    background: linear-gradient(130deg, rgba(241, 205, 233, 1) 0%, rgba(251, 112, 143, 1) 100%);
}

.how-it-works .blue-circle {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    position: absolute;
    top: 530px;
    right: 30px;
    background: transparent;
}

.how-it-works .blue-circle .front-circle {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    position: absolute;
    top: -30px;
    left: 30px;
    background: #ACDEF7;
    background: linear-gradient(130deg, rgba(172, 222, 247, 1) 0%, rgba(9, 168, 252, 1) 100%);
}

.how-it-works .blue-circle .back-circle {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    position: absolute;
    top: -40px;
    left: 60px;
    opacity: 0.5;
    background: #ACDEF7;
    background: linear-gradient(130deg, rgba(172, 222, 247, 1) 0%, rgba(9, 168, 252, 1) 100%);
}

.how-it-works .ai-dsp-circle-center{
    background-color: #fff;
    color: var(--dark-blue);
    border-radius: 50%;
    width: 100px;
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
}
/* Concentric circles */
.how-it-works .circles-1 {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    left: 0px; 
    min-width: 460px;
    min-height: 460px;
    border-radius: 50%;
    background: #fff;
    border: none;
    z-index: 1;
}

.how-it-works .circles-1::before,
.how-it-works .circles-1::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    border: 1px solid #e0e0e0;
}

.how-it-works .circles-1::before {
    width: 100%;
    height: 100%; 
}

.how-it-works .circles-1::after {
    width: 80%;
    height: 80%; 
}

/* Concentric circles */
.how-it-works .circles-2 {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    width: 270px;
    height: 270px;
    border-radius: 50%;
    background: #fff;
    border: none;
    z-index: 1;
}

.how-it-works .circles-2::before,
.how-it-works .circles-2::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    border: 1px solid #e0e0e0;
}

.how-it-works .circles-2::before {
    width: 105%;
    height: 105%; 
}

.how-it-works .circles-2::after {
    width: 75%;
    height: 75%; 
}

/* Inner circle with AI DSP */
.how-it-works .center-2 {
    position: absolute;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    box-shadow: 0px 20px 50px 0px rgba(0, 0, 0, 0.1);
    -webkit-box-shadow: 0px 20px 50px 0px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0px 20px 50px 0px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    background: #fff; 
}
.how-it-works .center-1 {
    position: absolute;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    box-shadow: 0px 20px 50px 0px rgba(0, 0, 0, 0.1);
    -webkit-box-shadow: 0px 20px 50px 0px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0px 20px 50px 0px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    background: #fff;
    font-weight: bold;
    color: #333;
    z-index: 2;
    font-size: 15px;
}
.how-it-works .center sup{
    padding-bottom: 20px;
}

/* Info cards */
.how-it-works .card {
    position: absolute;
    background: #fff;
    padding: 15px 20px;
    border-radius: 15px;
    box-shadow: 0px 20px 50px 0px rgba(0, 0, 0, 0.1);
    -webkit-box-shadow: 0px 20px 50px 0px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0px 20px 50px 0px rgba(0, 0, 0, 0.1);
    font-size: 16px;
    font-weight: 500;
    color: #1a1a2e;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 3;
}

.how-it-works .dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    flex-shrink: 0;
}


.how-it-works .pink {
    background: #ECA6CC;
}

.how-it-works .blue {
    background: #82C9FF;
}

.how-it-works .orange {
    background: #FFD499;
}

/* Card positions */
.how-it-works .card1 {
    top: 10px;
    left: 200px;
}
.how-it-works .card1::before {
    top: 10px;
    left: 200px;
}

.how-it-works .card2 {
    top: 145px;
    left: 305px;
}

.how-it-works .card3 {
    top: 275px;
    left: 315px;
}

.how-it-works .card4 {
    bottom: -40px;
    left: 200px;
}


/* About Sections Dark */
.about-us-section {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    border-radius: 40px;
    padding: 40px;
    max-width: var(--max-container);
    width: 100%;
    box-shadow: 0px 20px 50px 0px rgba(0, 0, 0, 0.1);
    -webkit-box-shadow: 0px 20px 50px 0px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0px 20px 50px 0px rgba(0, 0, 0, 0.1);
    flex-wrap: wrap;
} 

.about-us-section .container {
    width: 90%;
    max-width: var(--max-container);
}

.about-us-section-content {
    width: 100%;
    max-width: var(--max-container);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    padding: 30px 0px;
    background-color: var(--dark-blue);
} 

/* Left side content */
.about-us-section .content {
    flex: 1;
    min-width: 300px;
    padding-left: 15px;
    z-index: 1;
}

.about-us-section .heading {
    font-size: 55px;
    line-height: 76px;
    font-weight: 300;
    margin-bottom: 16px;
    color: #fff;
}

.about-us-section .description {
    font-size: 16px;
    color: var(--white) !important;
    max-width: 500px;
    line-height: 30px;
}

/* Right side illustration */
.about-us-section .illustration {
    flex: 1;
    min-width: 300px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center; 
}
.about-us-section .illustration img {
    width: 100%;
    mix-blend-mode:lighten;
}

.about-us-section .card {
    background: #fff;
    border-radius: 16px;
    padding: 20px;
    width: 280px;
    box-shadow: 0px 20px 50px 0px rgba(0, 0, 0, 0.1);
    -webkit-box-shadow: 0px 20px 50px 0px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0px 20px 50px 0px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 2;
} 

.about-us-section .background-circle {
    position: absolute;
    width: 100%;
    max-width: var(--max-container);
    flex: auto;
    max-height: 640px;
    left: 0px;
    top: 0px;
    height: fit-content;
}

.about-us-section .red-light {
    width: 550px;
    height: 500px;
    border-radius: 50%;
    position: absolute;
    top: -180px;
    left: -180px;
    background: #C63458;
    background: radial-gradient(circle,rgba(198, 52, 88, 1) 0%, rgba(10, 22, 59, 0) 100%);
    filter: blur(70px);
}

.about-us-section .blue-light {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    position: absolute;
    top: 270px;
    right: -100px;
    background: #483AB5;
    background: radial-gradient(circle,rgba(72, 58, 181, 1) 0%, rgba(10, 22, 59, 0) 100%);
    filter: blur(50px);
}

/* CTA Section */
.cta {
    background: var(--primary-color);
    color: #fff;
    text-align: center;
    padding: 80px 20px;
}

.cta h1 {
    font-size: 50px;
    font-weight: 300;
    margin-bottom: 24px;
    line-height: 1.4;
}

.cta button {
    background: var(--dark-blue);
    color: #fff;
    border: none;
    padding: 14px 30px;
    border-radius: 30px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.cta button:hover {
    background: var(--dark-blue);
}

/* Partners */

.partners-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center; 
    padding: 80px 0;
    box-sizing: border-box;
    text-align: center;
    background: var(--dark-blue);
    overflow-x: hidden; /* Hide horizontal overflow */
}

/* Text and Button Content */
.partners-section .content-wrapper {
    display: contents;
    max-width: var(--max-container); 
    margin-bottom: 4rem;
    margin: 0 auto;
}

.partners-section .publisher-btn {
    background: transparent;
    border: 1px solid #fff;
    color: #fff;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    cursor: pointer;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.partners-section .publisher-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
}

.partners-section h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive font size */
    font-weight: 300;
    margin: 0 0 1rem 0;
    line-height: 1.2;
}

.partners-section h1.heading{
    font-size: 55px;
    line-height: 76px;
    font-weight: 300;
    margin-bottom: 16px;
    color: #fff;
}

.partners-section h1 span {
    color: #ff4d6d; /* Pinkish-red color from image */
    font-weight: 300;
}


.partners-section p {
    font-size: 16px;
    color: var(--white) !important;
    max-width: 750px;
    line-height: 30px;
    margin: 0 auto;
    opacity: 0.7;
}

/* Logo Auto-Slider */
/* .partners-section .logo-slider {
    width: 100%;
    overflow: hidden;
    margin-top: 40px; 
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    padding:60px 0 ; 
    white-space:nowrap;
    position:relative;
}

.partners-section .slider-track {
    display: flex; 
    animation: 30s scroll infinite linear;
}  */

/* Pauses animation on hover */
/* .partners-section .slider-track:hover {
    animation-play-state: paused;
}

.partners-section .slide {
    width: 150px;
    height: 150px;
    margin: 0 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0; 
    border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.partners-section .slide img {
    max-width: 75px;
    max-height: 75px; 
    opacity: 0.8;
} */

/* Keyframe animation for the scroll effect */
/* @keyframes scroll {
    from {
        transform: translateX(0);
    }
    to { 
        transform: translateX(-100%);
    }
} */

/* --- 3. 2D Auto-scrolling Slider --- */
.logo-slider {
    width: 100%;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.slider-track {
    display: flex;
    /* The width is set dynamically by JS if needed, but flexbox handles it well */
}

/* --- 5. Individual Logo Panels --- */
.slide-panel {
    width: 150px;
    height: 150px;
    margin: 0 25px; /* Spacing between logos */
    flex-shrink: 0;
    background: var(--panel-bg);
    border: 1px solid var(--panel-border);
    border-radius: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.slide-panel img {
    max-width: 80px;
    max-height: 80px;
    object-fit: contain;
    /* filter: brightness(0) invert(1); */ 
}


/* --- Contact Card --- */
.contact-card {
    background-color: var(--white);
    border-radius: 32px;
    padding: 48px;
    box-shadow: 0px 20px 50px 0px rgba(0, 0, 0, 0.1);
    -webkit-box-shadow: 0px 20px 50px 0px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0px 20px 50px 0px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: var(--max-container);
    margin: 0 auto;
    margin-top: 80px;
    margin-bottom: 50px;
    text-align: left;
}

/* --- Flexbox Container for the Columns --- */
.contact-card .card-content {
    display: flex;
    gap: 48px;
}

/* --- Column Sizing --- */
.contact-card .info-column, .form-column {
    flex: 1;
}

.contact-card .form-column {
   /* Give the form a bit more space on desktop */
   flex-basis: 30%; 
}

/* --- Left Column: Info & Addresses --- */
.contact-card .info-column h1 {
    font-size: 3rem;
    margin-top: 0;
    margin-bottom: 1rem;
    color: var(--dark-blue);
}

.contact-card .info-column .description {
    font-size: 1.1rem;
    color: var(--dark-blue);
    line-height: 1.6;
    margin-bottom: 3rem;
}

.contact-card .address-block {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 2rem;
    flex-direction: column;
}

.contact-card .address-block .icon {
    flex-shrink: 0; 
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-card .address-block h3 {
    color: var(--dark-blue);
    margin: 0 0 0 10px;
    font-size: 1.25rem;
    font-weight: 600;
}

.contact-card .address-block p {
    margin: 0;
    color: var(--text-color);
    line-height: 1.5;
}


/* --- Right Column: Form --- */
.contact-card .form-group {
    margin-bottom: 1.5rem;
}

.contact-card .form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--dark-blue);
}

.contact-card .form-input, .form-textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 14px;
    font-family: 'Poppins', sans-serif;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
}

.contact-card .form-input::placeholder, .form-textarea::placeholder {
    color: #9ca3af;
}

.contact-card .form-input:focus, .form-textarea:focus {
    outline: none;
    border-color: var(--primary-text);
    box-shadow: none;
}

.contact-card .form-textarea {
    min-height: 120px;
    resize: vertical;
}
.contact-card .form-textarea:focus{
    box-shadow: none;
}
.btn-primary {
    background-color: var(--dark-blue);
    color: #fff;
}

.btn-primary:hover {
    background-color: var(--primary-color);
    /* Darker shade of blue */
    color: #fff;
}
.contact-card .btn-primary { 
    background-color: var(--dark-blue);
    color: #fff;  
}

.contact-card .btn-primary:hover {
    background-color: var(--primary-color); 
    color: #fff;
}
.thankyou_message{
    color: #8BC34A;
}

/* Footer Section */
footer {
    background: var(--dark-blue);
    color: #fff;
    padding: 50px 20px 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    max-width: var(--max-container);
    margin: auto;
    gap: 40px;
    flex-wrap: wrap;
}

/* First column takes 50% */
.footer-col.about {
    flex: 1 1 50%;
    max-width: 50%;
}

/* Next two columns share remaining 50% */
.footer-col.links {
    flex: 1 1 25%;
    max-width: 25%;
}

.footer-col h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    text-decoration: none;
    color: var(--white);
    font-size: 18px;
    font-weight: 300;
    transition: color 0.3s ease;
}

.footer-col ul li a:hover {
    color: #fff;
}

.footer-about {
    font-size: 18px;
    font-weight: 300;
    color: var(--white) !important;
    margin: 20px 0;
    line-height: 1.6;
    max-width: 500px;
}

.social-icons {
    display: flex;
    gap: 14px;
    margin-top: 10px;
}

.social-icons a {
    font-size: 20px;
    text-decoration: none;
    color: #fff;
    transition: opacity 0.3s ease;
}

.social-icons a:hover {
    opacity: 0.7;
}

/* Bottom Bar */
.footer-bottom {
    border-top: 1px solid #1C2A57;
    text-align: center;
    font-size: 18px;
    font-weight: 300;
    color: var(--white);
    max-width: var(--max-container);
    margin: 0 auto;
    margin-top: 40px;
    padding-top: 20px;
}
.footer-col .logo-footer{
    margin-bottom: 10px;
    display: block;
}
 


/* Overlay */
.overlay{
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--text-color);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 9999;
  }
  .overlay.active{
    opacity: 1;
    pointer-events: auto;
  }

  .modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 1000;
    overflow-y: auto;
    padding: 40px 20px;
    box-sizing: border-box;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    position: relative;
    transform: scale(0.95);
    transition: transform 0.3s ease;
    margin: auto;
    width: 100%;
    max-width: 640px;
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

/* NEW: Iframe styles */
#contactFrame {
    width: 100%;
    height: 85vh; /* Responsive height */
    min-height: 600px;
    border: none;
    display: block;
    border-radius: 32px; /* Rounded corners for the iframe container */
}

.close-btn {
    position: absolute;
    top: -15px;
    right: -15px;
    width: 40px;
    height: 40px;
    background-color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-text);
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    line-height: 1;
    z-index: 10;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}



/* Main Grid Layout */
.hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    gap: 3rem;
}

/* Content Section */
.main-grid .content-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
} 

/* Image Gallery Section */
.hero .hero-images {
    max-width: 340px;
    /* height: 70vh; */
    display: flex;
    gap: 1rem;
    overflow: hidden;
    border-radius: 1rem;
    /* box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25); */
    background-color: white;
    padding: 1rem;
    box-sizing: border-box;
}

.hero .image-column {
    width: 50%;
}

.hero .image-column > div {
     display: flex;
     flex-direction: column;
}

.hero .image-column img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 20px;
    margin-bottom: 1rem;
}

/* Remove margin from the very last image to prevent extra space */
.hero .image-column > div > img:last-child {
    margin-bottom: 0;
}

/* Animations */
@keyframes scroll-up {
    from { transform: translateY(0); }
    to { transform: translateY(-50%); }
}

@keyframes scroll-down {
    from { transform: translateY(-50%); }
    to { transform: translateY(0); }
}

.animate-scroll-up {
    animation: scroll-up 5s ease-out infinite;
}

.animate-scroll-down {
    animation: scroll-down 5s ease-out infinite;
}

.hero-images:hover .animate-scroll-up,
.hero-images:hover .animate-scroll-down {
    animation-play-state: paused;
} 