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

html {
    scroll-behavior: smooth;
    width: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-primary);
    overflow-x: hidden;
    overscroll-behavior: none;
    width: 100%;
    max-width: 100vw;
    position: relative;
}

:root {
    /* Primary Colors */
    --primary-color: #2464ee;
    --secondary-color: #1e40af;
    --accent-color: #f59e0b;
    
    /* Text Colors */
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --text-light: #9ca3af;
    
    /* Background Colors */
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-dark: #0f172a;
    --border-color: #e5e7eb;
    
    /* Shadows */
    --shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-hero: linear-gradient(135deg, rgba(37, 99, 235, 0.9) 0%, rgba(30, 64, 175, 0.9) 100%);
}


/* =================== NAVIGATION =================== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: all 0.3s ease;
    padding: 1rem 0;
}


.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow);
    padding: 0.5rem 0;
}


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


.logo img {
    height: 60px;
    width: auto;
    border-radius: 50px;
}


.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}


.nav-link {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 600;
    position: relative;
    transition: color 0.3s ease;
}


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


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


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


.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}


.theme-toggle {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-primary);
    transition: color 0.3s ease;
}


.theme-toggle:hover {
    color: var(--primary-color);
}


.login-btn {
    background: rgb(255, 255, 255);
    color: rgb(0, 53, 243);
    padding: 1rem 1.8rem;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}


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


.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-primary);
}


/* =================== HERO SECTION =================== */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}


.hero-swiper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}


.hero-slide {
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    position: relative;
}


.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(153, 187, 255, 0.294) 0%, rgba(77, 0, 91, 0.396) 100%);
    clip-path: polygon(0% 0, 50% 0, 20% 0%, 85% 85%, 0% 40%, 25% 85%, 0 75%);
    z-index: -5;
}


.hero-content {
    max-width: 900px;
    padding: 0 2rem;
    z-index: 5;
    position: relative;
}


.hero-title {
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    font-size: 3.2rem;
    font-weight: 800;
    background: linear-gradient(135deg, #ffffff, #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    opacity: 0;
    transform: translateX(-80px);
    animation: fadeInRight 1s ease-out 0.4s forwards;
}


.hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    font-weight: 400;
    opacity: 0;
    transform: translateX(80px);
    animation: fadeInRight 1s ease-out 0.5s forwards;
}


.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateX(-80px);
    animation: fadeInRight 1s ease-out 0.8s forwards;
}


@keyframes fadeInRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}


/* =================== BUTTONS =================== */
.btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    position: relative;
    overflow: hidden;
}


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


.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}


.btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}


/* =================== SECTIONS =================== */
.section {
    padding: 5rem 0;
    position: relative;
}


.section:nth-child(even) {
    background: var(--bg-secondary);
}


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


.section-header {
    text-align: center;
    margin-bottom: 4rem;
}


.section-title {
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}


.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}


/* =================== ABOUT SECTION =================== */
.about-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 3rem;
}


.about-text {
    padding: 2rem 0;
}


.about-text h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary-color);
}


.about-text p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}


.about-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}


.about-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.3s ease;
}


.about-image:hover img {
    transform: scale(1.05);
}


.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}


.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: white;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}


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


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


.stat-label {
    color: var(--text-secondary);
    font-weight: 500;
}


/* =================== ENHANCED SERVICES SECTION =================== */
.enhanced-services-section {
    padding: 60px 0;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 90vh;
}


.enhanced-services-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 30px;
    margin: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}


.enhanced-section-header {
    text-align: center;
    margin-bottom: 80px;
    position: relative;
    z-index: 2;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}


.enhanced-section-header.animate {
    opacity: 1;
    transform: translateY(0);
}


.enhanced-section-title {
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    position: relative;
}


.enhanced-section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 2px;
}


.enhanced-section-subtitle {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}


.services-container {
    position: relative;
    z-index: 2;
}


.service-item {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 100px;
    opacity: 0;
    transform: translateX(-100px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}


.service-item:nth-child(even) {
    flex-direction: row-reverse;
    transform: translateX(100px);
}


.service-item.animate {
    opacity: 1;
    transform: translateX(0);
}


.service-content {
    flex: 1;
    padding: 40px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}


.service-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.6s ease;
}


.service-content:hover::before {
    left: 100%;
}


.service-content:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}


.service-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}


.enhanced-service-icon {
    width: 350px;
    height: 340px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.377), rgba(255, 255, 255, 0.8));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.4s ease;
    box-shadow: 0 15px 35px rgba(102, 126, 234, 0.2);
    border: 2px solid rgba(102, 126, 234, 0.1);
    overflow: hidden;
}


.enhanced-service-icon::before {
    content: '';
    position: absolute;
    inset: -10px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 25px;
    opacity: 0;
    transition: all 0.4s ease;
    z-index: -1;
}


.service-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
    transition: all 0.4s ease;
}


.enhanced-service-icon:hover .service-image {
    transform: scale(1.1);
    filter: brightness(1) contrast(1.2);
}


.enhanced-service-title {
    font-size: 2.2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
    position: relative;
}


.enhanced-service-title::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 2px;
    transition: width 0.4s ease;
}


.service-content:hover .enhanced-service-title::after {
    width: 100px;
}


.enhanced-service-description {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 30px;
}


.service-features {
    list-style: none;
    margin-top: 25px;
}


.service-features li {
    position: relative;
    padding: 8px 0 8px 30px;
    color: #444;
    transition: all 0.3s ease;
}


.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 8px;
    color: #667eea;
    font-weight: bold;
    font-size: 1.1rem;
}


.service-features li:hover {
    color: #667eea;
    transform: translateX(10px);
}


.service-features li strong {
    color: #333;
}


.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}


.floating-shapes::before,
.floating-shapes::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: rgba(102, 126, 234, 0.1);
    animation: float 6s ease-in-out infinite;
}


.floating-shapes::before {
    width: 200px;
    height: 200px;
    top: 10%;
    right: 10%;
    animation-delay: 0s;
}


.floating-shapes::after {
    width: 150px;
    height: 150px;
    bottom: 20%;
    left: 15%;
    animation-delay: 3s;
}


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


/* =================== PRODUCTS SECTION =================== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 4rem;
}


.product-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}


.product-card:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}


.product-header {
    background: var(--gradient-primary);
    padding: 2rem;
    text-align: center;
    color: white;
}


.product-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}


.product-body {
    padding: 1rem;
}


.product-features {
    list-style: none;
}


.product-features li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}


.product-features li::before {
    content: '✓';
    color: var(--accent-color);
    font-weight: bold;
}


.product-image {
    width: 100%;
    height: 150px;
    overflow: hidden;
    border-radius: 10px;
    margin-bottom: 1rem;
    position: relative;
}


.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.4s ease;
    filter: brightness(0.8) contrast(1.1);
}


.product-card:hover .product-image img {
    transform: scale(1.1);
    filter: brightness(1) contrast(1.2);
}


.product-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(145deg, rgba(102, 126, 234, 0.3), rgba(57, 1, 113, 0.3));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}


.product-card:hover .product-image::before {
    opacity: 1;
}


/* =================== PARTNERS SECTION =================== */
.partners-slider {
    overflow: hidden;
    padding: 2rem 0;
}


.partners-track {
    display: flex;
    animation: scroll 15s linear infinite;
    gap: 3rem;
}


.partner-logo {
    min-width: 150px;
    height: 80px;
    background: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
    font-weight: 600;
    color: var(--text-primary);
    transition: transform 0.3s ease;
    padding: 10px;
}


.partner-logo img {
    max-width: 120px;
    max-height: 60px;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: all 0.3s ease;
}


.partner-logo:hover img {
    filter: grayscale(0%) brightness(1);
    transform: scale(1.1);
}


@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}


/* =================== CONTACT SECTION =================== */


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


.contact-info {
    padding: 2rem 0;
}


.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}


.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}


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


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


.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-primary);
}


.form-input {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}


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


.form-input:focus {
    outline: none;
    border-color: var(--primary-color);
    background: white;
    box-shadow: 0 4px 12px rgba(59,130,246,0.15);
    transform: translateY(-2px);
}




.form-input.success {
    border-color: #10b981;
}


@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-10px); }
    75% { transform: translateX(10px); }
}


.form-button {
    width: 100%;
    background: var(--gradient-primary);
    color: white;
    padding: 1rem;
    border: none;
    border-radius: 50px;
    font-size: 1.rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}


.form-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}


.form-button:hover::before {
    width: 300px;
    height: 300px;
}


.form-button:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(59,130,246,0.4);
}


.form-button:active {
    transform: translateY(-1px);
}


.form-button i {
    margin-right: 0.1rem;
}


/* =================== TOAST NOTIFICATION =================== */
.toast-container {
    position: fixed;
    top: 30px;
    right: 30px;
    z-index: 10000;
    pointer-events: none;
}


.toast {
    background: white;
    padding: 1.2rem 1.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    min-width: 220px;
    max-width: 500px;
    animation: slideIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: auto;
    border-left: 4px solid;
    position: relative;
    overflow: hidden;
}


.toast::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    width: 100%;
    animation: progress 3s linear;
}


@keyframes progress {
    from { width: 100%; }
    to { width: 0; }
}


@keyframes slideIn {
    from {
        transform: translateX(500px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}


@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(500px);
        opacity: 0;
    }
}


.toast.slideOut {
    animation: slideOut 0.3s ease forwards;
}


.toast-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}


.toast-content {
    flex: 1;
}


.toast-title {
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.2rem;
}


.toast-message {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.4;
}


.toast-close {
    background: none;
    border: none;
    font-size: 1.3rem;
    cursor: pointer;
    color: #999;
    transition: color 0.2s ease;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}


.toast-close:hover {
    color: #333;
}


/* Toast variants */
.toast.success {
    border-left-color: #10b981;
}


.toast.success .toast-icon {
    background: #d1fae5;
    color: #10b981;
}


.toast.success::before {
    background: #10b981;
}


.toast.error {
    border-left-color: #ef4444;
}


.toast.error .toast-icon {
    background: #fee2e2;
    color: #ef4444;
}


.toast.error::before {
    background: #ef4444;
}


.toast.warning {
    border-left-color: #f59e0b;
}


.toast.warning .toast-icon {
    background: #fef3c7;
    color: #f59e0b;
}


.toast.warning::before {
    background: #f59e0b;
}


/* =================== FOOTER =================== */
.footer {
    background: var(--bg-dark);
    color: white;
    padding: 3rem 0 1rem;
}


.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}


.footer-section h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--accent-color);
}


.footer-links {
    list-style: none;
}


.footer-links li {
    margin-bottom: 0.5rem;
}


.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}


.footer-links a:hover {
    color: var(--accent-color);
}


.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}


.social-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}


.social-icon:hover {
    background: var(--accent-color);
    transform: translateY(-3px);
}


.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}



/* RESPONSIVE DESIGN  */

/* == TABLETS & SMALL LAPTOPS (768px - 1023px) == */
@media (max-width: 1023px) {
    /* Navigation */
    .nav-menu {
        gap: 1rem;
    }

    .nav-container {
        padding: 0 1rem;
    }
    
    .nav-link {
        font-size: 0.95rem;
    }
    
    .logo img {
        height: 50px;
    }
    
    /* Hero Section */
    .hero-title {
        font-size: 2.5rem;
        line-height: 1.3;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    /* About Section */
    .about-layout {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .about-image {
        order: -1;
    }
    
    .about-image img {
        height: 350px;
    }
    
    /* Stats Grid */
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    /* Enhanced Services */
    .service-item {
        flex-direction: column !important;
        gap: 30px;
        margin-bottom: 60px;
        transform: translateX(0) !important;
    }
    
    .enhanced-service-icon {
        width: 100%;
        max-width: 400px;
        height: 300px;
    }
    
    .enhanced-section-title {
        font-size: 2.2rem;
    }
    
    .enhanced-service-title {
        font-size: 1.8rem;
    }
    
    /* Products Grid */
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }
    
    /* Contact Section */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    /* Footer */
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}


/* == TABLETS PORTRAIT (768px - 991px) == */
@media (max-width: 991px) and (min-width: 768px) {
    .nav-container {
        padding: 0 1.2rem;
    }
    
    .section {
        padding: 4rem 0;
    }
    
    .section-header {
        margin-bottom: 3rem;
    }
}


/* ==MOBILE & SMALL TABLETS (max-width: 767px) == */
@media (max-width: 767px) {
    /* Base adjustments */
    body {
        font-size: 15px;
    }
    
    .container {
        padding: 0 1rem;
        max-width: 100%;
    }
    
    .section {
        padding: 3rem 0;
    }
    
    /* Navigation - Hamburger Menu */
    .nav-container {
        padding: 0 1rem;
        position: relative;
        margin: 0;
    }
    
    .logo img {
        height: 45px;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 50px;
        flex-direction: column;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        width: 100%;
        text-align: center;
        transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        padding: 2rem 0;
        gap: 0;
        z-index: 999;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 0;
        padding: 0.75rem 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }
    
    .nav-menu li:last-child {
        border-bottom: none;
    }
    
    .nav-link {
        display: block;
        padding: 0.75rem 1.5rem;
        font-size: 1.1rem;
    }
    
    .nav-link::after {
        bottom: 0;
    }
    
    /* Hamburger Button */
    .mobile-menu-toggle {
        display: block;
        z-index: 1000;
        font-size: 1.8rem;
        transition: transform 0.3s ease;
    }
    
    .mobile-menu-toggle.active {
        transform: rotate(90deg);
    }
    
    .nav-actions {
        gap: 0.5rem;
    }
    
    .login-btn {
        padding: 0.70rem 1.3rem;
        font-size: 0.9rem;
    }
    
    .theme-toggle {
        font-size: 1.2rem;
    }
    
    /* Hero Section */
    .hero {
        height: auto;
        min-height: 100vh;
        padding: 100px 0 80px;
    }
    
    .hero-slide {
        background-attachment: scroll;
    }
    
    .hero-content {
        padding: 0 1rem;
    }
    
    .hero-title {
        font-size: 2rem;
        margin-bottom: 1.25rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
        align-content: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
        padding: 0.875rem 1.75rem;
    }
    
    /* Section Headers */
    .section-header {
        margin-bottom: 2.5rem;
    }
    
    .section-title {
        font-size: 1.875rem;
        margin-bottom: 0.75rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    /* About Section */
    .about-layout {
        gap: 2rem;
    }
    
    .about-text h3 {
        font-size: 1.5rem;
    }
    
    .about-text p {
        font-size: 1rem;
    }
    
    .about-image img {
        height: 280px;
    }
    
    /* Stats Grid */
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    
    .stat-item {
        padding: 1.25rem;
    }
    
    .stat-number {
        font-size: 2.25rem;
    }
    
    /* Enhanced Services Section */
    .enhanced-services-section {
        padding: 40px 0;
        min-height: auto;
    }
    
    .enhanced-services-section::before {
        margin: 5px;
        border-radius: 20px;
    }
    
    .enhanced-section-header {
        margin-bottom: 40px;
    }
    
    .enhanced-section-title {
        font-size: 1.875rem;
    }
    
    .enhanced-section-subtitle {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    .service-item {
        margin-bottom: 40px;
        gap: 20px;
    }
    
    .service-content {
        padding: 1.5rem;
    }
    
    .enhanced-service-title {
        font-size: 1.5rem;
        margin-bottom: 15px;
    }
    
    .enhanced-service-description {
        font-size: 1rem;
        margin-bottom: 20px;
    }
    
    .enhanced-service-icon {
        width: 100%;
        height: 250px;
    }
    
    .service-features li {
        font-size: 0.95rem;
        padding: 6px 0 6px 25px;
    }
    
    /* Products Grid */
    .products-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .product-card {
        max-width: 400px;
        margin: 0 auto;
        width: 100%;
    }
    
    .product-title {
        font-size: 1.2rem;
    }
    
    .product-header {
        padding: 1.5rem;
    }
    
    /* Partners Section */
    .partner-logo {
        min-width: 120px;
        height: 70px;
    }
    
    .partner-logo img {
        max-width: 100px;
        max-height: 50px;
    }
    
    /* Contact Section */
    .contact-form {
        padding: 1.75rem;
    }
    
    .form-group {
        margin-bottom: 1.25rem;
    }
    
    .form-input {
        padding: 0.875rem;
        font-size: 0.95rem;
    }
    
    .form-button {
        padding: 0.875rem;
        font-size: 0.95rem;
    }
    
    .contact-item {
        margin-bottom: 1.5rem;
    }
    
    .contact-icon {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    
    /* Footer */
    .footer {
        padding: 2.5rem 0 1rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .social-icons {
        justify-content: center;
    }
    
    /* Toast Notifications */
    .toast-container {
        top: 20px;
        right: 20px;
        left: 20px;
    }
    
    .toast {
        padding: 1rem 1.25rem;
        min-width: auto;
    }
    
    .toast-icon {
        width: 35px;
        height: 35px;
        font-size: 1.1rem;
    }
    
    .toast-title {
        font-size: 0.95rem;
    }
    
    .toast-message {
        font-size: 0.85rem;
    }
}


/* == LARGE MOBILE (481px - 767px) == */
@media (max-width: 767px) and (min-width: 481px) {
    .hero-title {
        font-size: 2.25rem;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .enhanced-service-icon {
        height: 280px;
    }
}


/* == SMALL MOBILE (max-width: 480px) == */
@media (max-width: 480px) {
    /* Extra small adjustments */
    .container {
        padding: 0 1rem;
    }
    
    .nav-container {
        padding: 0 1rem;
    }
    
    .logo img {
        height: 40px;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
    }
    
    .section-title {
        font-size: 1.625rem;
    }
    
    .section-subtitle {
        font-size: 0.95rem;
    }
    
    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .login-btn {
        padding: 0.625rem 1.25rem;
        font-size: 0.85rem;
    }
    
    .about-image img {
        height: 220px;
    }
    
    .enhanced-service-icon {
        height: 220px;
    }
    
    .service-content {
        padding: 1.25rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .partner-logo {
        min-width: 100px;
        height: 60px;
    }
    
    .footer-section h4 {
        font-size: 1.1rem;
    }
}


/* = MINI MOBILE / LANDSCAPE (max-width: 390px) = */
@media (max-width: 390px) {
    .hero-title {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .enhanced-section-title {
        font-size: 1.625rem;
    }
    
    .enhanced-service-title {
        font-size: 1.375rem;
    }
    
    .nav-link {
        font-size: 1rem;
    }
    
    .toast-container {
        right: 10px;
        left: 10px;
    }
}


/* === LANDSCAPE ORIENTATION (Mobile & Tablet) === */
@media (max-width: 991px) and (orientation: landscape) {
    .hero {
        height: auto;
        min-height: 100vh;
        padding: 120px 0 60px;
    }
    
    .hero-slide {
        background-attachment: scroll;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .nav-menu {
        top: 70px;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
    }
    
    .section {
        padding: 3rem 0;
    }
}


/* ===TOUCH DEVICE OPTIMIZATIONS === */
@media (hover: none) and (pointer: coarse) {
    /* Better touch targets */
    .btn,
    .nav-link,
    .form-button,
    .login-btn {
        min-height: 44px;
        min-width: 44px;
    }
    
    .nav-link {
        padding: 1rem 1.5rem;
    }
    
    /* Remove hover effects on touch devices */
    .product-card:hover,
    .stat-item:hover,
    .service-content:hover {
        transform: none;
    }
    
    .btn:hover,
    .form-button:hover {
        transform: translateY(-2px);
    }
    
    /* Larger tap areas */
    .social-icon {
        width: 48px;
        height: 48px;
    }
    
    .contact-icon {
        width: 50px;
        height: 50px;
    }
}


/* ==== HIGH DPI / RETINA DISPLAYS ==== */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    /* Sharper images for retina */
    .logo img,
    .partner-logo img,
    .product-image img,
    .about-image img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}


/* ====PRINT STYLES ==== */
@media print {
    .navbar,
    .hero-buttons,
    .mobile-menu-toggle,
    .theme-toggle,
    .login-btn,
    .form-button,
    .footer {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .section {
        page-break-inside: avoid;
    }
}


/* === REDUCED MOTION (Accessibility) === */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .hero-title,
    .hero-subtitle,
    .hero-buttons {
        animation: none;
        opacity: 1;
        transform: none;
    }
}
