/* ===== CSS Variables ===== */
:root {
    --primary-blue: #2196F3;
    --secondary-orange: #FF6B35;
    --dark-black: #1a1a1a;
    --light-gray: #f5f5f5;
    --white: #ffffff;
    --text-dark: #333333;
    --text-light: #666666;
    --border-color: #e0e0e0;
    --blue-dark: #1976D2;
}

/* ===== Global Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: #ffffff;
    overflow-x: hidden;
}

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

.container-full {
    width: 100%;
    padding: 0;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ===== Top Bar ===== */
.top-bar {
    background-color: var(--dark-black);
    color: var(--white);
    padding: 10px 0;
    font-size: 14px;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.contact-info {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
}

.contact-info span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.contact-info i {
    color: var(--primary-blue);
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.social-icons {
    display: flex;
    gap: 10px;
}

.social-icons a,
.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: white;
    font-size: 16px;
}

/* Social Media Brand Colors */
.social-icons a:nth-child(1),
.footer-social a:nth-child(1) {
    background: #1877F2;
}

.social-icons a:nth-child(1):hover,
.footer-social a:nth-child(1):hover {
    background: #145dbf;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(24, 119, 242, 0.4);
}

.social-icons a:nth-child(2),
.footer-social a:nth-child(2) {
    background: #0A66C2;
}

.social-icons a:nth-child(2):hover,
.footer-social a:nth-child(2):hover {
    background: #084d94;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(10, 102, 194, 0.4);
}

.social-icons a:nth-child(3),
.footer-social a:nth-child(3) {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-icons a:nth-child(3):hover,
.footer-social a:nth-child(3):hover {
    background: linear-gradient(45deg, #d67d2e 0%, #c85a35 25%, #b8223a 50%, #a81f5a 75%, #9d1574 100%);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(225, 48, 108, 0.4);
}

.social-icons a:nth-child(4),
.footer-social a:nth-child(4) {
    background: #000000;
}

.social-icons a:nth-child(4):hover,
.footer-social a:nth-child(4):hover {
    background: #1a1a1a;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
}

.lang-switcher {
    background-color: transparent;
    border: 2px solid var(--primary-blue);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
}

.lang-switcher:hover {
    background-color: var(--primary-blue);
    transform: translateY(-2px);
}

/* ===== Header ===== */
.header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header.scrolled {
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

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

.logo img {
    height: 60px;
    width: auto;
}

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

.nav-link {
    color: var(--text-dark);
    font-weight: 600;
    padding: 10px 0;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-blue);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background-color: var(--primary-blue);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--white);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    border-radius: 8px;
    min-width: 250px;
    padding: 15px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    list-style: none;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    padding: 0;
}

.dropdown-menu a {
    display: block;
    padding: 12px 25px;
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.dropdown-menu a:hover {
    background-color: var(--light-gray);
    color: var(--primary-blue);
    padding-left: 35px;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--text-dark);
    cursor: pointer;
}

/* ===== Hero Slideshow ===== */
.hero-slideshow {
    position: relative;
    width: 100%;
    height: 650px;
    overflow: hidden;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.slideshow-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    display: none;
    position: relative;
    width: 100%;
    height: 100%;
}

.slide.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.slide-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(33, 150, 243, 0.75), rgba(33, 150, 243, 0.5));
    z-index: 1;
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 2;
    width: 80%;
    max-width: 800px;
}

.slide-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.8s ease;
}

.slide-content p {
    font-size: 1.5rem;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.8s ease 0.2s backwards;
}

.slide-content .btn-primary {
    animation: slideUp 0.8s ease 0.4s backwards;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.prev,
.next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 16px 20px;
    text-decoration: none;
    font-size: 22px;
    font-weight: bold;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.3s ease;
    z-index: 10;
    user-select: none;
}

.prev {
    left: 20px;
}

.next {
    right: 20px;
}

.prev:hover,
.next:hover {
    background-color: rgba(33, 150, 243, 0.9);
    transform: translateY(-50%) scale(1.1);
}

.dots-container {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 10px;
}

.dot {
    height: 15px;
    width: 15px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.dot:hover,
.dot.active {
    background-color: var(--primary-blue);
    border-color: white;
    transform: scale(1.2);
}

/* ===== Buttons ===== */
.btn-primary {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-blue), var(--blue-dark));
    color: white;
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(33, 150, 243, 0.3);
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(33, 150, 243, 0.4);
}

/* ===== Sections ===== */
section {
    padding: 80px 0;
}

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

.section-header h2 {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 15px;
    font-weight: 700;
}

.divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--secondary-orange));
    margin: 0 auto 20px;
    border-radius: 2px;
}

.divider-left {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--secondary-orange));
    margin: 0 0 20px 0;
    border-radius: 2px;
}

.section-header p {
    color: var(--text-light);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ===== About Section ===== */
.about-section {
    background-color: var(--white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 15px;
    font-weight: 700;
}

.about-text p {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 20px;
    line-height: 1.8;
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 40px 0;
}

.stat-item {
    text-align: center;
    padding: 20px;
}

.stat-item h3 {
    font-size: 2.5rem;
    color: var(--primary-blue);
    font-weight: 700;
    margin-bottom: 10px;
}

.stat-item p {
    color: var(--text-dark);
    font-size: 1rem;
    font-weight: 600;
}

.about-image img {
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

/* ===== Achievements Carousel ===== */
.achievements-slideshow-section {
    background-color: var(--light-gray);
    padding: 80px 0;
}

.achievements-carousel {
    overflow: hidden;
    width: 100%;
    position: relative;
}

.carousel-track {
    display: flex;
    animation: scroll 30s linear infinite;
    gap: 30px;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.achievement-slide {
    flex: 0 0 400px;
    height: 300px;
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.achievement-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.achievement-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    padding: 30px 20px;
    color: white;
}

.achievement-overlay h3 {
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.achievement-overlay p {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Duplicate slides for infinite scroll */
.carousel-track::after {
    content: '';
    flex: 0 0 400px;
}

/* ===== Services Section ===== */
.services-section {
    background-color: var(--white);
}

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

.service-card {
    background-color: var(--white);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(33, 150, 243, 0.2);
    border-color: var(--primary-blue);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary-blue), var(--blue-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 35px;
    color: white;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    transform: rotateY(360deg);
}

.service-card h3 {
    font-size: 1.4rem;
    color: var(--text-dark);
    margin-bottom: 15px;
    font-weight: 700;
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.6;
}

.service-link {
    color: var(--primary-blue);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.service-link:hover {
    gap: 12px;
}

/* ===== Footer ===== */
.footer {
    background-color: var(--dark-black);
    color: var(--white);
    padding: 60px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--white);
    font-weight: 700;
}

.footer-column p {
    color: rgba(255,255,255,0.7);
    line-height: 1.8;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--primary-blue);
    padding-left: 5px;
}

.footer-contact {
    list-style: none;
}

.footer-contact li {
    margin-bottom: 15px;
    color: rgba(255,255,255,0.7);
    display: flex;
    gap: 10px;
    line-height: 1.6;
}

.footer-contact i {
    color: var(--primary-blue);
    margin-top: 3px;
}

.footer-map {
    margin-bottom: 30px;
    border-radius: 10px;
    overflow: hidden;
}

.footer-bottom {
    text-align: center;
    padding: 25px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-bottom p {
    color: rgba(255,255,255,0.7);
    margin: 0;
}

/* ===== Responsive Design ===== */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-content {
        gap: 40px;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 100px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0,0,0,0.05);
        padding: 20px 0;
        gap: 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 0;
        width: 100%;
    }
    
    .nav-link {
        display: block;
        padding: 15px;
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background-color: var(--light-gray);
        display: none;
    }
    
    .dropdown.active .dropdown-menu {
        display: block;
    }
    
    .slide-content h1 {
        font-size: 2.5rem;
    }
    
    .slide-content p {
        font-size: 1.2rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .stats-row {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .top-bar-content {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-info {
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .hero-slideshow {
        height: 500px;
    }
    
    .slide-content h1 {
        font-size: 2rem;
    }
    
    .slide-content p {
        font-size: 1rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .stats-row {
        grid-template-columns: 1fr;
    }
    
    .achievement-slide {
        flex: 0 0 280px;
    }
}

/* ===== Orange Accent Effects ===== */
.nav-link:hover {
    color: var(--secondary-orange) !important;
}

.service-card:hover {
    border-color: var(--secondary-orange);
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.2);
}

.cta-btn:hover {
    background: var(--secondary-orange);
    transform: translateY(-3px);
}

.contact-btn:hover,
.submit-btn:hover {
    background: var(--secondary-orange);
}

.social-icons a:hover {
    background: var(--secondary-orange);
    transform: translateY(-3px);
}

.project-card:hover {
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.3);
}

.achievement-slide:hover {
    border-color: var(--secondary-orange);
}

/* Dropdown menu orange hover */
.dropdown-menu a:hover {
    background: linear-gradient(135deg, var(--secondary-orange), #F4511E);
    color: white;
}

/* Button secondary orange */
.btn-secondary {
    background: linear-gradient(135deg, var(--secondary-orange), #F4511E);
    color: white;
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #F4511E, #E64A19);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 107, 53, 0.4);
}

/* ===== Download Button in Header ===== */
.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: linear-gradient(135deg, var(--secondary-orange), #F4511E);
    color: white;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
    margin-left: 20px;
}

.download-btn:hover {
    background: linear-gradient(135deg, #F4511E, #E64A19);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.5);
}

.download-btn i {
    font-size: 16px;
}

/* Mobile adjustments */
@media (max-width: 968px) {
    .download-btn {
        margin-left: 0;
        margin-top: 10px;
        width: 100%;
        justify-content: center;
    }
}
