:root {
    
    --primary-blue: #1e88e5;
    --primary-light: #42a5f5;
    --primary-dark: #1565c0;
    --accent-cyan: #00bcd4;
    --dark-blue: #0d47a1;
    --light-bg: #f5f9fc;
    --white: #ffffff;
    --text-dark: #263238;
    --text-gray: #546e7a;
    --text-light: #78909c;
    --gradient-1: linear-gradient(135deg, var(--primary-blue), var(--accent-cyan));
    --gradient-2: linear-gradient(135deg, var(--dark-blue), var(--primary-blue));
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.12);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: var(--text-dark);
    line-height: 1.7;
    overflow-x: hidden;
    background: var(--white);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-dark);
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

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

.main-header {
    background: var(--white);
    box-shadow: var(--shadow-sm);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

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

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 45px;
    width: auto;
    transition: transform 0.3s ease;
}

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

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.nav-links a {
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
}

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

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

.nav-links a:hover {
    color: var(--primary-blue);
}

.cta-button {
    background: var(--gradient-1);
    color: white;
    padding: 0.7rem 1.8rem;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(30, 136, 229, 0.3);
    border: none;
    cursor: pointer;
    text-transform: uppercase;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 136, 229, 0.4);
}


.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 24px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    position: relative;
    z-index: 1002;
    margin-left: auto;
    outline: none;
}

.mobile-menu-btn:focus {
    outline: none;
}

.mobile-menu-btn span {
    display: block;
    width: 100%;
    height: 3px;
    background: var(--primary-blue);
    transition: all 0.3s ease;
    border-radius: 3px;
    transform-origin: center;
    pointer-events: none;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: translateY(10.5px) rotate(45deg);
    background: var(--primary-dark);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: translateY(-10.5px) rotate(-45deg);
    background: var(--primary-dark);
}

body.menu-open {
    overflow: hidden;
}


.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.hero {
    margin-top: 80px;
    background: var(--gradient-2);
    color: white;
    padding: 8rem 2rem 6rem;
    position: relative;
    overflow: hidden;
}

.hero-decoration {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    overflow: hidden;
}

.hero-decoration .circle-1,
.hero-decoration .circle-2,
.hero-decoration .circle-3 {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
}

.hero-decoration .circle-1 {
    width: 600px;
    height: 600px;
    top: -200px;
    right: -150px;
    animation: float 20s infinite ease-in-out;
}

.hero-decoration .circle-2 {
    width: 400px;
    height: 400px;
    bottom: -100px;
    left: -100px;
    animation: float 15s infinite ease-in-out reverse;
}

.hero-decoration .circle-3 {
    width: 300px;
    height: 300px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: pulse 10s infinite ease-in-out;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(-30px, 30px) scale(1.1);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.1;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.15;
    }
}

.hero-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 5rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.15;
    font-weight: 800;
    color: white;
}

.hero-text p {
    font-size: 1.15rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    line-height: 1.8;
    max-width: 600px;
}

.hero-button {
    display: inline-block;
    background: white;
    color: var(--primary-blue);
    padding: 1rem 2.5rem;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.hero-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
}

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

.hero-visual svg {
    width: 100%;
    max-width: 450px;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.2));
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.section-header h2 {
    font-size: 2.8rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-weight: 800;
}

.section-header .subtitle {
    font-size: 1.15rem;
    color: var(--text-gray);
    line-height: 1.7;
}

.section-tag {
    display: inline-block;
    background: var(--gradient-1);
    color: white;
    padding: 0.5rem 1.2rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.services {
    padding: 7rem 2rem;
    background: var(--light-bg);
}

.services-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-1);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.service-card p {
    color: var(--text-gray);
    line-height: 1.8;
    font-size: 0.98rem;
}

.about-section {
    padding: 7rem 2rem;
    background: white;
}

.about-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 5rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.3;
    max-width: 600px;
}

.about-text p {
    font-size: 1.1rem;
    color: var(--text-gray);
    line-height: 1.9;
    margin-bottom: 3rem;
}

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

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: var(--light-bg);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    background: white;
    box-shadow: var(--shadow-md);
}

.stat-item h3 {
    font-size: 2.5rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-item p {
    font-size: 0.9rem;
    color: var(--text-gray);
}

.about-visual {
    position: relative;
    height: 400px;
}

.visual-box {
    position: absolute;
    border-radius: 20px;
    background: var(--gradient-1);
    box-shadow: var(--shadow-lg);
}

.visual-box.box-1 {
    width: 250px;
    height: 250px;
    top: 0;
    left: 0;
    opacity: 0.9;
    animation: float 8s infinite ease-in-out;
}

.visual-box.box-2 {
    width: 180px;
    height: 180px;
    bottom: 50px;
    right: 50px;
    background: var(--gradient-2);
    opacity: 0.85;
    animation: float 10s infinite ease-in-out reverse;
}

.visual-box.box-3 {
    width: 120px;
    height: 120px;
    top: 100px;
    right: 0;
    background: linear-gradient(135deg, var(--accent-cyan), var(--primary-light));
    opacity: 0.8;
    animation: float 12s infinite ease-in-out;
}

.products {
    padding: 7rem 2rem;
    background: white;
}

.products-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
}

.product-card {
    background: white;
    border: 2px solid var(--light-bg);
    border-radius: 25px;
    padding: 3rem;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-1);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.product-card:hover {
    border-color: var(--primary-blue);
    box-shadow: var(--shadow-lg);
    transform: translateY(-10px);
}

.product-card:hover::before {
    opacity: 0.03;
}

.product-card > * {
    position: relative;
    z-index: 1;
}

.product-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.product-icon {
    flex-shrink: 0;
}

.product-card h3 {
    font-size: 1.8rem;
    color: var(--text-dark);
}

.product-description {
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 2rem;
    font-size: 1rem;
}

.product-features {
    list-style: none;
    margin-bottom: 2rem;
}

.product-features li {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.8rem 0;
    color: var(--text-gray);
    font-size: 0.95rem;
}

.product-features li svg {
    flex-shrink: 0;
}

.product-link {
    display: inline-flex;
    align-items: center;
    color: var(--primary-blue);
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.product-link:hover {
    gap: 0.8rem;
    color: var(--primary-dark);
}

.contact {
    padding: 7rem 2rem;
    background: var(--light-bg);
}

.contact-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: start;
}

.contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.contact-info > p {
    font-size: 1.1rem;
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 3rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem;
    background: white;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
}

.contact-item svg {
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.contact-item h4 {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
    color: var(--text-dark);
}

.contact-item p {
    color: var(--text-gray);
    font-size: 0.95rem;
}

.contact-item a {
    color: var(--text-gray);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--primary-blue);
}

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

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.3rem;
    border: 2px solid var(--light-bg);
    border-radius: 12px;
    font-family: 'Lato', sans-serif;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 4px rgba(30, 136, 229, 0.1);
}

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

.submit-button {
    width: 100%;
    background: var(--gradient-1);
    color: white;
    padding: 1.1rem 2rem;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(30, 136, 229, 0.3);
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 136, 229, 0.4);
}

.main-footer {
    background: var(--text-dark);
    color: rgba(255, 255, 255, 0.8);
    padding: 4rem 2rem 2rem;
}

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

.footer-section {
    text-align: left;
}

.footer-section:first-child {
    text-align: center;
}

.footer-section:first-child p {
    text-align: center;
}

.footer-section h3 {
    color: white;
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.footer-logo {
    width: auto;
    height: 100px;
    margin: 0 auto 1.5rem;
    display: block;
}

.footer-section h4 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.footer-section p {
    line-height: 1.8;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.footer-section ul li a:hover {
    color: white;
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

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

.social-links a:hover {
    background: var(--primary-blue);
    transform: translateY(-3px);
}

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    margin-left: 1.5rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

@media (max-width: 1200px) {
    .hero-content,
    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .hero-visual,
    .about-visual {
        order: -1;
    }
    
    .about-visual {
        height: 300px;
        margin: 0 auto;
        max-width: 400px;
    }
    
    .container {
        padding: 0 1.5rem;
    }
}

@media (max-width: 968px) {
    
    .mobile-menu-btn {
        display: flex !important;
    }
    
    
    .cta-button {
        display: none !important;
    }
    
    
    .nav-links {
        position: fixed !important;
        top: 70px !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        max-height: 0 !important;
        background: white !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 0 !important;
        padding: 0 !important;
        margin: 0 !important;
        overflow: hidden !important;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1) !important;
        transition: max-height 0.4s ease, padding 0.3s ease !important;
        z-index: 999 !important;
    }
    
    .nav-links.active {
        max-height: 500px !important;
        padding: 1rem 0 !important;
    }
    
    .nav-links li {
        width: 100% !important;
        border-bottom: 1px solid var(--light-bg) !important;
        list-style: none !important;
    }
    
    .nav-links li a {
        display: block !important;
        padding: 1rem 2rem !important;
        width: 100% !important;
        color: var(--text-dark) !important;
    }
    
    .nav-links li a::after {
        display: none !important;
    }
    
    
    .navbar {
        padding: 1rem 1.5rem;
    }
    
    .logo-img {
        height: 35px;
    }
    
    
    .hero {
        padding: 5rem 1.5rem 4rem;
        margin-top: 70px;
    }
    
    .hero-text h1 {
        font-size: 2.2rem;
        line-height: 1.2;
    }
    
    .hero-text p {
        font-size: 1rem;
    }
    
    .hero-visual svg {
        max-width: 300px;
    }
    
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .section-header .subtitle {
        font-size: 1rem;
    }
    
    
    .services,
    .about-section,
    .products,
    .contact {
        padding: 4rem 1.5rem;
    }
    
    .services-grid,
    .products-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    
    .about-text h2 {
        font-size: 2rem;
    }
    
    .about-text p {
        font-size: 1rem;
    }
    
    .stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contact-info h2 {
        font-size: 2rem;
    }
    
    .contact-form {
        padding: 2rem;
    }
    
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .footer-links a {
        margin-left: 0;
        margin-right: 1rem;
    }
}

@media (max-width: 640px) {
    
    .hero-text h1 {
        font-size: 1.8rem;
    }
    
    .hero-text p {
        font-size: 0.95rem;
        margin-bottom: 2rem;
    }
    
    .hero-button {
        padding: 0.9rem 2rem;
        font-size: 0.95rem;
    }
    
    
    .services,
    .about-section,
    .products,
    .contact {
        padding: 3rem 1rem;
    }
    
    .section-header {
        margin-bottom: 2.5rem;
    }
    
    .section-header h2 {
        font-size: 1.75rem;
    }
    
    
    .service-card,
    .product-card {
        padding: 2rem 1.5rem;
    }
    
    .service-card h3,
    .product-card h3 {
        font-size: 1.3rem;
    }
    
    
    .stat-item h3 {
        font-size: 2rem;
    }
    
    .stat-item p {
        font-size: 0.85rem;
    }
    
    
    .contact-form {
        padding: 1.5rem;
        border-radius: 20px;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 0.9rem 1.1rem;
        font-size: 0.9rem;
    }
    
    .submit-button {
        padding: 1rem 1.5rem;
        font-size: 0.95rem;
    }
    
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-section {
        text-align: center;
    }
    
    .footer-logo {
        height: 60px;
        margin: 0 auto 1.5rem;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .footer-section ul {
        text-align: center;
    }
    
    .footer-bottom {
        font-size: 0.85rem;
    }
    
    
    .about-visual {
        height: 250px;
    }
    
    .visual-box.box-1 {
        width: 180px;
        height: 180px;
    }
    
    .visual-box.box-2 {
        width: 130px;
        height: 130px;
    }
    
    .visual-box.box-3 {
        width: 90px;
        height: 90px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 4rem 1rem 3rem;
    }
    
    .hero-text h1 {
        font-size: 1.5rem;
    }
    
    .hero-text p {
        font-size: 0.9rem;
    }
    
    .section-header h2 {
        font-size: 1.5rem;
    }
    
    .service-card,
    .product-card {
        padding: 1.5rem;
    }
    
    .contact-form {
        padding: 1.25rem;
    }
    
    .footer-logo {
        height: 50px;
    }
}
