/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-blue: #0066cc;
    --secondary-blue: #004d99;
    --light-blue: #e6f2ff;
    --accent-blue: #0080ff;
    --white: #ffffff;
    --text-dark: #1a1a1a;
    --text-gray: #666666;
    --shadow: rgba(0, 102, 204, 0.1);
    --shadow-hover: rgba(0, 102, 204, 0.2);
}

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

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

/* Navigation */
.navbar {
    background: var(--white);
    box-shadow: 0 2px 10px var(--shadow);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo-img {
    height: 60px;
    width: auto;
    object-fit: contain;
    max-width: 200px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 16px;
    transition: color 0.3s ease;
    position: relative;
}

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

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

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

.menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 5px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-blue);
    transition: all 0.3s ease;
    border-radius: 3px;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    padding-top: 80px;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>');
    opacity: 0.3;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(255,255,255,0.1) 0%, transparent 50%);
}

.hero-content {
    text-align: center;
    color: var(--white);
    z-index: 1;
    position: relative;
    padding: 40px 20px;
}

.hero-logo {
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
    will-change: transform;
    transform: translate3d(0, 0, 0);
    animation: float 3s ease-in-out infinite;
}

.hero-logo::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 180px;
    height: 60px;
    background: rgba(0, 0, 0, 0.15);
    border-radius: 50%;
    z-index: 0;
    filter: blur(20px);
    animation: shadow-float 3s ease-in-out infinite;
    will-change: transform;
    transform: translate3d(-50%, -50%, 0);
}

.hero-logo-img {
    max-width: 200px;
    height: auto;
    position: relative;
    z-index: 1;
    transform: translate3d(0, 0, 0);
    will-change: transform;
}

@keyframes shadow-float {
    0%, 100% {
        transform: translate3d(-50%, -30%, 0) scale(0.9);
        opacity: 0.4;
    }
    50% {
        transform: translate3d(-50%, -20%, 0) scale(1.1);
        opacity: 0.6;
    }
}

.hero-title {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 20px;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 40px;
    font-weight: 300;
}

.cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--white);
    color: var(--primary-blue);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    background: var(--light-blue);
}

.wave-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 120px;
    overflow: hidden;
    z-index: 2;
}

.wave-divider svg {
    width: 100%;
    height: 100%;
    display: block;
}

/* Section Styles */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 15px;
    position: relative;
}

.title-underline {
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--accent-blue));
    margin: 0 auto;
    border-radius: 2px;
    animation: expand 1s ease-out;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-gray);
    margin-top: 15px;
}

/* About Section */
.about {
    background: var(--light-blue);
    position: relative;
    z-index: 1;
    margin-top: -1px;
}

.about-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.about-text {
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px var(--shadow);
    transition: transform 0.3s ease;
}

.about-text:hover {
    transform: translateY(-5px);
}

.about-text h3 {
    color: var(--primary-blue);
    font-size: 1.8rem;
    margin-bottom: 20px;
    font-weight: 700;
}

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

/* Products Section */
.products {
    background: var(--white);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.product-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px var(--shadow);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

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

.product-image {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
    background: var(--light-blue);
}

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

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary-blue);
    color: var(--white);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.product-info {
    padding: 25px;
}

.product-info h3 {
    color: var(--primary-blue);
    font-size: 1.5rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.product-description {
    color: var(--text-gray);
    margin-bottom: 20px;
    font-size: 0.95rem;
    line-height: 1.6;
}

.product-price {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.price {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-blue);
}

.currency {
    font-size: 1.2rem;
}

.old-price {
    font-size: 1.2rem;
    color: var(--text-gray);
    text-decoration: line-through;
}

.installment {
    background: var(--light-blue);
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.installment-label {
    font-weight: 600;
    color: var(--primary-blue);
}

.installment-amount {
    color: var(--text-dark);
    font-weight: 600;
}

.product-btn {
    width: 100%;
    padding: 15px;
    background: var(--primary-blue);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Cairo', sans-serif;
}

.product-btn:hover {
    background: var(--secondary-blue);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px var(--shadow-hover);
}

/* Team Section */
.team {
    background: var(--light-blue);
}

.team-content {
    max-width: 1200px;
    margin: 0 auto;
}

.team-member {
    background: var(--white);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 20px var(--shadow);
    margin-bottom: 30px;
    display: flex;
    gap: 30px;
    align-items: center;
    transition: transform 0.3s ease;
}

.team-member:hover {
    transform: translateX(-10px);
}

.team-member.ceo {
    flex-direction: row;
}

.member-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--primary-blue);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--light-blue);
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.empty-avatar {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-blue));
    color: var(--white);
    font-size: 4rem;
    font-weight: 700;
    border-radius: 50%;
}

.member-info h3 {
    color: var(--primary-blue);
    font-size: 1.5rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.member-role {
    color: var(--accent-blue);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.member-description {
    color: var(--text-gray);
    line-height: 1.8;
}

.managers-title {
    text-align: center;
    font-size: 2rem;
    color: var(--primary-blue);
    margin: 60px 0 40px;
    font-weight: 700;
}

.managers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.team-member.manager {
    flex-direction: column;
    text-align: center;
}

.team-member.manager .member-image {
    margin: 0 auto;
}

.team-member.manager .empty-avatar {
    font-size: 3rem;
}

/* Contact Section */
.contact {
    background: var(--white);
}

.contact-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.contact-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--light-blue);
    border-radius: 50%;
    flex-shrink: 0;
    color: var(--primary-blue);
    padding: 12px;
}

.contact-icon svg {
    width: 100%;
    height: 100%;
}

.contact-item h4 {
    color: var(--primary-blue);
    font-size: 1.3rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.contact-item p {
    color: var(--text-gray);
    margin-bottom: 5px;
}

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

.contact-item a:hover {
    color: var(--secondary-blue);
    text-decoration: underline;
}

.social-media {
    text-align: center;
    background: var(--light-blue);
    padding: 50px 40px;
    border-radius: 15px;
}

.social-media h3 {
    color: var(--primary-blue);
    font-size: 2rem;
    margin-bottom: 40px;
    font-weight: 700;
}

.social-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.social-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 20px 30px;
    background: var(--white);
    border-radius: 15px;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 5px 20px var(--shadow);
    border: 2px solid transparent;
    min-width: 140px;
    color: var(--primary-blue);
}

.social-icon svg {
    width: 50px;
    height: 50px;
    transition: transform 0.3s ease;
    color: var(--primary-blue);
}

.social-icon span {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-blue);
}

.social-icon:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--shadow-hover);
    border-color: var(--primary-blue);
    background: var(--light-blue);
}

.social-icon:hover svg {
    transform: scale(1.1);
}

/* Footer */
.footer {
    background: var(--secondary-blue);
    color: var(--white);
    padding: 40px 0;
    text-align: center;
}

.footer-logo-img {
    height: 80px;
    width: auto;
    margin-bottom: 20px;
    max-width: 250px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 1;
}

.footer-text {
    margin: 10px 0;
    font-size: 1rem;
}

/* Animations */
@keyframes fade-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fade-in {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slide-up {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes expand {
    from {
        width: 0;
    }
    to {
        width: 100px;
    }
}

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

.animate-fade-up {
    animation: fade-up 1s ease-out;
}

.animate-fade-up-delay {
    animation: fade-up 1s ease-out 0.2s both;
}

.animate-fade-up-delay-2 {
    animation: fade-up 1s ease-out 0.4s both;
}

.animate-fade-in {
    animation: fade-in 1s ease-out;
}

.animate-fade-in-delay {
    animation: fade-in 1s ease-out 0.3s both;
}

.animate-fade-in-delay-2 {
    animation: fade-in 1s ease-out 0.6s both;
}

.animate-fade-in-delay-3 {
    animation: fade-in 1s ease-out 0.9s both;
}

.animate-slide-up {
    animation: slide-up 0.8s ease-out;
}

.animate-slide-up-delay {
    animation: slide-up 0.8s ease-out 0.1s both;
}

.animate-slide-up-delay-2 {
    animation: slide-up 0.8s ease-out 0.2s both;
}

.animate-slide-up-delay-3 {
    animation: slide-up 0.8s ease-out 0.3s both;
}

.animate-slide-up-delay-4 {
    animation: slide-up 0.8s ease-out 0.4s both;
}

.animate-slide-up-delay-5 {
    animation: slide-up 0.8s ease-out 0.5s both;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        right: -100%;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        padding: 30px 20px;
        box-shadow: 0 5px 20px var(--shadow);
        transition: right 0.3s ease;
        gap: 20px;
    }

    .nav-menu.active {
        right: 0;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-logo-img {
        max-width: 150px;
    }

    .section-title {
        font-size: 2rem;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .team-member {
        flex-direction: column;
        text-align: center;
    }

    .team-member.ceo {
        flex-direction: column;
    }

    .managers-grid {
        grid-template-columns: 1fr;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .social-media {
        padding: 30px 25px;
    }
    
    .social-icon {
        min-width: 120px;
        padding: 15px 20px;
    }
    
    .social-icon svg {
        width: 40px;
        height: 40px;
    }
    
    .social-icon span {
        font-size: 1rem;
    }
    
    .social-icons {
        gap: 15px;
    }

    section {
        padding: 60px 0;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .cta-button {
        padding: 12px 30px;
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .product-info {
        padding: 20px;
    }

    .price {
        font-size: 1.5rem;
    }

    .about-text {
        padding: 25px;
    }
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Loading Animation */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

/* Intersection Observer Animation Classes */
.fade-in-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

