/* css/index.css - Styles for homepage */

:root {
    --primary: #2C3E50;
    --primary-light: #34495E;
    --secondary: #E67E22;
    --secondary-light: #F39C12;
    --accent: #27AE60;
    --dark: #1a1a2e;
    --light: #f8f9fa;
    --white: #ffffff;
    --gray: #95a5a6;
    --gradient: linear-gradient(135deg, var(--primary), var(--primary-light));
    --gradient-accent: linear-gradient(135deg, var(--secondary), var(--secondary-light));
    --shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 20px 60px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Noto Sans Ethiopic', sans-serif;
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--light);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(var(--primary), var(--primary-light));
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(44, 62, 80, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 30px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-icon {
    width: 55px;
    height: 55px;
    background: var(--white);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--primary);
    transform: rotate(-5deg);
    transition: var(--transition);
    box-shadow: var(--shadow);
    overflow: hidden;
    position: relative;
    border: 2px solid rgba(255,255,255,0.3);
}

.logo-icon::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;
}

.logo:hover .logo-icon::before {
    left: 100%;
}

.logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.logo:hover .logo-icon img {
    transform: scale(1.1);
}

.logo-text h1 {
    font-size: 24px;
    font-weight: 800;
    color: var(--white);
    line-height: 1.2;
}

.logo-text p {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    gap: 40px;
    list-style: none;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    transition: var(--transition);
    position: relative;
    padding: 5px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary);
    transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.nav-buttons {
    display: flex;
    gap: 15px;
}

.btn {
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 2px solid transparent;
    cursor: pointer;
}

.btn-outline {
    background: transparent;
    border-color: var(--white);
    color: var(--white);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--primary);
    transform: translateY(-3px);
}

.btn-primary {
    background: var(--secondary);
    color: var(--white);
    border-color: var(--secondary);
}

.btn-primary:hover {
    background: var(--secondary-light);
    border-color: var(--secondary-light);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(230, 126, 34, 0.4);
}

.btn-large {
    padding: 16px 40px;
    font-size: 16px;
}

/* Language Dropdown - Same as internal pages */
.language-dropdown {
    position: relative;
    display: inline-block;
}

.language-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.15);
    border: none;
    padding: 8px 15px;
    border-radius: 50px;
    color: white;
    cursor: pointer;
    transition: var(--transition);
    height: 45px;
    font-size: 14px;
    border: 1px solid rgba(255,255,255,0.2);
}

.language-btn:hover {
    background: rgba(255,255,255,0.25);
    transform: translateY(-2px);
}

.language-btn i {
    font-size: 16px;
}

.lang-code {
    font-weight: 600;
}

.language-dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 180px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    display: none;
    z-index: 1001;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.05);
}

.language-dropdown-menu.show {
    display: block;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.language-dropdown-item {
    display: block;
    padding: 12px 20px;
    color: var(--dark);
    text-decoration: none;
    transition: var(--transition);
    border-bottom: 1px solid #eee;
    font-size: 14px;
}

.language-dropdown-item:hover {
    background: #f8f9fa;
    padding-left: 25px;
    color: var(--secondary);
}

.language-dropdown-item.active {
    background: rgba(230,126,34,0.1);
    color: var(--secondary);
    font-weight: 600;
}

.language-dropdown-item:last-child {
    border-bottom: none;
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 28px;
    cursor: pointer;
    z-index: 1001;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 350px;
    height: 100vh;
    background: var(--white);
    z-index: 2000;
    padding: 100px 40px 40px;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -10px 0 50px rgba(0, 0, 0, 0.1);
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu ul {
    list-style: none;
}

.mobile-menu li {
    margin-bottom: 25px;
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.3s ease;
    transition-delay: calc(0.1s * var(--i));
}

.mobile-menu.active li {
    opacity: 1;
    transform: translateX(0);
}

.mobile-menu a {
    color: var(--dark);
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 20px;
    border-radius: 12px;
    transition: var(--transition);
}

.mobile-menu a i {
    width: 30px;
    color: var(--secondary);
}

.mobile-menu a:hover {
    background: var(--light);
    transform: translateX(10px);
}

.mobile-buttons {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.mobile-buttons .btn {
    text-align: center;
    justify-content: center;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    z-index: 1500;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Mobile Language Dropdown */
.mobile-language-dropdown {
    margin: 20px 0;
    padding: 15px 20px;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.mobile-language-dropdown h4 {
    font-size: 14px;
    color: var(--dark);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.mobile-language-dropdown h4 i {
    color: var(--secondary);
}

.mobile-language-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mobile-language-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
    background: #f8f9fa;
    border-radius: 10px;
    color: var(--dark);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
}

.mobile-language-link i {
    width: 20px;
    color: var(--secondary);
}

.mobile-language-link:hover {
    background: var(--secondary);
    color: white;
}

.mobile-language-link:hover i {
    color: white;
}

.mobile-language-link.active {
    background: var(--secondary);
    color: white;
}

.mobile-language-link.active i {
    color: white;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    background: linear-gradient(135deg, #2C3E50 0%, #3498DB 100%);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 100px 0;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    animation: float 20s infinite;
}

.shape1 {
    width: 500px;
    height: 500px;
    top: -200px;
    right: -200px;
    animation-delay: 0s;
}

.shape2 {
    width: 300px;
    height: 300px;
    bottom: -100px;
    left: -100px;
    animation-delay: -5s;
}

.shape3 {
    width: 200px;
    height: 200px;
    bottom: 50%;
    right: 20%;
    animation-delay: -10s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(50px, 50px) rotate(90deg); }
    50% { transform: translate(0, 100px) rotate(180deg); }
    75% { transform: translate(-50px, 50px) rotate(270deg); }
}

.hero-section .container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 30px;
    position: relative;
    z-index: 10;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text {
    color: var(--white);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 14px;
    margin-bottom: 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: slideDown 1s ease;
}

.hero-badge i {
    color: var(--secondary);
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-text h1 {
    font-size: 58px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    animation: slideUp 1s ease 0.2s both;
}

.hero-text .highlight {
    color: var(--secondary);
    position: relative;
    display: inline-block;
}

.hero-text .highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 10px;
    background: rgba(230, 126, 34, 0.3);
    z-index: -1;
}

.hero-text p {
    font-size: 18px;
    margin-bottom: 40px;
    opacity: 0.9;
    animation: slideUp 1s ease 0.4s both;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
    animation: slideUp 1s ease 0.6s both;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 36px;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 14px;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
    animation: slideUp 1s ease 0.8s both;
}

.hero-trust {
    animation: slideUp 1s ease 1s both;
}

.trust-badges {
    display: flex;
    gap: 30px;
}

.trust-badges span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

.trust-badges i {
    color: var(--secondary);
}

.hero-image {
    position: relative;
    animation: fadeInRight 1s ease 0.5s both;
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Slideshow Styles */
.slideshow-container {
    position: relative;
    width: 100%;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: var(--shadow-hover);
}

.slide {
    display: none;
    width: 100%;
    animation: fadeEffect 1.5s ease;
}

.slide img {
    width: 100%;
    height: auto;
    display: block;
    transform: perspective(1000px) rotateY(-5deg);
    transition: var(--transition);
}

.hero-image:hover .slide img {
    transform: perspective(1000px) rotateY(0deg);
}

@keyframes fadeEffect {
    from {opacity: 0.4}
    to {opacity: 1}
}

.slideshow-dots {
    text-align: center;
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    z-index: 10;
}

.dot {
    cursor: pointer;
    height: 12px;
    width: 12px;
    margin: 0 5px;
    background-color: rgba(255,255,255,0.5);
    border-radius: 50%;
    display: inline-block;
    transition: var(--transition);
    border: 2px solid transparent;
}

.dot.active, .dot:hover {
    background-color: var(--secondary);
    transform: scale(1.2);
    border-color: white;
}

.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 25px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: var(--shadow-hover);
    animation: floatCard 3s infinite;
    z-index: 20;
}

.floating-card i {
    font-size: 30px;
    color: var(--secondary);
}

.floating-card h4 {
    font-size: 16px;
    color: var(--dark);
    margin-bottom: 5px;
}

.floating-card p {
    font-size: 14px;
    color: var(--gray);
    margin: 0;
}

.card1 {
    top: 10%;
    right: -10%;
    animation-delay: 0s;
}

.card2 {
    bottom: 20%;
    left: -10%;
    animation-delay: 1s;
}

.card3 {
    top: 40%;
    right: -5%;
    animation-delay: 2s;
}

@keyframes floatCard {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}

.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    animation: bounce 2s infinite;
}

.scroll-down a {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.scroll-down a:hover {
    background: var(--secondary);
    transform: scale(1.1);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) translateX(-50%);
    }
    40% {
        transform: translateY(-30px) translateX(-50%);
    }
    60% {
        transform: translateY(-15px) translateX(-50%);
    }
}

/* Section Styles */
.section {
    padding: 120px 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 80px;
}

.section-subtitle {
    display: inline-block;
    font-size: 16px;
    font-weight: 600;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    position: relative;
}

.section-subtitle::before,
.section-subtitle::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 50px;
    height: 2px;
    background: var(--secondary);
}

.section-subtitle::before {
    left: -70px;
}

.section-subtitle::after {
    right: -70px;
}

.section-title {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--dark);
    line-height: 1.3;
}

.section-description {
    font-size: 18px;
    color: var(--gray);
}

/* About Section */
.about-section {
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-content h3 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--dark);
}

.about-content p {
    font-size: 16px;
    color: var(--gray);
    margin-bottom: 30px;
    line-height: 1.8;
}

.mission-vision {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

.mv-item {
    display: flex;
    gap: 20px;
}

.mv-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.1), rgba(52, 152, 219, 0.1));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--primary);
}

.mv-text h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--dark);
}

.mv-text p {
    font-size: 14px;
    margin: 0;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.about-feature i {
    color: var(--accent);
    font-size: 18px;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    border-radius: 30px;
    box-shadow: var(--shadow);
}

.experience-badge {
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, var(--secondary), var(--secondary-light));
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
    box-shadow: var(--shadow-hover);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.experience-badge .years {
    font-size: 36px;
    font-weight: 800;
    line-height: 1;
}

.experience-badge .text {
    font-size: 14px;
    text-align: center;
    padding: 0 10px;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    transition: var(--transition);
    z-index: -1;
    opacity: 0;
}

.service-card:hover::before {
    height: 100%;
    opacity: 1;
}

.service-card:hover {
    transform: translateY(-15px);
    color: var(--white);
}

.service-card:hover .service-icon {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
}

.service-card:hover h3,
.service-card:hover p,
.service-card:hover .service-link {
    color: var(--white);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: rgba(44, 62, 80, 0.1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: var(--primary);
    margin-bottom: 30px;
    transition: var(--transition);
}

.service-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
    transition: var(--transition);
}

.service-card p {
    color: var(--gray);
    margin-bottom: 25px;
    transition: var(--transition);
    line-height: 1.7;
}

.service-link {
    color: var(--secondary);
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
}

.service-link i {
    transition: var(--transition);
}

.service-link:hover i {
    transform: translateX(5px);
}

/* Values Section */
.values-section {
    background: linear-gradient(135deg, #2C3E50, #3498DB);
    position: relative;
    overflow: hidden;
}

.values-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" opacity="0.1"><circle cx="50" cy="50" r="40"/></svg>') repeat;
    animation: moveBackground 20s linear infinite;
}

@keyframes moveBackground {
    from {
        transform: translate(0, 0);
    }
    to {
        transform: translate(100px, 100px);
    }
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
    position: relative;
    z-index: 2;
}

.value-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 40px 20px;
    border-radius: 20px;
    text-align: center;
    color: var(--white);
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.value-card:hover {
    transform: translateY(-15px) scale(1.05);
    background: rgba(255, 255, 255, 0.2);
}

.value-card i {
    font-size: 48px;
    margin-bottom: 20px;
    color: var(--secondary);
}

.value-card h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
}

.value-card p {
    font-size: 14px;
    opacity: 0.9;
    margin: 0;
}

/* Stats Section */
.stats-section {
    padding: 80px 0;
    background: var(--light);
}

.stats-wrapper {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.stat-box {
    background: var(--white);
    padding: 40px 20px;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.stat-box::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--secondary), var(--secondary-light));
    transform: scaleX(0);
    transition: var(--transition);
}

.stat-box:hover::before {
    transform: scaleX(1);
}

.stat-box:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.stat-box i {
    font-size: 48px;
    color: var(--secondary);
    margin-bottom: 20px;
}

.stat-number {
    font-size: 42px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 10px;
}

.stat-label {
    font-size: 16px;
    color: var(--gray);
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info {
    display: grid;
    gap: 30px;
}

.info-item {
    display: flex;
    gap: 20px;
    padding: 25px;
    background: var(--white);
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.info-item:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-hover);
}

.info-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.1), rgba(52, 152, 219, 0.1));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--primary);
}

.info-content h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--dark);
}

.info-content p {
    color: var(--gray);
    margin: 5px 0;
    font-size: 15px;
}

.social-media {
    margin-top: 20px;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icons a {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
    font-size: 20px;
}

.social-icons a:hover {
    transform: translateY(-5px) rotate(360deg);
    background: var(--secondary);
}

.contact-form {
    background: var(--white);
    padding: 50px;
    border-radius: 30px;
    box-shadow: var(--shadow-hover);
}

.contact-form h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--dark);
}

.form-group {
    margin-bottom: 20px;
}

.form-control {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #eee;
    border-radius: 15px;
    font-size: 16px;
    transition: var(--transition);
    font-family: inherit;
}

.form-control:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 0 5px rgba(230, 126, 34, 0.1);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.submit-btn {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white);
    border: none;
    border-radius: 15px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.submit-btn:hover {
    background: var(--secondary);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(230, 126, 34, 0.4);
}

/* Footer */
.footer {
    background: var(--primary);
    color: var(--white);
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-about {
    padding-right: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.footer-logo .logo-icon {
    background: var(--secondary);
    color: var(--white);
    width: 50px;
    height: 50px;
    transform: rotate(0deg);
}

.footer-logo .logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.footer-logo h3 {
    font-size: 20px;
    font-weight: 700;
}

.footer-logo p {
    font-size: 12px;
    opacity: 0.8;
}

.footer-about p {
    font-size: 14px;
    line-height: 1.8;
    opacity: 0.8;
}

.footer-links h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

.footer-links h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--secondary);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.footer-links a:hover {
    color: var(--secondary);
    transform: translateX(5px);
}

.footer-links i {
    font-size: 12px;
    color: var(--secondary);
}

.footer-bottom {
    padding: 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    width: 100%;
}

.footer-bottom-links {
    display: flex;
    gap: 15px;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
    font-size: 14px;
}

.footer-bottom-links a:hover {
    color: var(--secondary);
}

.developer-credit {
    border-left: 1px solid rgba(255,255,255,0.2);
    padding-left: 20px;
}

.developer-credit p {
    font-size: 13px;
    margin: 0;
}

.developer-credit a {
    color: var(--secondary);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.developer-credit a:hover {
    color: var(--secondary-light);
    text-decoration: underline;
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 55px;
    height: 55px;
    background: var(--secondary);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 100;
    box-shadow: 0 5px 20px rgba(230, 126, 34, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    transform: translateY(-5px) scale(1.1);
    background: var(--secondary-light);
}

/* Loading Animation */
.loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--white);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader {
    width: 80px;
    height: 80px;
    border: 5px solid var(--light);
    border-top-color: var(--secondary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Mobile Menu Fixes */
html, body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

.mobile-menu {
    width: 85%;
    max-width: 320px;
    padding: 80px 20px 30px;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .hero-text h1 {
        font-size: 48px;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .values-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .nav-links,
    .nav-buttons {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 42px;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .trust-badges {
        justify-content: center;
    }

    .hero-image {
        max-width: 500px;
        margin: 0 auto;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .floating-card {
        display: none;
    }
    
    .logo-icon {
        width: 45px;
        height: 45px;
    }
    
    .logo-text h1 {
        font-size: 20px;
    }
    
    .nav-right {
        gap: 10px;
    }
    
    .language-btn .lang-code {
        display: none;
    }
    
    .language-btn {
        padding: 8px;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 80px 0;
    }

    .section-title {
        font-size: 32px;
    }

    .hero-text h1 {
        font-size: 36px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }

    .trust-badges {
        flex-direction: column;
        align-items: center;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .stats-wrapper {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-form {
        padding: 30px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-bottom-links {
        flex-direction: column;
        gap: 15px;
    }
    
    .developer-credit {
        border-left: none;
        padding-left: 0;
        margin-top: 10px;
    }
    
    .logo-icon {
        width: 40px;
        height: 40px;
    }
    
    .logo-text h1 {
        font-size: 18px;
    }
    
    .logo-text p {
        font-size: 10px;
    }
    
    .slideshow-dots {
        bottom: 10px;
    }
    
    .dot {
        height: 8px;
        width: 8px;
    }
}

@media (max-width: 480px) {
    .stats-wrapper {
        grid-template-columns: 1fr;
    }

    .mobile-menu {
        width: 100%;
        padding: 80px 15px 30px;
    }
    
    .mobile-menu a {
        font-size: 16px;
        padding: 10px 15px;
    }
    
    .mobile-buttons .btn {
        padding: 12px 20px;
        font-size: 14px;
    }
    
    .navbar .container {
        padding: 0 20px;
    }
    
    .logo-icon {
        width: 35px;
        height: 35px;
    }
    
    .logo-text h1 {
        font-size: 16px;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }
}
/* Mobile Language Dropdown - Collapsible Fix */
.mobile-language-dropdown {
    margin: 15px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.mobile-language-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    cursor: pointer;
    transition: var(--transition);
}

.mobile-language-header:hover {
    background: #f8f9fa;
}

.mobile-language-header h4 {
    font-size: 14px;
    color: var(--dark);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.mobile-language-header h4 i {
    color: var(--secondary);
}

.mobile-language-header i {
    transition: transform 0.3s ease;
    color: var(--gray);
}

.mobile-language-links {
    display: none;
    padding: 0 20px 15px 20px;
}

.mobile-language-links.show {
    display: block;
    animation: slideDown 0.3s ease;
}

.mobile-language-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
    background: #f8f9fa;
    border-radius: 8px;
    color: var(--dark);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
    margin-bottom: 8px;
}

.mobile-language-link:last-child {
    margin-bottom: 0;
}

.mobile-language-link i {
    width: 20px;
    color: var(--secondary);
}

.mobile-language-link:hover {
    background: var(--secondary);
    color: white;
    transform: translateX(5px);
}

.mobile-language-link:hover i {
    color: white;
}

.mobile-language-link.active {
    background: var(--secondary);
    color: white;
}

.mobile-language-link.active i {
    color: white;
}

/* Fix for mobile menu to ensure buttons are visible */
.mobile-menu {
    overflow-y: auto;
    padding-bottom: 30px;
    display: flex;
    flex-direction: column;
}

.mobile-buttons {
    margin-top: 20px;
    padding: 0 20px;
}

.mobile-buttons .btn {
    width: 100%;
    margin-bottom: 10px;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Ensure mobile menu doesn't hide content */
.mobile-menu ul {
    flex-shrink: 0;
}

.mobile-language-dropdown {
    flex-shrink: 0;
}

.mobile-buttons {
    flex-shrink: 0;
}