:root {
    --primary-color: #003366;
    --secondary-color: #3699C9;
    --accent-color: #00D2BE;
    --light-bg: #F4F7F6;
    --dark-text: #1d1e24;
    --white: #ffffff;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    font-size: clamp(15px, 1.4vw, 18px);
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.5;
    color: var(--dark-text);
    background-color: var(--white);
    overflow-x: hidden;
    font-size: 1.05rem;
}

p {
    font-size: clamp(1rem, 1.2vw, 1.25rem);
    line-height: 1.8;
    color: var(--dark-text);
}

.hero-content p {
    font-size: clamp(1.05rem, 1.3vw, 1.35rem);
    color: rgba(29, 30, 36, 0.95);
    margin-bottom: 1.2rem;
}

.container {
    width: min(92%, 1200px);
    max-width: 1200px;
    margin: auto;
    padding: 1rem 0;
}

/* --- NAVIGATION --- */
header {
    background: var(--white);
    position: fixed;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
}

header.sticky {
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    padding: 0.2rem 0;
}

/* --- NAVIGATION --- */
nav {    position: relative;    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0 !important;
}

.navbar-logo {
    height: clamp(50px, 8vw, 90px);
    width: auto;
    transition: var(--transition);
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
}

.nav-links li {
    margin-left: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 600;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--secondary-color);
}

.burger {
    display: none;
    cursor: pointer;
    z-index: 1001;
    position: relative;
    width: 44px;
    height: 44px;
    padding: 0.8rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    touch-action: manipulation;
    pointer-events: auto;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 4px 0;
    transition: all 0.3s ease;
}

/* Burger Menu Animation */
.toggle .line1 {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.toggle .line2 {
    opacity: 0;
}

.toggle .line3 {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Mobile Navigation */
@media (max-width: 768px) {
    nav {
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        height: 100vh;
        width: 100%;
        background-color: rgba(255, 255, 255, 0.98);
        display: flex;
        flex-direction: column;
        align-items: center;
        transform: translateX(100%);
        transition: transform 0.4s ease-in-out;
        padding-top: 100px;
        box-shadow: -5px 0 20px rgba(0,0,0,0.1);
        z-index: 1100;
    }

    .nav-links.nav-active {
        transform: translateX(0);
    }

    .nav-links li {
        margin: 1rem 0;
    }

    .nav-links a {
        font-size: 1.1rem;
    }

    .burger {
        display: block;
    }
}



/* --- HERO SECTION --- */
.hero-new {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    background: url('images/hero.webp') no-repeat center center/cover;
    background-attachment: scroll;
    padding-top: 70px;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.7) 0%, rgba(224, 247, 250, 0.9) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 780px;
}

.hero-content h1 {
    font-size: clamp(2rem, 6vw, 3.4rem);
    color: var(--primary-color);
    margin-bottom: 1.2rem;
    font-weight: 800;
}

.hero-content .highlight {
    color: var(--secondary-color);
}

.hero-btns {
    display: flex;
    gap: 1rem;
}

/* --- BUTTONS --- */
.btn-primary {
    background: var(--secondary-color);
    color: white !important;
    padding: 0.9rem 1.6rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: var(--transition);
}

.btn-primary:hover {
    background: #008f7f;
    transform: translateY(-3px);
}

.btn-outline-brand {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 0.9rem 1.6rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.btn-outline-brand:hover {
    background: var(--primary-color);
    color: white;
}

/* --- GRID SYSTEMS --- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

@media (max-width: 768px) {
    .grid-4 { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
}

@media (max-width: 480px) {
    .grid-4 { grid-template-columns: 1fr; gap: 1rem; }
}

.section-title { text-align: center; margin-bottom: 2rem; }
.bg-light { background: var(--light-bg); }
.bg-dark { background: var(--primary-color); color: white; padding: 4rem 0; }

/* --- MISSION & VISION SECTION --- */
.mission-vision {
    padding: 4rem 0;
}

.mission-vision .container {
    padding: 2rem 0;
}

.card {
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.card:nth-child(1) {
    background: linear-gradient(135deg, rgba(0, 51, 102, 0.05) 0%, rgba(54, 153, 201, 0.05) 100%);
    border-left: 5px solid var(--primary-color);
}

.card:nth-child(2) {
    background: linear-gradient(135deg, rgba(0, 210, 190, 0.05) 0%, rgba(54, 153, 201, 0.05) 100%);
    border-left: 5px solid var(--accent-color);
}

.card h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 700;
}

.card:nth-child(2) h3 {
    color: var(--secondary-color);
}

.card p {
    color: var(--dark-text);
    font-size: 1.1rem;
    line-height: 1.8;
}

.card:hover {
    box-shadow: 0 10px 35px rgba(0, 51, 102, 0.15);
    transform: translateY(-8px);
}

@media (max-width: 768px) {
    .grid-2 {
        grid-template-columns: 1fr;
    }
    
    .card {
        padding: 2rem;
    }
    
    .card h3 {
        font-size: 1.5rem;
    }
}

.team-story {
    padding: 4rem 0;
    background: linear-gradient(180deg, rgba(244, 247, 246, 0.9) 0%, rgba(255, 255, 255, 1) 100%);
}

.team-story-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2rem;
    align-items: center;
}

.team-image {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 18px 45px rgba(0, 51, 102, 0.12);
    width: min(360px, 100%);
    max-width: 360px;
    aspect-ratio: 4 / 5;
    margin: 0 auto;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.team-text {
    padding: 1rem 0;
}

.team-story .section-title {
    font-size: 2.4rem;
    margin-bottom: 1rem;
}

.team-text p {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--dark-text);
    max-width: 620px;
}

@media (max-width: 1024px) {
    .team-story-grid {
        grid-template-columns: 1fr;
    }
    .team-image {
        max-width: 100%;
        aspect-ratio: 16 / 20;
    }
}

@media (max-width: 768px) {
    .team-story {
        padding: 4rem 0;
    }
    
    .team-story .section-title {
        font-size: 2rem;
    }

    .hero-new {
        min-height: 70vh;
        padding-top: 90px;
    }

    .hero-btns {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-btns a {
        width: 100%;
        justify-content: center;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .product-grid {
        gap: 2rem;
    }

    .product-card {
        padding: 1.8rem;
    }

    .product-image {
        height: 220px;
    }

    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .team-text p {
        font-size: 1rem;
    }

    .hero-btns a {
        padding: 0.9rem 1rem;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .product-image {
        height: 180px;
    }

    .product-card {
        padding: 1.2rem;
    }

    .team-story {
        padding: 3rem 0;
    }
}

/* --- PRODUCTS SECTION --- */
.products {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--white) 0%, rgba(54, 153, 201, 0.03) 100%);
    position: relative;
    overflow: hidden;
}

.products::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 210, 190, 0.1) 0%, transparent 70%);
    animation: float 6s ease-in-out infinite;
    z-index: 0;
}

.products::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(54, 153, 201, 0.08) 0%, transparent 70%);
    animation: float 8s ease-in-out infinite reverse;
    z-index: 0;
}

.products .container {
    position: relative;
    z-index: 1;
}

.section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.4rem);
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.75rem;
    margin-top: 2rem;
}

.product-card {
    background: var(--white);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 10px 40px rgba(0, 51, 102, 0.08);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.320, 1);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(54, 153, 201, 0.1);
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
    z-index: 10;
}

.product-card:hover::before {
    left: 100%;
}

.product-card:hover {
    box-shadow: 0 25px 50px rgba(54, 153, 201, 0.15);
    transform: translateY(-12px) scale(1.02);
    border-color: var(--secondary-color);
}

.product-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--accent-color));
}

.product-card h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-weight: 700;
    z-index: 1;
    position: relative;
}

.product-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    transition: transform 0.4s ease;
    z-index: 1;
    position: relative;
}

.product-card:hover .product-image {
    transform: scale(1.05);
}

.product-card p {
    color: var(--dark-text);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1.2rem;
    z-index: 1;
    position: relative;
}

.btn-primary, .btn-app {
    display: inline-block;
    padding: clamp(0.85rem, 1.3vw, 1.05rem) clamp(1.2rem, 2vw, 1.6rem);
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: clamp(0.95rem, 1.1vw, 1.05rem);
    z-index: 1;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--secondary-color), #2a7fa0);
    color: white;
    box-shadow: 0 5px 20px rgba(54, 153, 201, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(54, 153, 201, 0.4);
    background: linear-gradient(135deg, #2a7fa0, var(--secondary-color));
}

.btn-app {
    background: linear-gradient(135deg, var(--accent-color), #00a89a);
    color: white;
    box-shadow: 0 5px 20px rgba(0, 210, 190, 0.2);
}

.btn-app:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 210, 190, 0.3);
    background: linear-gradient(135deg, #00a89a, var(--accent-color));
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-30px);
    }
}

@media (max-width: 768px) {
    .products {
        padding: 4rem 0;
    }

    .section-title {
        font-size: 2rem;
        margin-bottom: 3rem;
    }

    .product-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .product-card {
        padding: 2rem;
    }

    .product-card h3 {
        font-size: 1.5rem;
    }

    .product-image {
        height: 200px;
    }

    .products::before {
        width: 300px;
        height: 300px;
    }

    .products::after {
        width: 250px;
        height: 250px;
    }
}

/* --- CONTACT SECTION --- */
#contact {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--light-bg) 0%, rgba(0, 51, 102, 0.03) 100%);
    position: relative;
    overflow: hidden;
}

#contact::before {
    content: '';
    position: absolute;
    top: -40%;
    left: -10%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(54, 153, 201, 0.1) 0%, transparent 70%);
    animation: float 7s ease-in-out infinite;
    z-index: 0;
}

#contact::after {
    content: '';
    position: absolute;
    bottom: -20%;
    right: -5%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 210, 190, 0.08) 0%, transparent 70%);
    animation: float 8s ease-in-out infinite reverse;
    z-index: 0;
}

#contact .container {
    position: relative;
    z-index: 1;
}

#contact .section-title {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

#contact > .container > p {
    text-align: center;
    color: var(--dark-text);
    margin-bottom: 2rem;
    font-size: 1.2rem;
}

.contact-grid {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    padding-bottom: 0.75rem;
    -webkit-overflow-scrolling: touch;
}

.contact-grid::-webkit-scrollbar {
    height: 6px;
}

.contact-grid::-webkit-scrollbar-thumb {
    background: rgba(54, 153, 201, 0.4);
    border-radius: 999px;
}

.contact-item {
    background: var(--white);
    padding: 1rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0, 51, 102, 0.08);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.320, 1);
    border: 1px solid rgba(54, 153, 201, 0.1);
    position: relative;
    overflow: hidden;
    flex: 0 0 auto;
    width: min(150px, 100%);
    min-width: 140px;
    max-width: 170px;
}

.contact-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--accent-color));
}

.contact-item i {
    font-size: 1.2rem;
    color: var(--secondary-color);
    margin-bottom: 0.6rem;
    display: block;
    transition: all 0.4s ease;
}

.contact-item h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.contact-item a {
    display: inline-block;
    font-size: 0.95rem;
    color: var(--dark-text);
    word-break: break-word;
    text-decoration: none;
}

.contact-item a:hover {
    color: var(--secondary-color);
}

.contact-item:hover i {
    color: var(--accent-color);
    transform: scale(1.1) rotate(5deg);
}

.contact-item h4 {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 700;
}

.contact-item a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    position: relative;
}

.contact-item a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: width 0.3s ease;
}

.contact-item a:hover {
    color: var(--accent-color);
}

.contact-item a:hover::after {
    width: 100%;
}

.contact-item:hover {
    box-shadow: 0 20px 50px rgba(54, 153, 201, 0.15);
    transform: translateY(-8px);
    border-color: var(--secondary-color);
}

/* --- FOOTER --- */
footer.footer {
    background: linear-gradient(135deg, var(--primary-color) 0%, #00254a 100%);
    color: var(--white);
    padding: 3rem 0;
    position: relative;
    overflow: hidden;
    border-top: 2px solid var(--accent-color);
}

footer.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(0, 210, 190, 0.1) 0%, transparent 50%);
    z-index: 0;
}

footer.footer::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: -30%;
    width: 400px;
    height: 300px;
    background: radial-gradient(circle, rgba(54, 153, 201, 0.08) 0%, transparent 70%);
    z-index: 0;
}

footer.footer .container {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 2rem 0;
}

footer.footer p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.95);
    margin: 0;
}

footer.footer a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

footer.footer a:hover {
    color: var(--white);
    text-decoration: underline;
}

/* --- RESPONSIVE ADJUSTMENTS --- */
@media (max-width: 768px) {
    #contact {
        padding: 4rem 0;
    }

    #contact .section-title {
        font-size: 2rem;
    }

    #contact > .container > p {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .contact-grid {
        display: flex;
        flex-wrap: nowrap;
        gap: 0.5rem;
    }

    .contact-item {
        padding: 0.9rem;
        width: min(145px, 100%);
        min-width: 130px;
        max-width: 160px;
    }

    .contact-item i {
        font-size: 1.4rem;
    }

    .contact-item h4 {
        font-size: 1.2rem;
    }

    footer.footer {
        padding: 2rem 0;
    }

    footer.footer p {
        font-size: 0.9rem;
    }

    #contact::before {
        width: 300px;
        height: 300px;
    }

    #contact::after {
        width: 250px;
        height: 250px;
    }
}
