/* Font Face Declarations */
@font-face {
    font-family: 'SnapsAI';
    src: url('fonts/PingLCG-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'SnapsAI';
    src: url('fonts/PingLCG-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'SnapsAI';
    src: url('fonts/PingLCG-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'SnapsAI';
    src: url('fonts/PingLCG-Black.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
}

@font-face {
    font-family: 'SnapsAI';
    src: url('fonts/PingLCG-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}

/* CSS Variables */
:root {
    --primary-color: #2D0088;
    --primary-dark: #2D0088;
    --secondary-color: #f8f9fa;
    --text-dark: #2d3748;
    --text-light: #718096;
    --white: #ffffff;
    --border-light: #e2e8f0;
    --shadow-light: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-large: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --gradient-primary: linear-gradient(135deg, #2D0088 0%, #4a0099 100%);
    --gradient-text: linear-gradient(135deg, #2D0088 0%, #4a0099 100%);
    --font-family: 'SnapsAI', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
    font-weight: 900;
}

h2 {
    font-size: 2.5rem;
    font-weight: 700;
}

h3 {
    font-size: 1.875rem;
    font-weight: 600;
}

p {
    margin-bottom: 1rem;
    color: var(--text-light);
    line-height: 1.7;
}

.gradient-text {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Marker Text Effect for Egypt - SVG Brush-1 Golden */
.marker-text {
    position: relative;
    display: inline-block;
    color: var(--text-dark) !important;
    font-weight: 900;
    padding: 0.2em 0.5em;
    background: 
        url("https://s2.svgbox.net/pen-brushes.svg?ic=brush-8&color=ffd700");
    background-size: 100% 100%, 40px 100%;
    background-blend-mode: multiply;
    border-radius: 4px;
    transform: rotate(-0.3deg);
    z-index: 1;
}

.marker-text::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -2px;
    right: -2px;
    bottom: -1px;
    background: 
        url("https://s2.svgbox.net/pen-brushes.svg?ic=brush-8&color=ffe55c");
    background-size: 100% 100%, 42px 100%;
    background-blend-mode: multiply;
    border-radius: 5px;
    z-index: -1;
    opacity: 0.6;
}

/* Remove complex animations - keep it simple */

/* Egyptian Flag Colors for "Egypt" */
.egypt-red {
    color: #CE1126 !important;
    -webkit-text-fill-color: #CE1126 !important;
    background: none !important;
    font-weight: 900;
    text-shadow: 0 2px 4px rgba(206, 17, 38, 0.3);
}

.egypt-white {
    color: #FFFFFF !important;
    -webkit-text-fill-color: #FFFFFF !important;
    background: none !important;
    font-weight: 900;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.egypt-black {
    color: #000000 !important;
    -webkit-text-fill-color: #000000 !important;
    background: none !important;
    font-weight: 900;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    min-width: 160px;
}

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

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-large);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 40px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-light);
    z-index: 1000;
    padding: 0.5rem 0 0 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 70px;
}

.nav-logo {
    line-height: 0;
}

.nav-logo .logo {
    height: 60px;
    width: auto;
    display: block;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    line-height: 1;
}

.nav-link:hover {
    color: var(--primary-color);
}

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

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

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 20px;
    background: linear-gradient(135deg, rgba(45, 0, 136, 0.05) 0%, rgba(255, 255, 255, 1) 100%);
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    min-height: 80vh;
}

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

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

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    color: var(--text-light);
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-visual {
    position: relative;
    height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.floating-card {
    position: absolute;
    background: var(--white);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--shadow-large);
    border: 1px solid var(--border-light);
    animation: float 6s ease-in-out infinite;
    width: 200px;
    height: 240px;
    transition: all 0.3s ease;
    z-index: 1;
    cursor: pointer;
}

.floating-card:hover {
    z-index: 10;
    transform: translateY(-10px) scale(1.05);
    box-shadow: var(--shadow-large), 0 20px 40px rgba(45, 0, 136, 0.15);
    animation-play-state: paused;
}

.floating-card:nth-child(1) {
    top: 10%;
    left: 40%;
}

.floating-card:nth-child(2) {
    top: 35%;
    left: 10%;
    animation-delay: -2s;
}

.floating-card:nth-child(3) {
    top: 35%;
    left: 70%;
    animation-delay: -4s;
}

.floating-card:nth-child(4) {
    top: 65%;
    left: 20%;
    animation-delay: -1s;
}

.floating-card:nth-child(5) {
    top: 65%;
    left: 60%;
    animation-delay: -3s;
}

.card-content {
    text-align: center;
    transition: all 0.3s ease;
}

.floating-card:hover .card-content h3 {
    color: var(--primary-color);
    transform: scale(1.1);
}

.floating-card:hover .ai-icon {
    transform: scale(1.2);
    filter: drop-shadow(0 4px 8px rgba(45, 0, 136, 0.3));
}

.ai-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.card-content h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.card-content p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 0;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

/* About Section */
.about {
    padding: 6rem 0;
    background: var(--secondary-color);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h3 {
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.about-text p {
    margin-bottom: 1.5rem;
}

.stats {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary-color);
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 500;
}

.about-visual {
    display: flex;
    justify-content: center;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    max-width: 300px;
}

.tech-item {
    background: var(--white);
    padding: 1.5rem 1rem;
    border-radius: 12px;
    text-align: center;
    font-weight: 600;
    color: var(--primary-color);
    box-shadow: var(--shadow-light);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.tech-item:hover {
    transform: translateY(-5px);
}

.tech-item i {
    font-size: 1.5rem;
    color: inherit;
}

.tech-item span {
    font-size: 0.9rem;
    line-height: 1.2;
}

/* Brands Section */
.brands {
    padding: 6rem 0;
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 3rem;
}

.brand-card {
    background: var(--white);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: var(--shadow-medium);
    border: 1px solid var(--border-light);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.brand-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-large);
}

.brand-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.brand-logo {
    flex: 1;
}

.brand-logo-img {
    height: 60px;
    width: auto;
    max-width: 200px;
}

.brand-status {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    flex-shrink: 0;
    margin-left: 1rem;
}

.brand-status.live {
    background: linear-gradient(135deg, #10b981, #34d399);
    color: var(--white);
}

.brand-status.coming-soon {
    background: linear-gradient(135deg, #f59e0b, #fbbf24);
    color: var(--white);
}

.brand-header h3 {
    margin: 0;
    color: var(--text-dark);
}

.brand-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

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

.feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

.feature-icon {
    font-size: 1.2rem;
}

.brand-footer {
    border-top: 1px solid var(--border-light);
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.powered-by {
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 0;
    font-style: italic;
}

/* Contact Section */
.contact {
    padding: 6rem 0;
    background: var(--secondary-color);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h3 {
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.contact-info p {
    margin-bottom: 2rem;
}

.contact-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: var(--text-light);
    transition: color 0.3s ease;
    padding: 0.5rem 0;
}

.contact-link:hover {
    color: var(--primary-color);
}

.contact-icon {
    font-size: 1.2rem;
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--border-light);
    border-radius: 12px;
    font-family: var(--font-family);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Captcha Group Styling */
.captcha-group {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
}

.captcha-group .g-recaptcha {
    transform: scale(0.95);
    transform-origin: center;
}

/* Manual Phone Input Styling */
.other-phone-option {
    margin-bottom: 1rem;
}

.other-option-text {
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.other-option-text a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.other-option-text a:hover {
    text-decoration: underline;
}

.manual-phone-group {
    background: var(--secondary-color);
    padding: 1.5rem;
    border-radius: 12px;
    border: 2px solid var(--border-light);
}

.manual-phone-group input {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--border-light);
    border-radius: 12px;
    font-family: var(--font-family);
    font-size: 1rem;
    margin-bottom: 0.75rem;
    transition: border-color 0.3s ease;
}

.manual-phone-group input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.help-text {
    display: block;
    font-size: 0.8rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    font-style: italic;
}

.manual-phone-group a {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
}

.manual-phone-group a:hover {
    text-decoration: underline;
}

/* Intl Tel Input Styling */
.iti {
    width: 100%;
    display: block;
}

.iti__input {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--border-light);
    border-radius: 12px;
    font-family: var(--font-family);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.iti__input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.iti__flag {
    width: 22px !important;
    height: 16px !important;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.iti__selected-country {
    background: transparent;
    border: none;
    padding: 0;
}

.iti__selected-flag {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem;
}

.iti__selected-dial-code {
    display: inline-block !important;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.9rem;
    margin-left: 0.25rem;
}

.iti__country-list {
    border-radius: 8px;
    box-shadow: var(--shadow-large);
    border: 1px solid var(--border-light);
    max-height: 200px;
    z-index: 1001;
    background: var(--white);
}

.iti__country {
    padding: 0.5rem 1rem;
    border-bottom: 1px solid #f0f0f0;
}

.iti__country:hover {
    background-color: var(--secondary-color);
}

.iti__country--selected {
    background-color: var(--primary-color);
    color: var(--white);
}

.iti__dial-code {
    color: var(--text-light);
    margin-left: 0.5rem;
}

.iti__country--selected .iti__dial-code {
    color: var(--white);
}

/* Footer */
.footer {
    background: var(--white);
    color: var(--text-dark);
    padding: 3rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-logo .logo {
    height: 40px;
    margin-bottom: 1rem;
    filter: none;
}

.footer-logo p {
    color: var(--text-light);
    margin: 0;
}

.footer-links {
    display: flex;
    gap: 3rem;
}

.footer-column h4 {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.footer-column a {
    display: block;
    color: var(--text-light);
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid var(--border-light);
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    color: var(--text-light);
    margin: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-container,
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .hero-visual {
        order: 2; /* Cards appear second */
        height: 350px;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
        gap: 1rem;
        padding: 1rem 0;
    }
    
    /* Reset floating cards for mobile with scroll animation */
    .floating-card {
        position: relative;
        display: inline-block;
        margin: 0.5rem;
        animation: float 6s ease-in-out infinite;
        max-width: 140px;
        height: 160px;
        padding: 1rem;
        transition: all 0.3s ease;
        /* Remove desktop positioning */
        top: auto !important;
        left: auto !important;
    }
    
    .floating-card:nth-child(1) {
        animation-delay: -2s;
        top: auto !important;
        left: auto !important;
    }
    
    .floating-card:nth-child(2) {
        animation-delay: -4s;
        top: auto !important;
        left: auto !important;
    }
    
    .floating-card:nth-child(3) {
        animation-delay: -1s;
        top: auto !important;
        left: auto !important;
    }
    
    .floating-card:nth-child(4) {
        animation-delay: -3s;
        top: auto !important;
        left: auto !important;
    }
    
    .floating-card:nth-child(5) {
        animation-delay: -5s;
        top: auto !important;
        left: auto !important;
    }
    
    .floating-card:hover {
        transform: translateY(-5px) scale(1.03);
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    /* Mobile visibility controls */
    .desktop-only {
        display: none !important;
    }
    
    .mobile-only {
        display: flex !important;
    }
    
    /* Mobile navigation section separator */
    .mobile-only.nav-link:not(.mobile-product-link) {
        margin-bottom: 0.5rem;
        padding-bottom: 0.5rem;
        border-bottom: 1px solid var(--border-light);
        justify-content: center;
    }
    
    /* Mobile product links styling - scoped to mobile only */
    .mobile-product-link {
        display: flex !important;
        align-items: center;
        justify-content: center;
        gap: 0.75rem;
        padding: 1rem 2rem;
        margin: 0.25rem 1rem;
        border-radius: 12px;
        background-color: var(--secondary-color);
        transition: all 0.3s ease;
        text-decoration: none;
        color: var(--text-dark);
        font-weight: 500;
        border: 1px solid var(--border-light);
    }
    
    .mobile-product-link:hover {
        background-color: var(--primary-color);
        color: var(--white);
        transform: translateY(-2px);
        box-shadow: var(--shadow-medium);
    }
    
    .mobile-product-logo {
        height: 28px;
        width: auto;
        flex-shrink: 0;
    }
    
    /* Reduce navbar gap on mobile */
    .navbar {
        top: 35px;
    }
    
    /* Center align navigation logo on mobile */
    .nav-logo {
        text-align: center;
    }
    
    .nav-container {
        padding: 0 1rem;
        min-height: 60px;
    }
    
    .nav-logo .logo {
        height: 45px;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 45px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow-medium);
        padding: 2rem 0;
        align-items: stretch;
        gap: 1rem;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-toggle {
        display: flex;
        align-items: center;
    }
    
    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .nav-contact-btn {
        margin: 1rem auto 0;
        display: block;
        text-align: center;
        max-width: 200px;
    }
    
    /* Mobile Hero Section - Content first, then cards */
    .hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        padding: 2rem 0;
    }
    
    .hero-content {
        order: 1; /* Content appears first */
        text-align: center;
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 1rem 0;
    }
    
    .hero-visual {
        order: 2; /* Cards appear second */
        height: auto;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
        gap: 1rem;
        padding: 1rem 0;
        flex-shrink: 0; /* Prevent shrinking */
    }
    
    /* Mobile CTA buttons - side by side at 50% each */
    .hero-buttons {
        display: flex;
        flex-direction: row;
        gap: 0.75rem;
        justify-content: center;
        align-items: stretch;
    }
    
    .hero-buttons .btn {
        flex: 1;
        width: auto;
        min-width: auto;
        padding: 0.9rem 1rem;
        font-size: 0.9rem;
        text-align: center;
        justify-content: center;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    /* Mobile Section Spacing - Reduced */
    .about, .brands, .contact {
        padding: 3rem 0; /* Reduced from default */
    }
    
    /* Add top margin to about section to prevent overlap with hero cards */
    .about {
        margin-top: 2rem;
        padding: 3rem 0;
        text-align: center; /* Center align about section on mobile */
    }
    
    .section-header {
        margin-bottom: 2rem; /* Reduced from default */
        text-align: center; /* Center align section headers on mobile */
    }
    
    /* Center align about text on mobile */
    .about-text {
        text-align: center;
    }
    
    .brands-grid {
        grid-template-columns: 1fr;
    }
    
    /* Center align brand cards on mobile */
    .brand-card {
        text-align: center;
    }
    
    /* Center align brand status on mobile */
    .brand-status {
        margin-left: 0;
        align-self: flex-start;
        width: 50%;
        position: relative;
        left: 50%;
        transform: translateX(-50%);
    }
    
    .brand-features {
        grid-template-columns: 1fr;
    }
    
    .brand-header {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }
    
    .brand-logo {
        text-align: center;
    }
    
    .brand-logo-img {
        height: 50px;
    }
    
    .brand-status {
        margin-left: 0;
        align-self: flex-start;
    }
    
    .brand-footer {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }
    
    .stats {
        justify-content: space-between;
        gap: 1rem;
    }
    
    /* Tech Grid - 3 columns instead of 2 on mobile */
    .tech-grid {
        max-width: 320px;
        gap: 0.5rem;
        grid-template-columns: repeat(3, 1fr);
    }
    
    .tech-item {
        padding: 0.7rem 0.4rem;
    }
    
    .tech-item i {
        font-size: 1.1rem;
    }
    
    .tech-item span {
        font-size: 0.7rem;
    }
    
    /* Center align contact section on mobile */
    .contact {
        text-align: center;
    }
    
    .contact-info {
        text-align: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
    }
    
    /* Center align tech grid on mobile */
    .about-visual {
        text-align: center;
    }
    
    .captcha-group .g-recaptcha {
        transform: scale(0.85);
    }
}

/* Announcement Bar */
.announcement-bar {
    background: var(--primary-color);
    color: var(--white);
    padding: 0.75rem 0;
    text-align: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1001;
    font-weight: 600;
}

.announcement-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.announcement-text {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: var(--white);
}

/* Contact Button Styling */
.nav-contact-btn {
    background: var(--gradient-primary);
    color: var(--white) !important;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-light);
}

.nav-contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
    color: var(--white) !important;
}

.nav-contact-btn::after {
    display: none; /* Remove underline for button */
}

/* Dropdown Styling */
.nav-dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.dropdown-arrow {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

.nav-dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 15px);
    left: 0;
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-large);
    border: 1px solid var(--border-light);
    min-width: 280px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    text-decoration: none;
    color: var(--text-dark);
    transition: background-color 0.3s ease;
    border-radius: 8px;
    margin: 0.5rem;
}

.dropdown-item:hover {
    background-color: var(--secondary-color);
}

.dropdown-item:first-child {
    margin-top: 0.5rem;
}

.dropdown-item:last-child {
    margin-bottom: 0.5rem;
}

.dropdown-logo {
    height: 32px;
    width: auto;
    flex-shrink: 0;
}

.dropdown-content {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.dropdown-title {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.9rem;
}

.dropdown-desc {
    font-size: 0.8rem;
    color: var(--text-light);
}

/* Laptop and Tablet Responsive Design - MUST BE AT THE END */
@media (max-width: 1440px) {
    /* Navbar adjustments for laptops */
    .navbar {
        padding: 0.25rem 0;
    }
    
    .nav-container {
        min-height: 50px;
        padding: 0 1.5rem;
    }
    
    .nav-logo .logo {
        height: 45px;
    }
    
    .announcement-bar {
        padding: 0.5rem 0;
    }
    
    .announcement-text {
        font-size: 0.8rem;
    }

    /* Tablet and Normal Laptop Adjustments */
    .hero {
        min-height: 75vh;
        padding-top: 100px; /* Account for announcement bar + navbar */
    }
    
    .hero-container {
        padding: 0 1.5rem;
        gap: 2.5rem;
    }
    
    .hero-title {
        font-size: 2.8rem;
        margin-bottom: 1rem;
        line-height: 1.1;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.8rem;
    }
    
    .hero-visual {
        height: 400px;
    }
    
    .floating-card {
        width: 160px;
        height: 180px;
        padding: 1.2rem;
    }
    
    .ai-icon {
        font-size: 2rem;
        margin-bottom: 0.6rem;
    }
    
    .card-content h3 {
        font-size: 0.9rem;
        margin-bottom: 0.3rem;
    }
    
    .card-content p {
        font-size: 0.8rem;
    }
    
    /* Section spacing adjustments - more aggressive */
    .about, .brands, .contact {
        padding: 3.5rem 0;
    }
    
    .section-header {
        margin-bottom: 2.5rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
        margin-bottom: 0.6rem;
    }
    
    .section-header p {
        font-size: 1rem;
    }
    
    /* About section adjustments */
    .about-content {
        gap: 2.5rem;
    }
    
    .about-text h3 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .about-text p {
        margin-bottom: 1rem;
        font-size: 0.95rem;
    }
    
    .stats {
        gap: 1.2rem;
        margin-top: 1.2rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .tech-item {
        padding: 1rem 0.6rem;
    }
    
    .tech-item i {
        font-size: 1.2rem;
    }
    
    .tech-item span {
        font-size: 0.8rem;
    }
    
    /* Brand cards adjustments */
    .brands-grid {
        gap: 2rem;
    }
    
    .brand-card {
        padding: 1.8rem;
    }
    
    .brand-logo-img {
        height: 45px;
    }
    
    .brand-description {
        font-size: 0.95rem;
        margin-bottom: 1.2rem;
    }
    
    .brand-features {
        gap: 0.6rem;
        margin-bottom: 1.2rem;
    }
    
    .feature {
        font-size: 0.85rem;
    }
    
    .brand-footer {
        padding-top: 1.2rem;
    }
    
    /* Contact section adjustments */
    .contact-content {
        gap: 2.5rem;
    }
    
    .contact-form {
        padding: 1.8rem;
    }
    
    .form-group {
        margin-bottom: 1rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.8rem;
        font-size: 0.9rem;
    }
    
    /* Footer adjustments */
    .footer {
        padding: 2rem 0 1.2rem;
    }
    
    .footer-content {
        gap: 2rem;
        margin-bottom: 1.2rem;
    }
    
    .footer-logo .logo {
        height: 35px;
    }
}

/* MacBook and MacBook Air - Covers standard laptop screens */
@media only screen and (min-width: 1024px) and (max-width: 1920px) {
    /* Optimized for MacBook Air and smaller MacBook Pro displays */
    .navbar {
        padding: 0.4rem 0;
    }
    
    .nav-container {
        min-height: 65px;
        padding: 0 2rem;
    }
    
    .nav-logo .logo {
        height: 55px;
    }
    
    .announcement-bar {
        padding: 0.6rem 0;
    }
    
    .announcement-text {
        font-size: 0.85rem;
    }

    /* Hero section optimization for MacBook screens */
    .hero {
        padding-top: 110px;
    }
    
    .hero-container {
        gap: 3rem;
        padding: 0 2rem;
    }
    
    .hero-title {
        font-size: 3.2rem;
        line-height: 1.1;
        margin-bottom: 1.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    
    .hero-visual {
        height: 500px;
    }
    
    .floating-card {
        width: 180px;
        height: 200px;
        padding: 1.5rem;
    }
    
    .ai-icon {
        font-size: 2.2rem;
        margin-bottom: 0.8rem;
    }
    
    .card-content h3 {
        font-size: 1rem;
        margin-bottom: 0.4rem;
    }
    
    .card-content p {
        font-size: 0.85rem;
    }
    
    /* Section spacing for MacBook */
    .about, .brands, .contact {
        padding: 4.5rem 0;
    }
    
    .section-header {
        margin-bottom: 3rem;
    }
    
    .section-header h2 {
        font-size: 2.2rem;
        margin-bottom: 0.8rem;
    }
    
    .section-header p {
        font-size: 1.1rem;
    }
    
    /* About section for MacBook */
    .about-content {
        gap: 3rem;
    }
    
    .about-text h3 {
        font-size: 1.6rem;
        margin-bottom: 1.2rem;
    }
    
    .about-text p {
        margin-bottom: 1.2rem;
        font-size: 1rem;
    }
    
    .stats {
        gap: 1.5rem;
        margin-top: 1.5rem;
    }
    
    .stat-number {
        font-size: 2.2rem;
    }
    
    .stat-label {
        font-size: 0.85rem;
    }
    
    .tech-grid {
        max-width: 350px;
    }
    
    .tech-item {
        padding: 1.2rem 0.8rem;
    }
    
    .tech-item i {
        font-size: 1.4rem;
    }
    
    .tech-item span {
        font-size: 0.85rem;
    }
    
    /* Brand cards for MacBook */
    .brands-grid {
        gap: 2.5rem;
        grid-template-columns: repeat(auto-fit, minmax(480px, 1fr));
    }
    
    .brand-card {
        padding: 2.2rem;
    }
    
    .brand-logo-img {
        height: 55px;
    }
    
    .brand-description {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .brand-features {
        gap: 0.8rem;
        margin-bottom: 1.5rem;
    }
    
    .feature {
        font-size: 0.9rem;
    }
    
    .brand-footer {
        padding-top: 1.5rem;
    }
    
    /* Contact section for MacBook */
    .contact-content {
        gap: 3rem;
    }
    
    .contact-form {
        padding: 2.2rem;
    }
    
    .form-group {
        margin-bottom: 1.2rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.9rem;
        font-size: 0.95rem;
    }
    
    /* Dropdown adjustments */
    .dropdown-menu {
        min-width: 300px;
    }
    
    .dropdown-item {
        padding: 1.1rem;
    }
    
    .dropdown-logo {
        height: 35px;
    }
    
    .dropdown-title {
        font-size: 0.95rem;
    }
    
    .dropdown-desc {
        font-size: 0.85rem;
    }
    
    /* Footer for MacBook */
    .footer {
        padding: 2.5rem 0 1.5rem;
    }
    
    .footer-content {
        gap: 2.5rem;
        margin-bottom: 1.5rem;
    }
    
    .footer-logo .logo {
        height: 42px;
    }
}

/* MacBook Pro and MacBook with Retina Display - High resolution screens */
@media only screen and (min-width: 1920px) and (max-width: 2560px) {
    /* Optimized for larger MacBook Pro displays with high DPI */
    .navbar {
        padding: 0.5rem 0;
    }
    
    .nav-container {
        min-height: 75px;
        padding: 0 3rem;
    }
    
    .nav-logo .logo {
        height: 65px;
    }
    
    .announcement-bar {
        padding: 0.8rem 0;
    }
    
    .announcement-text {
        font-size: 1rem;
        letter-spacing: 0.8px;
    }

    /* Hero section for large MacBook Pro */
    .hero {
        min-height: 90vh;
        padding-top: 120px;
    }
    
    .hero-container {
        gap: 4rem;
        padding: 0 3rem;
        max-width: 1400px;
    }
    
    .hero-title {
        font-size: 4.5rem;
        line-height: 1.1;
        margin-bottom: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.4rem;
        margin-bottom: 2.5rem;
        line-height: 1.7;
    }
    
    .hero-visual {
        height: 650px;
    }
    
    .floating-card {
        width: 220px;
        height: 260px;
        padding: 2.2rem;
    }
    
    .ai-icon {
        font-size: 2.8rem;
        margin-bottom: 1.2rem;
    }
    
    .card-content h3 {
        font-size: 1.2rem;
        margin-bottom: 0.6rem;
    }
    
    .card-content p {
        font-size: 1rem;
    }
    
    /* Section spacing for large MacBook Pro */
    .about, .brands, .contact {
        padding: 6rem 0;
    }
    
    .section-header {
        margin-bottom: 4rem;
    }
    
    .section-header h2 {
        font-size: 2.8rem;
        margin-bottom: 1.2rem;
    }
    
    .section-header p {
        font-size: 1.3rem;
        max-width: 700px;
    }
    
    /* Container adjustments for large screens */
    .container {
        max-width: 1400px;
        padding: 0 3rem;
    }
    
    /* About section for large MacBook Pro */
    .about-content {
        gap: 4rem;
    }
    
    .about-text h3 {
        font-size: 2rem;
        margin-bottom: 1.8rem;
    }
    
    .about-text p {
        margin-bottom: 1.8rem;
        font-size: 1.15rem;
        line-height: 1.8;
    }
    
    .stats {
        gap: 2.5rem;
        margin-top: 2.5rem;
    }
    
    .stat-number {
        font-size: 3rem;
    }
    
    .stat-label {
        font-size: 1rem;
    }
    
    .tech-grid {
        max-width: 400px;
        gap: 1.2rem;
    }
    
    .tech-item {
        padding: 1.8rem 1.2rem;
    }
    
    .tech-item i {
        font-size: 1.8rem;
    }
    
    .tech-item span {
        font-size: 1rem;
    }
    
    /* Brand cards for large MacBook Pro */
    .brands-grid {
        gap: 3.5rem;
        grid-template-columns: repeat(auto-fit, minmax(550px, 1fr));
    }
    
    .brand-card {
        padding: 3rem;
    }
    
    .brand-logo-img {
        height: 70px;
    }
    
    .brand-description {
        font-size: 1.2rem;
        margin-bottom: 2.5rem;
        line-height: 1.7;
    }
    
    .brand-features {
        gap: 1.2rem;
        margin-bottom: 2.5rem;
    }
    
    .feature {
        font-size: 1rem;
        gap: 0.8rem;
    }
    
    .feature-icon {
        font-size: 1.4rem;
    }
    
    .brand-footer {
        padding-top: 2rem;
    }
    
    .powered-by {
        font-size: 1rem;
    }
    
    /* Contact section for large MacBook Pro */
    .contact-content {
        gap: 4rem;
    }
    
    .contact-info h3 {
        font-size: 2rem;
        margin-bottom: 1.8rem;
    }
    
    .contact-info p {
        margin-bottom: 2.5rem;
        font-size: 1.15rem;
        line-height: 1.8;
    }
    
    .contact-form {
        padding: 3rem;
    }
    
    .form-group {
        margin-bottom: 1.8rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 1.2rem;
        font-size: 1rem;
        border-radius: 14px;
    }
    
    .form-group textarea {
        min-height: 140px;
    }
    
    /* Dropdown adjustments for large screens */
    .dropdown-menu {
        min-width: 350px;
        border-radius: 14px;
    }
    
    .dropdown-item {
        padding: 1.5rem;
        gap: 1.2rem;
        border-radius: 10px;
    }
    
    .dropdown-logo {
        height: 40px;
    }
    
    .dropdown-title {
        font-size: 1rem;
    }
    
    .dropdown-desc {
        font-size: 0.9rem;
    }
    
    /* Navigation improvements */
    .nav-menu {
        gap: 2.5rem;
    }
    
    .nav-contact-btn {
        padding: 0.9rem 1.8rem;
        border-radius: 10px;
        font-size: 1rem;
    }
    
    /* Button improvements */
    .btn {
        padding: 1.2rem 2.5rem;
        font-size: 1.1rem;
        border-radius: 14px;
        min-width: 180px;
    }
    
    /* Footer for large MacBook Pro */
    .footer {
        padding: 4rem 0 2.5rem;
    }
    
    .footer-content {
        gap: 4rem;
        margin-bottom: 2.5rem;
    }
    
    .footer-logo .logo {
        height: 50px;
        margin-bottom: 1.5rem;
    }
    
    .footer-logo p {
        font-size: 1.1rem;
    }
    
    .footer-column h4 {
        margin-bottom: 1.5rem;
        font-size: 1.1rem;
    }
    
    .footer-column a {
        margin-bottom: 0.8rem;
        font-size: 1rem;
    }
    
    .footer-bottom {
        padding-top: 2.5rem;
    }
    
    .footer-bottom p {
        font-size: 1rem;
    }
}

.footer-links {
    justify-content: center;
}

.captcha-group .g-recaptcha {
    transform: scale(0.85);
}

@media (max-width: 480px) {
    .announcement-text {
        font-size: 0.8rem;
    }
    
    .nav-logo .logo {
        height: 40px;
    }
    
    .hero {
        padding-top: 125px;
    }
    
    .hero-container {
        padding: 0 1rem;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        gap: 1.5rem;
    }
    
    .hero-content {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 1.5rem 0;
    }
    
    /* Extra small mobile - even more reduced spacing */
    .about, .brands, .contact {
        padding: 2.5rem 0; /* Further reduced spacing */
    }
    
    /* Add top margin to about section to prevent overlap with hero cards */
    .about {
        margin-top: 2rem;
        padding: 3rem 0;
    }
    
    /* Add larger top margin to about section for smaller mobile screens */
    .about {
        margin-top: 3rem;
        padding: 2.5rem 0;
    }
    
    .section-header {
        margin-bottom: 1.5rem; /* Further reduced */
    }
    
    .brand-card {
        padding: 2rem;
    }
    
    .contact-form {
        padding: 2rem;
    }
    
    .hero-visual {
        height: auto; /* Auto height for smaller screens */
        gap: 0.75rem;
        padding: 0.75rem 0;
        flex-shrink: 0; /* Prevent shrinking */
    }
    
    .floating-card {
        max-width: 130px;
        height: 150px;
        padding: 1rem;
        margin: 0.3rem;
        /* Remove desktop positioning on small mobile */
        top: auto !important;
        left: auto !important;
    }
    
    .floating-card:nth-child(1),
    .floating-card:nth-child(2),
    .floating-card:nth-child(3),
    .floating-card:nth-child(4),
    .floating-card:nth-child(5) {
        top: auto !important;
        left: auto !important;
    }
    
    .floating-card:hover {
        transform: translateY(-3px) scale(1.02);
    }
    
    .ai-icon {
        font-size: 1.8rem;
        margin-bottom: 0.5rem;
    }
    
    .card-content h3 {
        font-size: 0.85rem;
        margin-bottom: 0.25rem;
    }
    
    .card-content p {
        font-size: 0.75rem;
    }
    
    /* CTA buttons for very small screens */
    .hero-buttons .btn {
        padding: 0.8rem 0.75rem;
        font-size: 0.85rem;
    }
    
    /* Tech grid adjustments for very small screens */
    .tech-grid {
        max-width: 320px;
        gap: 0.5rem;
        grid-template-columns: repeat(3, 1fr);
    }
    
    .tech-item {
        padding: 0.7rem 0.4rem;
    }
    
    .tech-item i {
        font-size: 1.1rem;
    }
    
    .tech-item span {
        font-size: 0.7rem;
    }
}

/* Mark dropdown toggle for JavaScript handling on mobile */
.dropdown-toggle[href="#brands"] {
    /* Will be handled by JavaScript to prevent default navigation */
}

/* Desktop: Hide mobile-only elements, show desktop-only elements */
.desktop-only {
    display: block;
}

/* Mobile product links styling */
.mobile-product-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    margin: 0.25rem 1rem;
    border-radius: 12px;
    background-color: var(--secondary-color);
    transition: all 0.3s ease;
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    border: 1px solid var(--border-light);
}

.mobile-product-link:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.mobile-product-logo {
    height: 28px;
    width: auto;
    flex-shrink: 0;
}

.mobile-only {
    display: none;
}

/* Navigation */ 