/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Professional Corporate Color Palette */
    --primary-color: #1a237e;
    --primary-light: #303f9f;
    --primary-dark: #0d1b69;
    --secondary-color: #37474f;
    --accent-color: #546e7a;
    --success-color: #2e7d32;
    --warning-color: #f57c00;
    --danger-color: #d32f2f;
    
    /* Neutrals */
    --white: #ffffff;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
    
    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-weight-light: 300;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    
    /* Spacing */
    --container-max-width: 1200px;
    --section-padding: 120px 0;
    --border-radius: 12px;
    --border-radius-lg: 20px;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    /* Ensure page starts at top */
    scroll-padding-top: 0;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--gray-800);
    overflow-x: hidden;
    /* Prevent scroll jump during page load */
    position: relative;
    top: 0;
}

/* Page Transition Animations */
@keyframes pageLoadFadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes pageUnloadFadeOut {
    0% {
        opacity: 1;
        transform: translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateY(-20px);
    }
}

/* Page transition overlay */
.page-transition-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.page-transition-overlay.active {
    opacity: 1;
    visibility: visible;
}

.page-transition-overlay::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    border: 3px solid rgba(255, 255, 255, 0.2);
    border-top: 3px solid var(--white);
    border-radius: 50%;
    animation: loadingSpinner 1s linear infinite;
}

@keyframes loadingSpinner {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* Smooth content transitions */
.main-content {
    animation: contentSlideIn 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes contentSlideIn {
    0% {
        opacity: 0;
        transform: translateX(30px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Enhanced navigation transitions */
.nav-menu a {
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-menu a:hover {
    transform: translateY(-2px);
}

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: var(--transition);
    border-bottom: 3px solid var(--primary-color);
}

.nav-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.nav-logo {
    display: flex;
    flex-direction: column;
}

.logo-text {
    font-size: 32px;
    font-weight: var(--font-weight-bold);
    color: var(--primary-color);
    letter-spacing: -1px;
}

.logo-subtitle {
    font-size: 12px;
    color: var(--secondary-color);
    font-weight: var(--font-weight-medium);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-top: -10px;
    margin-left: 20px;
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 40px;
}

.nav-menu a {
    text-decoration: none;
    color: var(--gray-700);
    font-weight: var(--font-weight-medium);
    transition: var(--transition);
    position: relative;
    padding: 8px 0;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transition: var(--transition);
}

.nav-menu a:hover::after {
    width: 100%;
}

.language-switcher {
    display: flex;
    gap: 5px;
    background: var(--gray-100);
    border-radius: 8px;
    padding: 4px;
}

.lang-btn {
    border: none;
    background: transparent;
    padding: 8px 12px;
    border-radius: 6px;
    font-weight: var(--font-weight-medium);
    color: var(--gray-600);
    cursor: pointer;
    transition: var(--transition);
    font-size: 14px;
}

.lang-btn.active {
    background: var(--white);
    color: var(--primary-color);
    box-shadow: var(--shadow-sm);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--gray-700);
    border-radius: 2px;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero.about-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

.hero-content .hero-text .about-title {
    margin-bottom: 40px;
}

.hero-content .hero-text .about-subtitle {
    font-size: 24px;
    color: var(--gray-200);
    font-weight: var(--font-weight-medium);
    margin-top: 20px;
}

.hero-visual .hero-image {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.hero-visual .about-main-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: var(--border-radius-lg);
}

.background-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    opacity: 0.7;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(45deg, transparent 0%, rgba(26, 35, 126, 0.1) 50%, transparent 100%),
        url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
}

.floating-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 0;
    gap: 0;
    align-items: center;
    justify-content: start;
}

.hero.about-hero .hero-content {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

/* About Hero Responsive */
@media (max-width: 1024px) {
    .hero.about-hero .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-visual .about-main-image {
        height: 300px;
    }
}

@media (max-width: 768px) {
    .hero.about-hero .hero-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .hero-visual .about-main-image {
        height: 250px;
    }
}

.hero-text {
    max-width: 600px;
    color: white;
}

.company-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    padding: 8px 20px;
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
}

.badge-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.85rem;
    font-weight: var(--font-weight-medium);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.hero-title {
    font-weight: var(--font-weight-bold);
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--white);
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

.company-name {
    font-size: clamp(3rem, 8vw, 5rem);
    background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -2px;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
    margin-bottom: 8px;
    animation: companyGlow 3s ease-in-out infinite;
}

@keyframes companyGlow {
    0%, 100% { 
        text-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
    }
    50% { 
        text-shadow: 0 0 40px rgba(255, 255, 255, 0.5), 0 0 60px rgba(48, 63, 159, 0.3);
    }
}

.divider-line {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-light), rgba(255, 255, 255, 0.6));
    border-radius: 2px;
    margin: 8px 0;
    box-shadow: 0 0 20px rgba(48, 63, 159, 0.5);
    animation: lineGlow 2s ease-in-out infinite alternate;
}

@keyframes lineGlow {
    from { 
        box-shadow: 0 0 20px rgba(48, 63, 159, 0.5);
        opacity: 0.8;
    }
    to { 
        box-shadow: 0 0 30px rgba(48, 63, 159, 0.8);
        opacity: 1;
    }
}

.industry-focus {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 16px 0;
    flex-wrap: wrap;
}

.focus-item {
    font-size: clamp(1.1rem, 3vw, 1.4rem);
    font-weight: var(--font-weight-semibold);
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 0.5px;
    transition: var(--transition);
}

.focus-item:hover {
    color: var(--primary-light);
    text-shadow: 0 0 10px rgba(48, 63, 159, 0.7);
}

.focus-separator {
    color: #ffffff;
    font-size: 1.2rem;
    opacity: 0.7;
}

.tech-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: var(--font-weight-bold);
    color: rgba(255, 255, 255, 0.95);
    letter-spacing: -1px;
    margin-top: 8px;
}



.hero-description {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 32px;
    line-height: 1.6;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    max-width: 520px;
}

.hero-stats-inline {
    display: flex;
    gap: 32px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.stat-inline {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.stat-value {
    font-size: 2rem;
    font-weight: var(--font-weight-bold);
    color: var(--primary-light);
    line-height: 1;
    text-shadow: 0 0 20px rgba(48, 63, 159, 0.6);
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: var(--font-weight-medium);
    margin-top: 4px;
    letter-spacing: 0.5px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
    padding: 18px 36px;
    border-radius: var(--border-radius);
    font-weight: var(--font-weight-semibold);
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 1.05rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(26, 35, 126, 0.3);
    border: 2px solid var(--primary-color);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: var(--transition);
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(26, 35, 126, 0.5);
    background: var(--primary-dark);
    border-color: var(--primary-dark);
}

.btn-primary svg {
    transition: var(--transition);
}

.btn-primary:hover svg {
    transform: translateX(4px);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.hero:not(.about-hero) .hero-visual {
    display: none;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1;
}

.company-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 2;
}

.fallback-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: none;
}

/* Section Styles */
section {
    padding: var(--section-padding);
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: var(--font-weight-bold);
    margin-bottom: 20px;
    color: var(--primary-color);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--primary-color);
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto;
}

/* About Section */
.about {
    background: var(--gray-50);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 80px;
    align-items: center;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--gray-700);
}

.about-text p {
    margin-bottom: 24px;
}

.about-features {
    display: grid;
    gap: 32px;
    margin-top: 40px;
}

.feature-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.feature-icon {
    font-size: 1.8rem;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    color: var(--white);
    border-radius: var(--border-radius);
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(26, 35, 126, 0.2);
}

.feature-item h4 {
    font-size: 1.25rem;
    font-weight: var(--font-weight-semibold);
    margin-bottom: 8px;
    color: var(--gray-800);
}

.feature-item p {
    color: var(--gray-600);
    margin: 0;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-xl);
}

.animate-float {
    animation: floatImage 6s ease-in-out infinite;
}

@keyframes floatImage {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
}

.service-card {
    background: var(--white);
    padding: 32px 24px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--gray-200);
    position: relative;
    overflow: hidden;
    text-align: center;
    min-height: 160px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary-color);
    transform: scaleX(0);
    transition: var(--transition);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.service-icon {
    font-size: 3.5rem;
    margin-bottom: 16px;
    display: block;
}

.service-card h3 {
    font-size: 1.25rem;
    font-weight: var(--font-weight-semibold);
    margin: 0;
    color: var(--gray-800);
    line-height: 1.3;
}

/* Products Section */
.products {
    background: var(--gray-50);
}

.products-showcase {
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.product-category {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.product-category.reverse {
    direction: rtl;
}

.product-category.reverse > * {
    direction: ltr;
}

.product-image {
    position: relative;
}

.product-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.product-image:hover img {
    transform: scale(1.05);
}

.product-info h3 {
    font-size: 2rem;
    font-weight: var(--font-weight-bold);
    margin-bottom: 20px;
    color: var(--gray-800);
}

.product-info p {
    font-size: 1.1rem;
    color: var(--gray-600);
    margin-bottom: 24px;
    line-height: 1.7;
}

.product-info ul {
    list-style: none;
    padding: 0;
}

.product-info li {
    padding: 8px 0;
    color: var(--gray-700);
    position: relative;
    padding-left: 24px;
}

.product-info li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: var(--font-weight-bold);
}

/* Contact Section */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

.contact-icon {
    font-size: 1.5rem;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    color: var(--white);
    border-radius: var(--border-radius);
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(26, 35, 126, 0.2);
}

.contact-item h4 {
    font-size: 1.25rem;
    font-weight: var(--font-weight-semibold);
    margin-bottom: 8px;
    color: var(--gray-800);
}

.contact-item p {
    color: var(--gray-600);
    line-height: 1.6;
}

.contact-form {
    background: var(--white);
    padding: 40px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
}

.form-group {
    margin-bottom: 24px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid var(--gray-200);
    border-radius: var(--border-radius);
    font-family: var(--font-family);
    font-size: 1rem;
    transition: var(--transition);
    background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
.footer {
    background: var(--gray-900);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-logo .logo-text {
    font-size: 2rem;
    margin-bottom: 16px;
    display: block;
    color: var(--white);
}

.footer-logo p {
    color: var(--gray-400);
    line-height: 1.6;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 1.25rem;
    font-weight: var(--font-weight-semibold);
    margin-bottom: 20px;
    color: var(--white);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--gray-400);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--white);
}

.footer-contact p {
    color: var(--gray-400);
    margin-bottom: 8px;
}

.social-links {
    margin-top: 16px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: var(--border-radius);
    transition: var(--transition);
    text-decoration: none;
    margin-right: 12px;
}

.social-link:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(26, 35, 126, 0.3);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--gray-800);
    color: var(--gray-400);
}

.hero-content{
    position: relative;
    top: 35px;
}
.modal-content{
    top: 3rem;;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 0;
        text-align: center;
        padding: 0 30px;
    }
    
    .hero-video {
        width: 100vw;
        height: 100vh;
        position: absolute;
        top: 0;
        left: 0;
    }
    
    .company-video {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-image {
        order: -1;
    }
    
    .product-category {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    .modal-content{
        top: 10rem;;
    }
}

@media (max-width: 768px) {
    .hero-video {
        width: 100vw;
        height: 100vh;
        position: absolute;
        top: 0;
        left: 0;
    }
    
    .company-video {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    .hero-stats-inline {
        gap: 20px;
        justify-content: center;
    }
    
    .industry-focus {
        justify-content: center;
        text-align: center;
    }
    
    .focus-separator {
        display: none;
    }
    
    .industry-focus {
        flex-direction: column;
        gap: 8px;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--white);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 60px;
        transition: var(--transition);
        box-shadow: var(--shadow-lg);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }
    
    .hero-stats {
        flex-direction: row;
        gap: 20px;
        padding: 20px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .btn-primary,
    .btn-secondary {
        padding: 16px 28px;
        font-size: 0.95rem;
    }
    
    .hero-text {
        text-align: center;
    }
    
    .about-hero .hero-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
        padding: 0 20px;
    }
    
    .about-hero .hero-text {
        text-align: center;
        order: 2;
    }
    
    .about-hero .hero-visual {
        order: 1;
        margin-bottom: 20px;
    }
    
    .about-title {
        text-align: center;
        font-size: 2.5rem;
    }
    
    .about-subtitle {
        text-align: center;
        font-size: 1.1rem;
    }
    
    .hero-description {
        text-align: center;
        max-width: 100%;
        margin: 0 auto;
    }
    
    .company-badge {
        margin-bottom: 20px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .nav-container {
        padding: 0 16px;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .service-card {
        padding: 30px 24px;
    }
    
    .contact-form {
        padding: 30px 24px;
    }
    
    section {
        padding: 80px 0;
    }
    
    .about-hero .hero-content {
        grid-template-columns: 1fr;
        gap: 20px;
        text-align: center;
        padding: 0 16px;
    }
    
    .about-hero .hero-text {
        text-align: center;
        order: 2;
    }
    
    .about-hero .hero-visual {
        order: 1;
        margin-bottom: 15px;
    }
    
    .about-title {
        text-align: center;
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .about-subtitle {
        text-align: center;
        font-size: 1rem;
        line-height: 1.4;
    }
    
    .hero-description {
        text-align: center;
        max-width: 100%;
        margin: 0 auto;
        font-size: 0.95rem;
        line-height: 1.6;
        padding: 0 10px;
    }
    
    .hero-visual .about-main-image {
        height: 200px;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition-slow);
}

.animate-on-scroll.animate {
    opacity: 1;
    transform: translateY(0);
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: var(--white);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--gray-100);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
}

/* Selection */
::selection {
    background: var(--primary-color);
    color: var(--white);
}

::-moz-selection {
    background: var(--primary-color);
    color: var(--white);
}

/* About Page Styles */
.company-story {
    padding: var(--section-padding);
    background: var(--gray-50);
}

.story-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: center;
}

.story-text p {
    margin-bottom: 20px;
    color: var(--gray-600);
    line-height: 1.8;
}

.story-stats {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.stat-item {
    text-align: center;
    padding: 30px;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
}

.stat-number {
    font-size: 48px;
    font-weight: var(--font-weight-bold);
    color: var(--primary-color);
    margin-bottom: 10px;
}

.stat-label {
    font-size: 14px;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.expertise-areas {
    padding: var(--section-padding);
    background: var(--white);
}

.expertise-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-top: 60px;
}

.expertise-card {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 40px;
    align-items: center;
    padding: 40px;
    background: var(--gray-50);
    border-radius: var(--border-radius-lg);
    transition: var(--transition);
}

.expertise-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.expertise-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: var(--border-radius);
}

.expertise-content h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 24px;
}

.expertise-content p {
    color: var(--gray-600);
    margin-bottom: 20px;
    line-height: 1.7;
}

.expertise-list {
    list-style: none;
    padding: 0;
}

.expertise-list li {
    padding: 8px 0;
    color: var(--gray-600);
    position: relative;
    padding-left: 25px;
}

.expertise-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: var(--font-weight-bold);
}

.team-section {
    padding: var(--section-padding);
    background: var(--gray-50);
}

.team-values {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.value-item {
    text-align: center;
    padding: 40px 30px;
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.value-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.value-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.value-item h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 20px;
}

.value-item p {
    color: var(--gray-600);
    line-height: 1.6;
}

.why-choose-us {
    padding: var(--section-padding);
    background: var(--white);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.advantage-item {
    text-align: center;
    padding: 30px 20px;
    background: var(--gray-50);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.advantage-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.advantage-icon {
    font-size: 40px;
    margin-bottom: 20px;
}

.advantage-item h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 18px;
}

.advantage-item p {
    color: var(--gray-600);
    line-height: 1.6;
    font-size: 14px;
}

.cta-section {
    padding: var(--section-padding);
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    text-align: center;
}

.cta-title {
    font-size: 36px;
    margin-bottom: 20px;
}

.cta-description {
    font-size: 18px;
    margin-bottom: 40px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.cta-buttons .btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid var(--white);
    color: var(--white);
}

.cta-buttons .btn-secondary:hover {
    background: var(--white);
    color: var(--primary-color);
}

/* News Page Styles */
.news-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.news-background-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.news-fullscreen-video {
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    object-position: center;
}

.news-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 2;
}

.news-content {
    position: relative;
    z-index: 3;
    text-align: center;
}

.news-title {
    font-size: 72px;
    font-weight: var(--font-weight-bold);
    color: var(--white);
    letter-spacing: 4px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

/* Contact Page Styles */
.contact-hero {
    padding: 160px 0 80px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    text-align: center;
}

.contact-title {
    font-size: 48px;
    margin-bottom: 20px;
}

.contact-subtitle {
    font-size: 18px;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.contact-info-section {
    padding: 80px 0;
    background: var(--gray-50);
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.contact-info-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: var(--transition);
}

.contact-info-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.contact-icon {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.contact-info-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 20px;
}

.contact-detail {
    color: var(--gray-700);
    margin-bottom: 10px;
    font-weight: var(--font-weight-medium);
}

.contact-detail a {
    color: var(--primary-color);
    text-decoration: none;
}

.contact-detail a:hover {
    text-decoration: underline;
}

.contact-description {
    color: var(--gray-600);
    font-size: 14px;
    line-height: 1.6;
}

.contact-form-section {
    padding: 80px 0;
    background: var(--white);
}

.form-header {
    text-align: center;
    margin-bottom: 60px;
}

.contact-form {
    max-width: 800px;
    margin: 0 auto;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 8px;
    color: var(--gray-700);
    font-weight: var(--font-weight-medium);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 15px;
    border: 2px solid var(--gray-200);
    border-radius: var(--border-radius);
    font-size: 16px;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(26, 35, 126, 0.1);
}

.form-actions {
    text-align: center;
    margin-top: 40px;
}

.map-section {
    padding: 80px 0;
    background: var(--gray-50);
}

.map-header {
    text-align: center;
    margin-bottom: 60px;
}

.map-container {
    position: relative;
    height: 400px;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.google-map {
    width: 100%;
    height: 100%;
}

/* Navigation active state */
.nav-menu a.active {
    color: var(--primary-color);
}

.nav-menu a.active::after {
    width: 100%;
}

/* Responsive Design Updates */
@media (max-width: 768px) {
    .story-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .expertise-card {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .news-title {
        font-size: 48px;
    }
    
    .news-fullscreen-video {
        width: 100%;
        height: 100%;
    }
    
    .contact-title {
        font-size: 36px;
    }
    
    .contact-info-grid {
        grid-template-columns: 1fr;
    }
}

/* Contact Page Simple Styles */
.contact-main-simple {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: 100vh;
    padding: 120px 0 80px;
}

.contact-header {
    text-align: center;
    margin-bottom: 80px;
}

.contact-title {
    font-size: 3rem;
    color: #2c3e50;
    margin-bottom: 20px;
    font-weight: 700;
}

.contact-subtitle {
    font-size: 1.2rem;
    color: #7f8c8d;
    max-width: 600px;
    margin: 0 auto;
}

.contact-grid-simple {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 800px;
    margin: 0 auto;
}

.contact-method-large {
    background: white;
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.contact-method-large:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.15);
}

.contact-method-large .method-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
}

.contact-method-large .method-content h3 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 15px;
    font-weight: 600;
}

.contact-method-large .method-content p {
    color: #7f8c8d;
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.contact-method-large .method-content a {
    color: #3498db;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-method-large .method-content a:hover {
    color: #2980b9;
}

.email-icon {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
}

.phone-icon {
    background: linear-gradient(135deg, #2ecc71, #27ae60);
    color: white;
}

.location-icon {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
}



/* Contact Page Responsive */
@media (max-width: 768px) {
    .contact-title {
        font-size: 2.5rem;
    }
    
    .contact-grid-simple {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .contact-method-large {
        padding: 30px;
    }
    
    .contact-method-large .method-icon {
        width: 60px;
        height: 60px;
    }
}

/* Product Page Styles */
.page-hero {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-title {
    font-size: 3.5rem;
    font-weight: var(--font-weight-bold);
    color: var(--white);
    text-align: center;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.page-subtitle {
    font-size: 1.2rem;
    color: var(--white);
    text-align: center;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.product-card {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.product-image {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 35, 126, 0.8), rgba(55, 71, 79, 0.8));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.product-info {
    text-align: center;
    color: var(--white);
    padding: 2rem;
}

.product-info h3 {
    font-size: 1.5rem;
    font-weight: var(--font-weight-semibold);
    margin-bottom: 1rem;
}

.product-info p {
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 1.5rem;
}

.btn-view-products {
    background: var(--white);
    color: var(--primary-color);
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: var(--border-radius);
    font-weight: var(--font-weight-medium);
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-view-products:hover {
    background: var(--gray-100);
    transform: translateY(-2px);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 35, 126, 0.9), rgba(55, 71, 79, 0.9));
    backdrop-filter: blur(10px);
}

@keyframes modalFadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes modalFadeOut {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

.modal-content {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    margin: 5% auto;
    padding: 0;
    width: 70%;
    max-width: 600px;
    border-radius: 24px;
    position: relative;
    max-height: 80vh;
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.25),
        0 0 0 1px rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

@keyframes modalContentSlideIn {
    0% {
        opacity: 0;
        transform: translateY(100%);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes modalContentSlideOut {
    0% {
        opacity: 1;
        transform: translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateY(100%);
    }
}

.modal-header {
    padding: 2rem 2rem 1.5rem 2rem;
    border-bottom: none;
    background: linear-gradient(135deg, rgba(26, 35, 126, 0.1), rgba(55, 71, 79, 0.05));
    border-radius: 24px 24px 0 0;
    position: relative;
}

.modal-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 2rem;
    right: 2rem;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(26, 35, 126, 0.3), transparent);
}

.modal-header h2 {
    font-size: 1.75rem;
    font-weight: 600;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
    text-align: center;
    letter-spacing: -0.02em;
}

.modal-body {
    padding: 2rem 2rem 5rem 2rem;
    border-radius: 0 0 24px 24px;
}

.close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--gray-600);
    cursor: pointer;
    z-index: 1001;
    transition: all 0.2s ease;
    opacity: 0.8;
}

.close:hover {
    background: rgba(255, 255, 255, 0.4);
    color: var(--gray-800);
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    opacity: 1;
}

/* Brand Logo Display */
.brand-logo-display {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    padding: 1rem;
}

.brand-logo-display img {
    width: 100%;
    max-width: 400px;
    height: 250px;
    object-fit: contain;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(248, 250, 252, 0.8));
    backdrop-filter: blur(10px);
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.brand-logo-display img:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

/* Navigation Controls */
.brand-navigation {
    position: absolute;
    bottom: -60px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    padding: 0.75rem 1.5rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.nav-btn {
    background: none;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    color: var(--gray-600);
    position: relative;
    overflow: hidden;
}

.nav-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    opacity: 0;
    border-radius: 50%;
    transition: opacity 0.2s ease;
}

.nav-btn:hover::before {
    opacity: 0.1;
}

.nav-btn:hover {
    color: var(--primary-color);
    transform: scale(1.1);
}

.nav-btn:active {
    transform: scale(0.95);
}

.nav-btn svg {
    width: 16px;
    height: 16px;
    position: relative;
    z-index: 1;
}

.brand-counter {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-700);
    min-width: 60px;
    text-align: center;
    letter-spacing: 0.02em;
}

.brand-dots {
    display: flex;
    gap: 0.5rem;
    margin: 0 0.75rem;
}

.brand-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gray-300);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
}

.brand-dot.active {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    transform: scale(1.2);
}

.brand-dot:hover {
    background: var(--gray-400);
    transform: scale(1.1);
}

/* Brands Section */
.brands {
    background: var(--gray-50);
    padding: 30px 0;
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.brand-item {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.2s ease;
    cursor: pointer;
}

.brand-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.brand-item img {
    width: 100px;
    height: 60px;
    object-fit: contain;
    margin-bottom: 1rem;
}

.brand-item span {
    font-weight: var(--font-weight-medium);
    color: var(--gray-700);
    font-size: 0.9rem;
    display: block;
    word-wrap: break-word;
    text-align: center;
    line-height: 1.2;
    max-width: 100%;
}

@media (min-width: 575px) and (max-width: 1024px) {
    .hero-description{
        max-width: 100%;
    }
    .hero-content{
        left: 3.75rem;
    }
    .about-hero .hero-text{
            margin-left: 0.75rem;
        }
}

@media (max-width: 1024px) {
    .hero-visual .about-main-image{
        display: none;
    }
     .about-hero .hero-text{
            order: 1;
        }
        .hero-buttons{
                margin-top: 20px;
        }
}

/* Responsive Design */
@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .page-title {
        font-size: 2.5rem;
    }
    
    .page-subtitle {
        font-size: 1rem;
    }
    
    .modal-content {
        width: 90%;
        margin: 10% auto;
        max-width: none;
        border-radius: 20px;
    }
    
    .modal-header {
        padding: 1.5rem 1.5rem 1rem 1.5rem;
        border-radius: 20px 20px 0 0;
    }
    
    .modal-header h2 {
        font-size: 1.5rem;
    }
    
    .modal-body {
        padding: 1.5rem 1.5rem 4rem 1.5rem;
        border-radius: 0 0 20px 20px;
    }
    
    .brand-navigation {
        bottom: -50px;
        padding: 0.5rem 1rem;
        gap: 0.75rem;
    }
    
    .nav-btn {
        width: 28px;
        height: 28px;
    }
    
    .nav-btn svg {
        width: 14px;
        height: 14px;
    }
    
    .brand-counter {
        font-size: 0.8rem;
        min-width: 50px;
    }
    
    .brand-dot {
        width: 4px;
        height: 4px;
    }
    
    .brand-dots {
        gap: 0.35rem;
        margin: 0 0.5rem;
    }
    
    .brand-logo-display {
        padding: 0.5rem;
    }
    
    .brand-logo-display img {
        height: 180px;
        max-width: 280px;
        padding: 1.5rem;
    }
    

    
    .close {
        width: 32px;
        height: 32px;
        font-size: 1.1rem;
        top: 1rem;
        right: 1rem;
    }
    
    .brands-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 1rem;
    }
    
    .brand-item {
        padding: 1rem;
    }
    
    .brand-item img {
        width: 80px;
        height: 50px;
    }
} 