/* ===================================
   ComplyFest 2026 - Responsive Styles
   =================================== */

/* Large Desktop Screens (min-width: 1200px) */
@media screen and (min-width: 1200px) {
    .speakers-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 32px;
    }

    .speaker-image-wrapper {
        height: 420px;
    }

    .speaker-content {
        padding: 30px;
    }

    /* Tracks Grid - 4 columns for desktop */
    .tracks-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 28px;
        max-width: 1400px;
    }

    /* Session Focus Grid - 4 columns for desktop */
    .session-focus-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 28px;
    }

    /* Contact Conversation Section - Large Desktop */
    .contact-methods-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 32px;
    }

    .method-icon {
        width: 75px;
        height: 75px;
    }

    .method-icon i {
        font-size: 34px;
    }
}

/* Extra Large Desktop Screens (min-width: 1440px) */
@media screen and (min-width: 1440px) {
    .speakers-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 32px;
    }

    .speaker-image-wrapper {
        height: 380px;
    }

    /* Tracks Grid - 4 columns */
    .tracks-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 30px;
    }

    /* Session Focus Grid - 4 columns */
    .session-focus-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 30px;
    }

    /* Statistics Section */
    .stats-section {
        padding: 120px 0;
    }

    .stats-grid {
        gap: 80px;
    }

    .stat-number {
        font-size: 5.5rem;
    }

    .stat-item {
        gap: 24px;
        padding: 40px 30px;
        max-width: 280px;
    }

    .stat-description p {
        font-size: 1.2rem;
    }
}

/* Below Laptop Screens (900px - 1199px) */
@media screen and (min-width: 900px) and (max-width: 1199px) {
    /* Hero Section */
    .hero {
        min-height: 100vh;
        min-height: 100dvh;
        height: auto;
        padding: 0 0 70px 0;
    }

    .hero-content {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
        align-items: flex-start;
    }

    .hero-left {
        max-width: 100%;
        padding: 0 15px;
    }

    .hero-right {
        max-width: 100%;
        align-items: flex-start;
        padding: 0 15px;
    }

    .hero-title {
        font-size: 3.5rem;
        line-height: 1.1;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .hero-subtitle {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .hero-cta-buttons {
        flex-wrap: wrap;
        gap: 12px;
    }

    .hero-cta-btn {
        padding: 12px 24px;
        min-height: 45px;
    }

    /* Tracks Grid - 3 columns for below laptop */
    .tracks-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
        max-width: 100%;
    }

    .track-card {
        aspect-ratio: auto;
        min-height: 220px;
        padding: 30px 20px;
    }

    .track-icon {
        width: 60px;
        height: 60px;
        margin: 0 auto 12px;
    }

    .track-icon i {
        font-size: 26px;
    }

    .track-card h3 {
        font-size: 1.1rem;
        margin-bottom: 8px;
    }

    .track-card p {
        font-size: 0.92rem;
        line-height: 1.5;
    }

    /* Session Focus Grid - 3 columns */
    .session-focus-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }

    /* Contact Page - Desktop Small */
    .contact-hero {
        flex-direction: row !important;
        align-items: stretch;
        gap: 2.5rem !important;
    }

    .contact-illustration {
        display: flex !important;
        flex: 0 0 280px;
        max-width: 280px;
    }

    .contact-form-inner {
        flex: 1;
    }

    .form-row {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .contact-form-container {
        padding: 2.5rem !important;
        max-width: 1000px;
    }
}

/* Tablet Screens (768px - 899px) */
@media screen and (min-width: 768px) and (max-width: 899px) {
    .container {
        padding: 0 30px;
    }

    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.75rem; }

    /* Hero Section - Stack vertically on tablets */
    .hero {
        min-height: 100vh;
        min-height: 100dvh;
        height: auto;
        padding: 0 0 60px 0;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .hero-left {
        max-width: 100%;
    }

    .hero-right {
        max-width: 100%;
        align-items: center;
        justify-self: center;
        text-align: justify;
        padding: 0 15px;
    }

    .hero-title {
        font-size: 3.2rem;
        line-height: 1.15;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .hero-subtitle {
        font-size: 1rem;
        line-height: 1.6;
    }

    .hero-cta-buttons {
        justify-content: center;
    }

    /* Tracks Grid - 2 columns for tablets */
    .tracks-grid {
        grid-template-columns: repeat(2, minmax(240px, 1fr));
        gap: 25px;
        max-width: 100%;
    }

    /* Track Card - Optimize for tablets */
    .track-card {
        aspect-ratio: auto;
        min-height: 240px;
        padding: 35px 25px;
    }

    .track-icon {
        width: 65px;
        height: 65px;
        margin: 0 auto 15px;
    }

    .track-icon i {
        font-size: 28px;
    }

    .track-card h3 {
        font-size: 1.15rem;
        margin-bottom: 8px;
    }

    .track-card p {
        font-size: 0.95rem;
        line-height: 1.5;
    }

    /* Statistics Section */
    .stats-section {
        padding: 70px 0;
    }

    .stats-grid {
        gap: 50px;
    }

    .stat-item {
        padding: 25px 20px;
    }

    .stat-number {
        font-size: 3.8rem;
    }

    .stat-description p {
        font-size: 1.05rem;
    }

    /* Statistics Section */
    .stats-section {
        padding: 60px 0;
    }

    .stats-grid {
        flex-direction: column;
        gap: 40px;
    }

    .stat-item {
        max-width: 100%;
        width: 100%;
        padding: 35px 25px;
    }

    .stat-number {
        font-size: 3.5rem;
    }

    .stat-description p {
        font-size: 1.05rem;
    }

    .stat-note {
        font-size: 0.85rem !important;
    }

    /* Event Info Section */
    .event-title {
        font-size: 2.5rem;
    }

    .event-theme {
        font-size: 1.2rem;
    }

    .event-details {
        gap: 30px;
    }

    /* About Stats */
    .about-stats-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    /* Session Focus Section */
    .session-focus-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    /* Attend Sections - 2 columns for tablets */
    .attend-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .attend-image {
        height: 350px;
    }

    .attend-content {
        padding: 30px 0 0 0;
    }

    .attend-title {
        font-size: 1.75rem;
    }

    .attend-description {
        font-size: 0.95rem;
    }

    /* Legacy Why Attend Section */
    .why-attend-content {
        gap: 50px;
    }

    .why-attend-text h2 {
        font-size: 2.2rem;
    }

    .why-attend-image img {
        height: 400px;
    }

    /* Who Attends Section */
    .attendees-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .media-badge {
        gap: 25px;
        padding: 30px 35px;
    }

    .media-badge > i {
        font-size: 40px;
    }

    /* Media Coverage Section */
    .media-coverage-content h2 {
        font-size: 2.5rem;
    }

    .media-coverage-content p {
        font-size: 1.2rem;
    }

    /* Sponsors Section */
    .sponsors-section {
        padding: 80px 0;
    }

    .sponsors-marquee::before,
    .sponsors-marquee::after {
        width: 64px;
    }

    .sponsors-marquee-track {
        animation-duration: 28s;
    }

    .sponsor-logo-card--marquee {
        width: 190px;
        max-width: 190px;
        height: 124px;
        padding: 24px;
    }

    .sponsors-logos-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 25px;
        margin-top: 50px;
    }

    .sponsor-logo-card {
        height: 130px;
        padding: 30px;
    }

    .sponsor-cta {
        margin-top: 60px;
        padding: 50px 30px;
    }

    .sponsor-cta h3 {
        font-size: 1.75rem;
    }

    .sponsor-cta p {
        font-size: 1rem;
    }

    /* Ticketing Section */
    .tickets-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    /* Speakers Section - Desktop/Tablet */
    .speakers-section {
        padding: 100px 0;
    }

    .speakers-section .section-header {
        margin-bottom: 70px;
    }

    .speakers-heading {
        font-size: 3.5rem;
        line-height: 3.5rem;
    }

    .speakers-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .speaker-image-wrapper {
        height: 400px;
    }

    .speaker-content {
        padding: 28px;
    }

    .speaker-name {
        font-size: 1.5rem;
    }

    .speaker-title {
        font-size: 1rem;
    }

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

    /* Contact Page - Tablet */
    .contact-hero {
        flex-direction: row !important;
        align-items: stretch;
        gap: 2rem !important;
    }

    .contact-illustration {
        display: flex !important;
        flex: 0 0 240px;
        max-width: 240px;
    }

    .contact-form-inner {
        flex: 1;
    }

    .form-row {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .contact-form-container {
        padding: 2rem !important;
    }

    .page-header h1 {
        font-size: 2.5rem;
    }

    /* Contact Form Button - Tablet */
    .btn-primary {
        padding: 17px 36px !important;
        font-size: 1.05rem !important;
        min-height: 56px !important;
        max-width: 500px !important;
        margin: 0 auto !important;
    }

    /* Contact Conversation Section - Tablet */
    .contact-conversation-section {
        padding: 80px 0;
    }

    .conversation-title.speakers-heading {
        font-size: 2.5rem;
    }

    .conversation-subtitle {
        font-size: 1.1rem;
    }

    .page-header .speakers-heading {
        font-size: 2.75rem;
    }

    .contact-methods-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .social-card {
        grid-column: 1 / -1;
    }

    .social-media-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Tablet Navigation (768px - 1093px) */
@media screen and (min-width: 768px) and (max-width: 1093px) {
    .navbar .container {
        gap: 8px;
        padding: 10px 14px;
        justify-content: flex-start;
    }

    /* Show theme on tablets, but make it smaller */
    .navbar-theme {
        display: flex;
    }

    .theme-text {
        font-size: 0.65rem;
    }

    /* Hide divider on tablet */
    .navbar-divider {
        display: none;
    }

    /* Show compact event info on tablets */
    .navbar-event-info {
        display: flex;
        order: 2;
        margin-left: auto;
        margin-right: 12px;
    }

    .event-date {
        font-size: 0.8rem;
    }

    .event-venue,
    .event-location {
        font-size: 0.7rem;
    }

    .navbar-logo {
        order: 1;
    }

    .nav-toggle {
        order: 3;
    }

    .nav-menu {
        order: 4;
    }
}

/* Mobile Navigation (max-width: 1093px) */
@media screen and (max-width: 1093px) {
    /* Navigation */
    .navbar {
        padding: 1rem;
    }

    .navbar .container {
        max-width: 500px;
        padding: 8px 12px;
        border-radius: 20px;
        flex-wrap: wrap;
        gap: 8px;
        row-gap: 0;
        justify-content: flex-start;
    }

    /* Keep all elements visible and horizontal */
    .navbar-logo {
        order: 1;
        flex-shrink: 0;
        width: 30px;
        height: 30px;
        overflow: hidden;
    }

    .navbar-logo img {
        height: 30px;
        width: 30px;
        max-width: 30px;
        max-height: 30px;
        object-fit: contain;
        display: block;
    }

    /* Keep theme visible but smaller */
    .navbar-theme {
        display: flex;
        order: 2;
        flex-shrink: 0;
    }

    .logo-text {
        font-size: 0.7rem;
        font-weight: 700;
    }

    .theme-text {
        font-size: 0.55rem;
        line-height: 1.1;
    }

    /* Keep divider visible but shorter */
    .navbar-divider {
        display: block;
        height: 30px;
        order: 3;
        flex-shrink: 0;
        margin: 0 4px;
    }

    /* Keep event info visible but smaller */
    .navbar-event-info {
        display: flex;
        order: 4;
        flex-shrink: 1;
        min-width: 0;
    }

    .event-date {
        font-size: 0.7rem;
    }

    .event-date sup {
        font-size: 0.5rem;
    }

    .event-venue,
    .event-location {
        font-size: 0.6rem;
    }

    /* Hamburger on the far right */
    .nav-toggle {
        display: flex;
        order: 5;
        margin-left: auto;
        flex-shrink: 0;
        padding: 8px 12px;
    }

    /* Nav menu below everything */
    .nav-menu {
        position: static;
        flex-direction: column;
        width: 100%;
        padding: 0;
        margin: 0;
        border-radius: 20px;
        box-shadow: none;
        border: 0;
        background: transparent;
        overflow: hidden;
        max-height: 0;
        transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        order: 6;
    }

    .nav-menu.active {
        max-height: 900px;
        padding-top: 20px;
        overflow-y: auto;
        overflow-x: hidden;
        scrollbar-width: thin;
        scrollbar-color: rgba(255,255,255,0.3) transparent;
    }

    /* Custom Scrollbar for Active Nav Menu */
    .nav-menu.active::-webkit-scrollbar {
        width: 6px;
        display: block;
    }

    .nav-menu.active::-webkit-scrollbar-track {
        background: rgba(255, 255, 255, 0.05);
        border-radius: 10px;
        margin: 10px 0;
    }

    .nav-menu.active::-webkit-scrollbar-thumb {
        background: linear-gradient(135deg, rgba(244, 162, 31, 0.8), rgba(244, 162, 31, 0.5));
        border-radius: 10px;
        transition: all 0.3s ease;
    }

    .nav-menu.active::-webkit-scrollbar-thumb:hover {
        background: linear-gradient(135deg, rgba(244, 162, 31, 1), rgba(244, 162, 31, 0.7));
        box-shadow: 0 0 10px rgba(244, 162, 31, 0.5);
    }

    .nav-menu li {
        width: 100%;
        margin-bottom: 0;
    }

    .nav-menu li:not(:last-child) a {
        display: block;
        padding: 0.9rem 0;
        font-size: 1rem;
        opacity: 1;
        color: #ffffff;
        transition: color 0.3s ease;
    }

    .nav-menu li:not(:last-child) a:hover {
        color: var(--secondary-color);
    }

    /* ============================================
       MOBILE DROPDOWN NAVIGATION - Enhanced v2.0
       ============================================ */
    
    /* Disable all hover effects on mobile */
    * {
        -webkit-tap-highlight-color: transparent;
    }
    
    /* Dropdown Container */
    .nav-dropdown {
        position: relative;
        width: 100%;
    }

    /* Hide desktop hover elements on mobile */
    .nav-dropdown::before,
    .nav-dropdown::after {
        display: none !important;
    }

    /* Parent Link Styling */
    .nav-dropdown > a {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        padding: 0.9rem 0;
        color: #ffffff;
        font-weight: 500;
        font-size: 1rem;
        letter-spacing: 0.3px;
        opacity: 1;
        transition: color 0.3s ease;
        position: relative;
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
    }

    /* Dropdown Arrow Icon */
    .nav-dropdown .dropdown-arrow {
        font-size: 0.75rem !important;
        margin-left: auto;
        padding-left: 6px;
        opacity: 0.8;
        transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        pointer-events: none;
    }

    /* Rotate arrow when dropdown is active */
    .nav-dropdown.active .dropdown-arrow {
        transform: rotate(180deg);
        opacity: 1;
    }

    /* Dropdown Menu Container */
    /* Use max-height + visibility transition — no display:none so transitions work */
    .dropdown-menu {
        display: block;
        width: 100%;
        max-height: 0;
        overflow: hidden;
        position: static;
        padding: 0;
        opacity: 0;
        visibility: hidden;
        transition:
            max-height 0.38s cubic-bezier(0.4, 0, 0.2, 1),
            padding    0.38s cubic-bezier(0.4, 0, 0.2, 1),
            opacity    0.3s ease,
            visibility 0.3s ease;
        pointer-events: none;
        touch-action: manipulation;
    }

    /* Active State — reveal dropdown smoothly */
    .nav-dropdown.active .dropdown-menu {
        max-height: 320px;
        padding: 6px;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    /* Dropdown List Items */
    .dropdown-menu li {
        list-style: none;
        padding: 0;
        margin: 0;
        width: 100%;
    }

    /* Dropdown Links */
    .dropdown-menu li a {
        display: flex !important;
        align-items: center;
        gap: 10px;
        
        /* Spacing - REDUCED */
        padding: 10px 14px !important;
        margin: 2px 0;
        
        /* Typography */
        font-size: 0.95rem !important;
        font-weight: 600 !important;
        color: #ffffff !important;
        letter-spacing: 0.2px;
        
        /* Border effect */
        border-left: 3px solid transparent;
        
        /* Transition */
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        
        opacity: 0.9;
    }

    /* Dropdown Link Icons */
    .dropdown-menu li a i {
        font-size: 0.85rem;
        color: var(--secondary-color);
        opacity: 0.95;
        transition: all 0.3s ease;
        flex-shrink: 0;
    }

    /* Active/Touch State for Dropdown Links - NO HOVER ON MOBILE */
    .dropdown-menu li a:active {
        background: linear-gradient(
            90deg,
            rgba(244, 162, 31, 0.28),
            rgba(244, 162, 31, 0.18)
        );
        border-left-color: var(--secondary-color);
        color: #ffffff !important;
        opacity: 1;
        transform: translateX(4px);
        box-shadow: 0 2px 8px rgba(244, 162, 31, 0.15);
    }

    /* Active state for icons */
    .dropdown-menu li a:active i {
        color: var(--secondary-color);
        opacity: 1;
        transform: scale(1.1) translateX(2px);
    }

    /* ============================================
       END MOBILE DROPDOWN NAVIGATION
       ============================================ */

    .btn-register {
        width: 100%;
        text-align: center;
        padding: 12px 24px;
    }
}

/* Mobile Navigation & General Mobile Styles (max-width: 767px) */
@media screen and (max-width: 767px) {
    /* Navigation styles inherited from above */

    /* Hero Section */
    .hero {
        min-height: 100vh;
        min-height: 100dvh;
        height: auto;
    }

    .hero .container {
        padding: 0 20px;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 1px;
        text-align: left;
        align-items: flex-start;
    }

    .hero-left {
        max-width: 100%;
        justify-self: start;
    }

    .hero-right {
        align-items: flex-start;
        justify-self: start;
    }

    .hero-meta {
        flex-direction: row;
        gap: 12px;
    }

    .meta-badge {
        width: fit-content;
    }

    .hero-title {
        font-size: 5rem;
        letter-spacing: -0.03em;
    }

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

    .hero-subtitle span {
        display: none;
    }

    .hero-actions {
        flex-direction: row;
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .hero-actions {
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
    }

    .hero-cta-buttons {
        display: flex;
        flex-direction: row;
        gap: 10px;
        flex-wrap: nowrap;
        width: 100%;
        overflow-x: auto;
    }

    .hero-cta-btn {
        padding: 12px 20px;
        font-size: 0.9rem;
        white-space: nowrap;
        flex-shrink: 0;
    }

    .hero-cta-btn i {
        font-size: 16px;
    }

    .cta-main,
    .cta-duplicate {
        font-size: 0.9rem;
    }

    /* Event Info Section */
    .event-info-section {
        padding: 60px 0;
    }

    .event-title {
        font-size: 2.2rem;
    }

    .event-theme {
        font-size: 1.1rem;
        margin-bottom: 30px;
    }

    /* About Stats */
    .about-stats-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 40px;
    }

    .stat-card {
        padding: 25px 20px;
        gap: 20px;
    }

    .stat-icon {
        width: 60px;
        height: 60px;
    }

    .stat-icon i {
        font-size: 28px;
    }

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

    .stat-content p {
        font-size: 0.9rem;
    }

    /* Tracks Section */
    .tracks-section {
        padding: 60px 0;
    }

    .tracks-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 30px;
    }

    .track-card {
        padding: 30px 20px;
        aspect-ratio: auto;
        min-height: 200px;
    }

    .track-icon {
        width: 55px;
        height: 55px;
        margin: 0 auto 12px;
    }

    .track-icon i {
        font-size: 22px;
    }

    .track-card h3 {
        font-size: 1rem;
        margin-bottom: 6px;
    }

    .track-card p {
        font-size: 0.9rem;
        line-height: 1.5;
    }

    /* Session Focus Section */
    .session-focus-section {
        padding: 60px 0;
    }

    .session-focus-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 30px;
    }

    .focus-card {
        padding: 30px 25px;
    }

    .focus-bg-icon {
        width: 80px;
        height: 80px;
        top: 15px;
        right: 15px;
    }

    .focus-bg-icon i {
        font-size: 60px;
    }

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

    .focus-content p {
        font-size: 0.95rem;
    }

    /* Speakers Section - Tablet */
    .speakers-section {
        padding: 80px 0;
    }

    .speakers-section .section-header {
        margin-bottom: 60px;
    }

    .speakers-heading {
        font-size: 3rem;
        line-height: 3rem;
    }

    .speakers-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .speaker-image-wrapper {
        height: 380px;
    }

    .speaker-content {
        padding: 24px;
    }

    .speaker-name {
        font-size: 1.375rem;
    }

    .speaker-title {
        font-size: 0.9375rem;
    }

    /* Attend Sections - 1 column for mobile */
    .attend-sections {
        padding: 60px 0;
    }

    .attend-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .attend-image {
        height: 300px;
    }

    .attend-content {
        padding: 25px 0 0 0;
    }

    .attend-title {
        font-size: 1.5rem;
    }

    .attend-description {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }

    .btn-learn-more {
        padding: 12px 24px;
        font-size: 0.9rem;
        width: 100%;
        justify-content: center;
    }

    /* Why Attend Section */
    .why-attend-section {
        padding: 60px 0;
    }

    .why-attend-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .why-attend-text h2 {
        font-size: 2rem;
    }

    .why-attend-text p {
        font-size: 1rem;
    }

    .why-attend-text .highlight-text {
        font-size: 1.1rem;
    }

    .why-attend-features {
        grid-template-columns: 1fr;
        gap: 15px;
        margin-bottom: 30px;
    }

    .btn-attend {
        width: 100%;
        justify-content: center;
        padding: 14px 30px;
        font-size: 1rem;
    }

    .why-attend-image {
        order: -1;
    }

    .why-attend-image img {
        height: 350px;
    }

    /* Who Attends Section */
    .who-attends-section {
        padding: 60px 0;
    }

    .who-attends-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .attendees-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .attendee-card {
        padding: 25px 15px;
    }

    .attendee-icon {
        width: 50px;
        height: 50px;
    }

    .attendee-icon i {
        font-size: 20px;
    }

    .attendee-card h3 {
        font-size: 0.95rem;
    }

    .media-passes-cta {
        margin-top: 40px;
    }

    .media-badge {
        flex-direction: column;
        text-align: center;
        gap: 20px;
        padding: 30px 25px;
    }

    .media-badge > i {
        font-size: 45px;
    }

    /* Previous COMPLYFEST Gallery */
    .gallery-carousel {
        padding: 0 50px;
        width: 100%;
        box-sizing: border-box;
    }

    .gallery-slide {
        height: 450px;
        min-height: 350px;
        max-height: 450px;
        background: #000000;
        width: 100%;
        max-width: 100%;
    }

    .gallery-slide img {
        object-fit: contain;
        max-width: 100%;
        max-height: 100%;
    }

    .slide-caption h4 {
        font-size: 1.8rem;
    }

    .slide-caption p {
        font-size: 1rem;
    }

    .carousel-btn {
        width: 50px;
        height: 50px;
        font-size: 1rem;
    }

    .gallery-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
        margin-top: 60px;
    }

    .gallery-stat-item .stat-number {
        font-size: 2.5rem;
    }

    .media-content h3 {
        font-size: 1.4rem;
    }

    .media-content p {
        font-size: 0.95rem;
    }

    .btn-media {
        width: 100%;
        justify-content: center;
    }

    .conference-overview-section {
        padding: 70px 0;
    }

    .conference-overview-main-header {
        margin-bottom: 24px;
    }

    .conference-overview-box {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 32px 28px;
        border-radius: 20px;
    }

    .conference-overview-image {
        max-width: 300px;
    }

    .conference-overview-content p {
        font-size: 1rem;
        line-height: 1.75;
    }

    /* Media Coverage Section */
    .media-coverage-section {
        padding: 60px 0;
    }

    .media-icon-large {
        width: 100px;
        height: 100px;
        margin-bottom: 25px;
    }

    .media-icon-large i {
        font-size: 40px;
    }

    .media-coverage-content h2 {
        font-size: 2rem;
    }

    .media-coverage-content p {
        font-size: 1.1rem;
        margin-bottom: 30px;
    }

    .btn-media-pass {
        width: 100%;
        max-width: 350px;
        justify-content: center;
        padding: 16px 35px;
        font-size: 1rem;
    }

    /* Sponsors Section */
    .sponsors-section {
        padding: 60px 0;
    }

    .sponsors-marquee {
        padding: 8px 0;
    }

    .sponsors-marquee::before,
    .sponsors-marquee::after {
        width: 42px;
    }

    .sponsors-marquee-group {
        gap: 14px;
        padding-right: 14px;
    }

    .sponsors-marquee-track {
        animation-duration: 22s;
    }

    .sponsor-logo-card--marquee {
        width: 150px;
        max-width: 150px;
        height: 102px;
        padding: 18px;
    }

    .sponsors-logos-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        margin-top: 40px;
    }

    .sponsor-logo-card {
        height: 120px;
        padding: 25px;
    }

    .sponsor-cta {
        margin-top: 50px;
        padding: 40px 20px;
    }

    .sponsor-cta h3 {
        font-size: 1.5rem;
    }

    .sponsor-cta p {
        font-size: 0.95rem;
        margin-bottom: 25px;
    }

    .btn-sponsor {
        width: 100%;
        justify-content: center;
    }

    /* Ticketing Section */
    .ticketing-section {
        padding: 60px 0;
    }

    .tickets-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 30px;
    }

    .ticket-card {
        padding: 35px 25px;
    }

    .ticket-card h3 {
        font-size: 1.5rem;
    }

    .current-price {
        font-size: 2rem;
    }

    .original-price {
        font-size: 1.2rem;
    }

    .ticket-features li {
        font-size: 0.9rem;
    }

    .btn-ticket {
        padding: 14px 25px;
        font-size: 1rem;
    }

    .hero-date,
    .hero-location {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.5rem; }

    /* Grids */
    .about-grid,
    .speakers-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    /* Newsletter */
    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form input,
    .newsletter-form button {
        width: 100%;
    }

    /* Forms */
    .form-row {
        grid-template-columns: 1fr;
    }

    /* Registration */
    .pricing-cards {
        grid-template-columns: 1fr !important;
    }

    .registration-container {
        grid-template-columns: 1fr !important;
    }

    /* Contact Page Responsive */
    .contact-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 1.5rem !important;
    }

    .contact-hero {
        flex-direction: column !important;
        gap: 1rem !important;
    }

    /* Hide illustration on mobile for better focus */
    .contact-illustration {
        display: none !important;
    }

    .contact-form-container {
        padding: 1.25rem !important;
    }

    .form-row {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }

    /* Larger touch targets for mobile */
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 16px 18px !important;
        font-size: 16px !important; /* Prevent iOS zoom */
        min-height: 48px !important;
    }

    .btn-primary {
        padding: 16px 28px !important;
        font-size: 1rem !important;
        min-height: 54px !important;
        width: 100% !important;
        border-radius: 50px !important;
        background: linear-gradient(135deg, #E43227 0%, #944221 100%) !important;
        box-shadow: 0 6px 16px rgba(228, 50, 39, 0.4), 0 2px 4px rgba(0, 0, 0, 0.3) !important;
    }

    .btn-primary:hover {
        transform: translateY(-2px) !important;
    }

    .checkmark {
        width: 24px !important;
        height: 24px !important;
        flex-shrink: 0;
    }

    .checkbox-label {
        gap: 1rem !important;
        font-size: 0.95rem !important;
    }

    /* Page Header */
    .page-header {
        padding: 100px 0 40px;
    }

    .page-header h1 {
        font-size: 2.25rem;
        line-height: 1.2;
    }

    .page-header p {
        font-size: 1.05rem;
        padding: 0 1rem;
    }

    /* Contact Conversation Section - Mobile */
    .contact-conversation-section {
        padding: 60px 0 !important;
    }

    .conversation-header {
        margin-bottom: 40px !important;
    }

    .conversation-badge {
        font-size: 0.75rem !important;
        padding: 6px 16px !important;
    }

    .conversation-title.speakers-heading {
        font-size: 1.75rem !important;
        line-height: 1.2 !important;
        padding: 0 1rem;
    }

    .conversation-subtitle {
        font-size: 1rem !important;
        padding: 0 1rem;
    }

    .page-header .speakers-heading {
        font-size: 2rem !important;
        line-height: 1.2 !important;
    }

    .page-header .section-description {
        font-size: 1rem !important;
        padding: 0 1rem;
    }

    .contact-methods-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    .contact-method-card {
        padding: 32px 24px !important;
    }

    .method-icon {
        width: 60px !important;
        height: 60px !important;
    }

    .method-icon i {
        font-size: 28px !important;
    }

    .method-title {
        font-size: 1.5rem !important;
    }

    .method-description {
        font-size: 0.95rem !important;
    }

    .social-media-grid {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
    }

    .social-btn {
        padding: 14px 18px !important;
        font-size: 0.9rem !important;
    }

    .social-btn i {
        font-size: 1.2rem !important;
    }

    /* Speakers Section - Mobile */
    .speakers-section {
        padding: 60px 0;
    }

    .speakers-section .section-header {
        margin-bottom: 50px;
        padding: 0 20px;
    }

    .speakers-heading {
        font-size: 2.375rem;
        line-height: 2.375rem;
    }

    .speakers-section .section-description {
        font-size: 1rem;
        line-height: 1.4;
    }

    .speakers-grid {
        padding: 0 20px;
        gap: 20px;
        grid-template-columns: 1fr;
    }

    .speaker-card {
        width: 100%;
    }

    .speaker-image-wrapper {
        height: 340px;
    }

    .speaker-content {
        padding: 20px;
    }

    .speaker-name {
        font-size: 1.25rem;
    }

    .speaker-title {
        font-size: 0.875rem;
    }
}

/* Small Mobile Screens (max-width: 480px) */
@media screen and (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-left {
        padding: 0;
    }

    .hero-right {
        padding: 0;
    }

    .hero-title {
        font-size: 2.8rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }

    .hero-subtitle {
        font-size: 0.8rem;
    }

    /* Event Details - Vertical on Mobile Only */
    .event-details {
        gap: 15px;
        flex-direction: column;
    }

    .event-detail-item {
        font-size: 1rem;
        padding: 12px 24px;
        width: 100%;
        max-width: 300px;
    }

    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.25rem; }

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    /* Contact Form Button - Small Mobile */
    .btn-primary {
        padding: 15px 24px !important;
        font-size: 0.95rem !important;
        min-height: 52px !important;
        width: 100% !important;
        letter-spacing: 0.3px !important;
    }

    .btn-primary .btn-text {
        font-size: 0.95rem;
    }

    .btn-primary .btn-icon {
        font-size: 0.9rem;
    }

    /* Contact Conversation - Extra Small Mobile */
    .conversation-title.speakers-heading {
        font-size: 1.5rem !important;
    }

    .conversation-subtitle {
        font-size: 0.9rem !important;
    }

    .page-header .speakers-heading {
        font-size: 1.75rem !important;
    }

    .method-title {
        font-size: 1.35rem !important;
    }

    .detail-value {
        font-size: 0.95rem !important;
    }

    .about-card,
    .speaker-card {
        padding: 1.5rem;
    }

    .footer {
        padding: 0;
    }
    
    .footer-newsletter {
        padding: 50px 0 40px;
    }
    
    .footer-main {
        padding: 40px 0 30px;
    }

    /* Previous COMPLYFEST Gallery */
    .previous-complyfest-section {
        padding: 60px 0;
    }

    .gallery-carousel {
        padding: 0 15px;
        width: 100%;
        box-sizing: border-box;
    }

    .carousel-container {
        border-radius: 20px;
    }

    .gallery-slide {
        height: 350px;
        min-height: 280px;
        max-height: 350px;
        background: #000000;
        width: 100%;
        max-width: 100%;
    }

    .gallery-slide img {
        object-fit: contain;
        max-width: 100%;
        max-height: 100%;
    }

    .slide-overlay {
        padding: 40px 25px 25px;
    }

    .slide-caption h4 {
        font-size: 1.5rem;
    }

    .slide-caption p {
        font-size: 0.9rem;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }

    .prev-btn {
        left: -5px;
    }

    .conference-overview-section {
        padding: 55px 0;
    }

    .conference-overview-main-header {
        margin-bottom: 20px;
    }

    .conference-overview-box {
        gap: 18px;
        padding: 24px 20px;
        border-radius: 16px;
    }

    .conference-overview-image {
        max-width: 240px;
    }

    .conference-overview-content {
        gap: 14px;
    }

    .conference-overview-content p {
        font-size: 0.95rem;
        line-height: 1.7;
    }

    .conference-overview-lead {
        font-size: 1.02rem;
    }

    .next-btn {
        right: -5px;
    }

    .carousel-indicators {
        gap: 8px;
        margin-top: 20px;
    }

    .indicator {
        width: 8px;
        height: 8px;
    }

    .indicator.active {
        width: 24px;
    }

    .gallery-stats {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 40px;
    }

    .gallery-stat-item {
        padding: 25px 15px;
    }

    .gallery-stat-item .stat-number {
        font-size: 2rem;
    }

    .gallery-stat-item .stat-label {
        font-size: 0.9rem;
    }

    /* Newsletter Section */
    .newsletter-section {
        padding: 60px 0;
    }

    .newsletter-heading {
        font-size: 2.5rem;
    }

    .newsletter-description {
        font-size: 1.1rem;
    }

    .newsletter-form {
        flex-direction: column;
        margin: 30px auto 20px;
    }

    .form-input-wrapper {
        min-width: 100%;
    }

    .btn-newsletter {
        width: 100%;
        justify-content: center;
    }

    /* Footer */
    .footer {
        padding: 0;
    }
    
    .footer-newsletter {
        padding: 60px 0;
    }
    
    .newsletter-icon {
        width: 80px;
        height: 80px;
        margin: 0 auto 30px;
    }
    
    .newsletter-icon i {
        font-size: 2.5rem;
    }

    .newsletter-icon {
        width: 60px;
        height: 60px;
        margin: 0 auto 20px;
    }
    
    .newsletter-icon i {
        font-size: 1.8rem;
    }
    
    .newsletter-heading {
        font-size: 2rem;
        margin-bottom: 15px;
    }
    
    .newsletter-description {
        font-size: 1rem;
        margin-bottom: 30px;
    }
    
    .footer-main {
        padding: 30px 0 20px;
    }

    .footer-sections-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-icon {
        width: 60px;
        height: 60px;
        margin: 0 auto 20px;
    }
    
    .contact-icon i {
        font-size: 1.8rem;
    }
    
    .contact-heading {
        font-size: 2rem;
        margin-bottom: 15px;
    }
    
    .contact-description {
        font-size: 1rem;
        margin-bottom: 30px;
    }

    .contact-links {
        flex-direction: column;
    }

    .btn-contact {
        width: 100%;
        justify-content: center;
    }

    .contact-item {
        font-size: 0.9rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-brand {
        max-width: 100%;
    }

    .footer-bottom-content {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -webkit-flex-direction: column;
        -ms-flex-direction: column;
        flex-direction: column;
        
        -webkit-box-align: center;
        -webkit-align-items: center;
        -ms-flex-align: center;
        align-items: center;
        
        -webkit-box-pack: center;
        -webkit-justify-content: center;
        -ms-flex-pack: center;
        justify-content: center;
        
        text-align: center;
        gap: 15px;
    }
    
    .copyright,
    .footer-legal,
    .footer-credit {
        -webkit-box-flex: 0;
        -webkit-flex: 0 0 auto;
        -ms-flex: 0 0 auto;
        flex: 0 0 auto;
        width: 100%;
        text-align: center;
    }

    .footer-legal {
        -webkit-flex-wrap: wrap;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        
        -webkit-box-pack: center;
        -webkit-justify-content: center;
        -ms-flex-pack: center;
        justify-content: center;
    }
}

/* Extra Small Screens - Below 370px */
@media screen and (max-width: 400px) {
    /* Hide menu text on very small screens */
    .nav-toggle .menu-text {
        display: none;
    }
    
    /* Adjust nav toggle padding when text is hidden */
    .nav-toggle {
        padding: 10px 12px;
        gap: 0;
    }
    
    /* Center the hamburger icon */
    .hamburger-icon {
        margin: 0 auto;
    }
    
    /* Reduce logo size on very small screens */
    .logo img {
        height: 35px;
    }
    
    .logo span {
        font-size: 1rem;
    }
    
    /* Adjust container padding */
    .container {
        padding: 0 15px;
    }
}

/* Print Styles */
@media print {
    .header,
    .footer,
    .hero-buttons,
    .btn,
    .newsletter-section,
    .nav-toggle {
        display: none;
    }

    body {
        color: black;
        background: white;
    }

    a {
        text-decoration: underline;
    }
}

/* High DPI Screens */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    /* Optimize images and icons for retina displays */
    .logo img {
        image-rendering: -webkit-optimize-contrast;
    }
}

/* Desktop and Laptop Hero Optimization (1025px and above) */
@media screen and (min-width: 1025px) {
    .hero {
        min-height: 100vh;
        min-height: 100dvh;
        height: 100vh;
        height: 100dvh;
        padding: 0 0 60px 0;
    }

    .hero-content {
        max-height: 65vh;
        max-height: 65dvh;
        display: grid;
        grid-template-columns: 1fr auto;
        gap: 60px;
        align-items: flex-start;
        justify-content: space-between;
        overflow: visible;
    }

    .hero-left {
        max-width: 700px;
        justify-self: start;
        display: flex;
        flex-direction: column;
    }

    .hero-right {
        max-width: 500px;
        display: flex;
        flex-direction: column;
        gap: 20px;
        align-items: flex-end;
        justify-self: end;
        max-height: 100%;
    }

    .hero-title {
        font-size: 4rem;
        line-height: 1.1;
    }

    .hero-subtitle {
        font-size: 1rem;
        line-height: 1.6;
        overflow: visible;
    }

    .hero-cta-buttons {
        margin-bottom: 0;
    }
}

/* Large Desktop Optimization (1440px and above) */
@media screen and (min-width: 1440px) {
    .hero-content {
        max-height: 65vh;
        max-height: 65dvh;
        gap: 80px;
    }

    .hero-left {
        max-width: 800px;
    }

    .hero-right {
        max-width: 550px;
    }

    .hero-title {
        font-size: 4.5rem;
        line-height: 1.15;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        line-height: 1.6;
    }
}

/* Ultra-wide Desktop (1920px and above) */
@media screen and (min-width: 1920px) {
    .hero .container {
        max-width: 1400px;
        margin: 0 auto;
        padding: 0 40px;
    }

    .hero-content {
        max-height: 60vh;
        max-height: 60dvh;
        gap: 100px;
    }

    .hero-left {
        max-width: 900px;
    }

    .hero-right {
        max-width: 600px;
    }

    .hero-title {
        font-size: 5rem;
    }
}

/* Dark Mode Support (Optional) */
@media (prefers-color-scheme: dark) {
    /* 
    Uncomment to enable dark mode
    :root {
        --bg-white: #1f2937;
        --bg-light: #111827;
        --text-dark: #f9fafb;
        --text-light: #d1d5db;
        --border-color: #374151;
    }
    */
}

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

