/* Import Poppins Font */
/* Override font family */
:root {
    --color-primary: #FF6B35;
    --color-primary-hover: #E55A2B;
    --color-heading: #151F4C;
    --color-text: #626C71;
    --color-background: #F8F9FA;
    --border-radius: 12px;
    --box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    box-sizing: border-box;
}

body {
    font-family: "outfit", sans-serif;
    margin: 0;
    padding: 0;
    background: url("images/background.png");
    overflow-x: hidden;
    background-size: cover;
    background-attachment: fixed;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* Ensure proper container behavior on all screen sizes */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
}

/* Improved responsive typography */
@media (max-width: 480px) {
    .hero-text h1,
    
    .industries-section h2,
    .traffic-volumes h2,
    .faq-section h2 {
        word-wrap: break-word;
        hyphens: auto;
    }
    

    .industry-item h3 {
        word-wrap: break-word;
        hyphens: auto;
    }
}

/* Hero Section */
.advertisers-hero {
    padding: 2rem 1rem;
    /* height: 80vh; */
    display: flex;
    align-items: center;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
    text-align: center;
}

.hero-text h1 {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-label {
    color: #151F4C;
    font-size: 4rem;
    font-weight: 300;
    display: block;
}

.hero-highlight {
    color: var(--color-primary);
    font-size: 4rem;
    font-weight: 600;
    text-transform: uppercase;
    display: block;
}

.hero-text p {
    font-size: 1.5rem;
    color: #626C71;
    margin-bottom: 2rem;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-btn {
    background: var(--color-primary);
    color: white;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
}

.hero-btn:hover {
    background: var(--color-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 107, 53, 0.3);
}

/* Hero Visual */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    margin-top: 2rem;
}

.hero-visual img {
    max-width: 87%;
    height: auto;
    border-radius: 15px;
    /* box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); */
    transition: transform 0.3s ease;
}

.section__heading {
  color: #151F4C;
  font-size: 3.5rem;
  font-weight:  500;
  text-align: center;
  margin: 0;
  /* margin: 0 0 0.3em 0; */
  /* letter-spacing: -0.01em; */
}

/* Why Choose Section */
.why-choose-ads {
    padding: 3rem 1rem;
    margin: 3rem 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 auto;
}





/* Ad Formats Section */
.ad-formats {
    background: url("advertisors/360\ Monetization\ Solutions.png");
    padding: 3rem 1rem;
    background-size: cover;
    background-position: center;
    color: white;
    margin: 0;
}

.ad-formats-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
}

.formats-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: white;
    text-align: center;
}

.format-option {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    backdrop-filter: blur(10px);
}

.format-option h4 {
    /* font-size: 3rem; */
    font-size: 1.8rem;
    font-weight: 200;
    color: white;
    margin: 0;
    text-align: center;
}

.formats-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.mobile-mockup img {
    max-width: 100%;
    height: auto;
    /* box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3); */
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.mobile-mockup img:hover {
    transform: scale(1.02);
    /* box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4); */
}

/* Industries Section */
.industries-section {
   gap: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 5vh auto;
  padding: var(--space-32) 0;
  text-align: center;
}

.industries-section h2 {
    font-size: 4rem;
    font-weight: 700;
    color: var(--color-heading);
    margin-bottom: 1rem;
}

.industries-section .subtitle {
    font-size: 1.5rem;
    color: #151f4cd3;
    margin-bottom: 2rem;
    max-width: 600px;
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
    width: 100%;
    max-width: 1200px;
    align-items: stretch;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
    padding: 0 1rem;
}

.industry-item {
    height: 280px;
    width: 100%;
}

.industry-icon {
    width: 100px;
    height: 100px;
    /* background: linear-grad//ient(135deg, var(--color-primary), #FF8A65); */
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.8rem;
    color: white;
    font-size: 1.2rem;
    overflow: hidden;
}

.industry-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 6px;
    transition: transform 0.3s ease;
}

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

.industry-item h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-heading);
}

.industry-item {
    font-size: 0.85rem;
    line-height: 1.4;
}

/* Traffic Volumes Section */
.traffic-volumes {
    background: url("advertisors/Rectangle\ 28.png");
    padding: 3rem 1rem;
    color: white;
    background-size: cover;
    background-position: center;
}

.traffic-volumes h2 {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 2rem;
    color: white;
}

.traffic-table {
    /* max-width: 500px; */
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.table-header {
    display: grid;
    grid-template-columns: 1fr 2fr;
    background: rgba(255, 255, 255, 0.2);
    padding: 1rem;
    font-weight: 700;
    font-size: 1rem;
}

.table-row {
    display: grid;
    grid-template-columns: 1fr 2fr;
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.table-row:last-child {
    border-bottom: none;
}

.col-geo {
    font-weight: 600;
    font-size: 20px;
}

.col-impressions {
    font-size: 20px;
    opacity: 0.9;
}

/* FAQ Section */
.faq-section {
    padding: 3rem 1rem;
}

.faq-section h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-heading);
    text-align: center;
    margin-bottom: 2rem;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border: 1px solid #E5E7EB;
    border-radius: 15px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    box-shadow: var(--box-shadow);
}

.faq-question {
    display: flex;
    align-items: center;
    padding: 1rem;
    cursor: pointer;
    transition: var(--transition);
    gap: 1rem;
}

.faq-question:hover {
    background: #F9FAFB;
}

.faq-number {
    background: var(--color-primary);
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.faq-question h3 {
    flex: 1;
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-heading);
    margin: 0;
    text-align: left;
}

.faq-question i {
    color: #626C71;
    transition: transform 0.3s;
    flex-shrink: 0;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 1rem 1rem;
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-answer p {
    font-size: 0.95rem;
    color: #626C71;
    line-height: 1.6;
    margin: 0;
}

/* Mobile Styles (up to 767px) */
@media (max-width: 767px) {
    .advertisers-hero {
        padding: 0;
        min-height: auto;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-text h1 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .hero-label,
    .hero-highlight {
        font-size: 1.5rem;
    }
    
    .hero-text p {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
        width: 100%;
        max-width: 280px;
    }
    
    .why-choose-ads {
        padding: 2rem 1rem;
        margin: 2rem 0;
    }
    


    
    .ad-formats {
        padding: 2rem 1rem;
    }
    
    .ad-formats-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .formats-text h2 {
        font-size: 2rem;
        text-align: center;
        margin-bottom: 1rem;
    }
    
    .format-option {
        padding: 1rem;
        margin-bottom: 0.8rem;
    }
    
    .format-option h4 {
        font-size: 1.5rem;
        text-align: center;
    }
    
    .industries-section {
        padding: 2rem 1rem;
        margin: 2rem 0;
    }
    
    .industries-section h2 {
        font-size: 2rem;
        margin-bottom: 0.8rem;
    }
    
    .industries-section .subtitle {
        font-size: 1.2rem;
        margin-bottom: 1.5rem;
    }
    
    .industries-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        width: 100%;
        padding: 0 0.5rem;
    }
    
    .industry-item {
        height: 250px;
    }
    
    .industry-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        margin-bottom: 0.6rem;
    }
    
    .industry-icon img {
        padding: 4px;
    }
    
    .industry-item h3 {
        font-size: 1rem;
    }
    
    .traffic-volumes {
        padding: 2rem 1rem;
    }
    
    .traffic-volumes h2 {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }
    
    .traffic-table {
        max-width: 100%;
        margin: 0 1rem;
    }
    
    .table-header,
    .table-row {
        padding: 0.8rem;
        font-size: 0.9rem;
    }
    
    .faq-section {
        padding: 2rem 1rem;
    }
    
    .faq-section h2 {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }
    
    .faq-question {
        padding: 1rem;
        gap: 0.8rem;
    }
    
    .faq-number {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }
    
    .faq-question h3 {
        font-size: 0.95rem;
    }
    
    .faq-answer {
        padding: 0 1rem 1rem;
    }
    
    .faq-answer p {
        font-size: 0.9rem;
    }
}

/* Tablet Styles */
@media (min-width: 768px) {
    .advertisers-hero {
        padding: 3rem 2rem;
    }
    
    .hero-content {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
        text-align: left;
    }
    
    .hero-text h1 {
        font-size: 3rem;
    }
    
    .hero-label,
    .hero-highlight {
        font-size: 2.2rem;
    }
    
    .hero-text p {
        font-size: 1.1rem;
        margin-left: 0;
        margin-right: 0;
    }
    
    .why-choose-ads {
        padding: 4rem 2rem;
    }
    

    

    
    .ad-formats {
        padding: 4rem 2rem;
    }
    
    .ad-formats-content {
        grid-template-columns: 1fr 1fr;
        gap: 15rem;
    }
    
    .formats-text h2 {
        font-size: 3rem;
        text-align: left;
    }
    
    .format-option h4 {
        font-size: 2.2rem;
        text-align: left;
    }
    
    .industries-section {
        padding: 4rem 2rem;
    }
    
    .industries-section h2 {
        font-size: 2.2rem;
    }
    
    .industries-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 2rem;
        width: 100%;
    }
    
    .traffic-volumes {
        padding: 4rem 2rem;
    }
    
    .traffic-volumes h2 {
        font-size: 3rem;
    }
    
    .faq-section {
        padding: 4rem 2rem;
    }
    
    .faq-section h2 {
        font-size: 2.2rem;
    }
    
    .faq-question {
        padding: 1.5rem;
    }
    
    .faq-answer {
        padding: 0 1.5rem 1.5rem;
    }
}

/* Desktop Styles */
@media (min-width: 1024px) {
    .advertisers-hero {
        padding: 4rem 3rem;
    }
    
    .hero-content {
        gap: 4rem;
    }
    
    .hero-text h1 {
        font-size: 3.5rem;
    }
    
    .hero-label,
    .hero-highlight {
        font-size: 2.5rem;
    }
    
    .hero-text p {
        font-size: 1.1rem;
    }
    
    .why-choose-ads {
        padding: 5rem 3rem;
    }
    
 
 
    
    .ad-formats {
        padding: 5rem 3rem;
    }
    
    .formats-text h2 {
        font-size: 4rem;
    }
    
    .format-option h4 {
        font-size: 2rem;
        font-weight: 400;
    }
    
    .industries-section {
        padding: 5rem 3rem;
    }
    
    .industries-section h2 {
        font-size: 2.5rem;
    }
    
    .industries-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 3rem;
        width: 100%;
    }
    
    .industry-item {
        height: 300px;
    }
    
    .industry-icon {
        width: 100px;
        height: 100px;
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .industry-icon img {
        padding: 8px;
    }
    
    .industry-item h3 {
        font-size: 1.2rem;
    }
    
    .traffic-volumes {
        padding: 5rem 3rem;
    }
    
    .traffic-volumes h2 {
        font-size: 3rem;
    }
    
    .traffic-table {
        width: 70vw;
        text-align: center;
    }
    
    .table-header,
    .table-row {
        padding: 1.5rem;
    }
    
    .faq-section {
        padding: 5rem 3rem;
    }
    
    .faq-section h2 {
        font-size: 2.5rem;
    }
}
@media (min-width: 1024px) {
  body{
    transform: scale(0.8);
  margin: 0 auto;
  transform-origin: top left;
  width: 125.11%;    /* compensate for scale (1 / 0.9 ≈ 111%) */
  margin-bottom: -75rem;
  overflow-x: hidden; 
  }
}
/* Large Desktop Styles */
@media (min-width: 1200px) {
    .container {
        padding: 0 40px;
    }
    
    .advertisers-hero {
        padding: 0 4rem;
    }
    
    .why-choose-ads {
        /* margin-bottom: 2rem; */
        padding: 0rem 4rem;
    }
    
    .ad-formats {
        padding: 6rem 4rem;
    }
    
    .industries-section {
        padding: 6rem 4rem;
        gap: 0;
    }
    
    .traffic-volumes {
        padding: 6rem 4rem;
    }
    
    .faq-section {
        padding: 6rem 4rem;
    }
}

/* Extra Large Screens */
@media (min-width: 1400px) {
    .container {
        gap: 4rem;
        max-width: 1400px;
        margin: 0 auto;
        margin-bottom:4rem;
    }
    .industries-section{
        gap: 0;
    }
    .hero-text h1 {
        font-size: 4rem;
    }
    
    .hero-label,
    .hero-highlight {
        font-size: 4rem;
    }
    
    
    .industries-section h2,
    .faq-section h2 {
        font-size: 3.5rem;
        font-weight: 500;
    }
    
    .formats-text h2 {
        font-size: 4.5rem;
    }
    
    .traffic-volumes h2 {
        font-size: 4rem;
    }
}

/* Small Mobile (up to 480px) */
@media (max-width: 480px) {
    .section__heading { font-size: 3rem; }
    .advertisers-hero {
        padding: 1.5rem 0.8rem;
    }
    
    .hero-text h1 {
        font-size: 1.8rem;
    }
    
    .hero-label{
        font-size: 4rem;
    }
    .hero-highlight {
        font-size: 1.2rem;
    }
    
    .hero-text p {
        font-size: 0.9rem;
    }
    
    .hero-btn {
        padding: 0.7rem 1.2rem;
        font-size: 0.85rem;
    }
    
    .why-choose-ads {
        padding: 1.5rem 0.8rem;
    }
    
   
    

    

    .ad-formats {
        padding: 1.5rem 0.8rem;
    }
    
    .formats-text h2 {
        font-size: 1.8rem;
    }
    
    .format-option h4 {
        font-size: 1.3rem;
    }
    
    .industries-section {
        padding: 1.5rem 0.8rem;
    }
    
    .industries-section h2 {
        font-size: 1.8rem;
    }
    
    .industries-section .subtitle {
        font-size: 1.1rem;
    }
    
    .industries-grid {
        width: 100%;
        gap: 1rem;
    }
    
    .industry-item {
        height: 230px;
    }
    
    .industry-icon {
        width: 100px;
        height: 100px;
        font-size: 0.9rem;
    }
    
    .industry-icon img {
        padding: 3px;
    }
    
    .industry-item h3 {
        font-size: 0.95rem;
    }
    
    .traffic-volumes {
        padding: 1.5rem 0.8rem;
    }
    
    .traffic-volumes h2 {
        font-size: 1.8rem;
    }
    
    .table-header,
    .table-row {
        padding: 0.6rem;
        font-size: 0.85rem;
    }
    
    .faq-section {
        padding: 1.5rem 0.8rem;
    }
    
    .faq-section h2 {
        font-size: 1.6rem;
    }
    
    .faq-question {
        padding: 0.8rem;
    }
    
    .faq-number {
        width: 28px;
        height: 28px;
        font-size: 0.75rem;
    }
    
    .faq-question h3 {
        font-size: 0.9rem;
    }
    
    .faq-answer p {
        font-size: 0.85rem;
    }
}

/* Extra Small Mobile (up to 320px) */
@media (max-width: 320px) {
    .advertisers-hero {
        padding: 1rem 0.5rem;
    }
    
    .hero-text h1 {
        font-size: 1.6rem;
    }
    
    .hero-label,
    .hero-highlight {
        font-size: 1.2rem;
    }
    
    .hero-text p {
        font-size: 0.85rem;
    }
    
    .hero-btn {
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
    }
    
   
    

    .formats-text h2 {
        font-size: 1.6rem;
    }
    
    .format-option h4 {
        font-size: 1.2rem;
    }
    
    .industries-section h2 {
        font-size: 1.6rem;
    }
    
    .industries-grid {
        width: 100%;
        padding: 0 0.25rem;
    }
    
    .industry-item {
        height: 210px;
    }
    
    .industry-icon {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }
    
    .industry-icon img {
        padding: 2px;
    }
    
    .industry-item h3 {
        font-size: 0.9rem;
    }
    
    .traffic-volumes h2 {
        font-size: 1.6rem;
    }
    
    .table-header,
    .table-row {
        padding: 0.5rem;
        font-size: 0.8rem;
    }
    
    .faq-section h2 {
        font-size: 1.4rem;
    }
    
    .faq-question h3 {
        font-size: 0.85rem;
    }
    
    .faq-answer p {
        font-size: 0.8rem;
    }
}

/* Landscape Mobile */
@media (max-height: 500px) and (orientation: landscape) {
    .advertisers-hero {
        min-height: auto;
        padding: 2rem 1rem;
    }
    
    .hero-content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
    
    .hero-text h1 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .hero-text p {
        margin-bottom: 1rem;
    }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
   
    .industry-item:hover  {
        transform: none;
    }
    
   
    .industry-item:active {
        transform: rotateY(180deg);
    }
    
    .hero-btn:hover {
        transform: none;
    }
    
    .hero-btn:active {
        transform: translateY(-2px);
    }
    
    .faq-question:hover {
        background: transparent;
    }
    
    .faq-question:active {
        background: #F9FAFB;
    }
    
    /* Ensure cards are properly sized on touch devices */

    .industry-item {
        touch-action: manipulation;
    }
    

    
    /* Disable hover effects on touch devices */
    .hero-visual img:hover,
    .mobile-mockup img:hover,
    .benefit-icon img:hover,
    .industry-icon img:hover {
        transform: none;
    }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .hero-visual img,
    .mobile-mockup img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Print Styles */
@media print {
    .hero-btn,
    .faq-question {
        cursor: default;
    }
    

    
    .faq-item.active .faq-answer {
        display: block !important;
    }
}
