@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/aos/2.3.4/aos.css');

/* ==================== Variables ==================== */
:root {
    --primary-color: #1e3a8a;
    --secondary-color: #3b82f6;
    --accent-color: #fbbf24;
    --dark-color: #1e293b;
    --dark-2: #334155;
    --light-color: #f1f5f9;
    --white: #ffffff;
    --text-primary: #334155;
    --text-secondary: #64748b;
    --border-color: #e2e8f0;
    
    --gradient-primary: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    --gradient-secondary: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    --gradient-overlay: linear-gradient(135deg, rgba(30, 58, 138, 0.9) 0%, rgba(59, 130, 246, 0.8) 100%);
    
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.15);
    
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

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

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

section {
    padding: 80px 0;
}

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

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

.top-bar-right {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.top-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.9);
}

.top-item i {
    color: var(--accent-color);
}

.office-selector {
    display: flex;
    align-items: center;
    gap: 10px;
}

.office-selector i {
    color: var(--accent-color);
}

.office-selector select {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 5px 15px;
    border-radius: 4px;
    cursor: pointer;
}

.office-selector select option {
    background: var(--dark-color);
}

/* ==================== Header ==================== */
.header {
    background: white;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.header.scrolled {
    box-shadow: var(--shadow-lg);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
}

.logo i {
    font-size: 40px;
    color: var(--primary-color);
}

.logo-text h1 {
    font-size: 26px;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 4px;
}

.logo-text span {
    font-size: 12px;
    color: var(--text-secondary);
    font-weight: 500;
}

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

.nav-link {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 15px;
    position: relative;
    transition: var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--secondary-color);
    transition: var(--transition);
}

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

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

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

.hamburger span {
    width: 28px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 3px;
    transition: var(--transition);
}

/* ==================== Hero Slider ==================== */
.hero {
    position: relative;
}

.hero-slider {
    position: relative;
    min-height: 600px;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease, visibility 0.8s ease;
    min-height: 600px;
    display: flex;
    align-items: center;
}

.slide.active {
    opacity: 1;
    visibility: visible;
    position: relative;
}

.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-overlay);
    z-index: 0;
}

.slide-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
    align-items: center;
}

.slide-text {
    color: white;
}

.slide-title {
    font-size: 50px;
    font-weight: 900;
    color: white;
    line-height: 1.2;
    margin-bottom: 24px;
}

.slide-description {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 32px;
    line-height: 1.8;
}

.slide-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.slide-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 200px;
    color: rgba(255, 255, 255, 0.1);
}

.slider-controls {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 30px;
    z-index: 2;
}

.slider-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    font-size: 18px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-btn:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
    transform: scale(1.1);
}

.slider-dots {
    display: flex;
    gap: 12px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: var(--accent-color);
    width: 32px;
    border-radius: 6px;
}

/* ==================== Buttons ==================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--gradient-secondary);
    color: var(--dark-color);
    box-shadow: 0 4px 15px rgba(251, 191, 36, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(251, 191, 36, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
}

.btn-outline-white {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-outline-white:hover {
    background: white;
    color: var(--primary-color);
}

.btn-block {
    width: 100%;
    justify-content: center;
}

/* ==================== Section Headers ==================== */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 42px;
    font-weight: 800;
    color: var(--dark-color);
    margin-bottom: 16px;
}

.section-description {
    font-size: 16px;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto;
}

/* ==================== Features Section ==================== */
.features {
    background: var(--light-color);
    padding: 60px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.feature-card {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    display: flex;
    gap: 24px;
}

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

.feature-icon {
    font-size: 48px;
    color: var(--secondary-color);
    flex-shrink: 0;
}

.feature-content h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 12px;
}

.feature-content p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 16px;
}

.feature-link {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.feature-link:hover {
    color: var(--primary-color);
}

/* ==================== About Section ==================== */
.about {
    background: white;
}

.about-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 40px;
}

.about-image {
    position: relative;
}

.about-image .image-placeholder {
    width: 100%;
    aspect-ratio: 1;
    background: var(--gradient-primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 120px;
    color: white;
    box-shadow: var(--shadow-xl);
}

.about-content p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-badge {
    background: var(--light-color);
    padding: 30px;
    border-radius: 12px;
    border-left: 4px solid var(--secondary-color);
}

.about-badge p {
    color: var(--text-primary);
    font-size: 18px;
    font-weight: 600;
    line-height: 1.8;
}

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

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

.service-card {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    text-align: center;
}

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

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: white;
    margin: 0 auto 24px;
}

.service-card h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 16px;
}

.service-card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ==================== Partners Section ==================== */
.partners {
    background: white;
}

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

.partner-card {
    background: var(--light-color);
    padding: 40px;
    border-radius: 12px;
    transition: var(--transition);
}

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

.partner-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-secondary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: white;
    margin-bottom: 24px;
}

.partner-card h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 16px;
}

.partner-card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ==================== Achievements Section ==================== */
.achievements {
    background: var(--gradient-primary);
    color: white;
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.achievement-item {
    text-align: center;
}

.achievement-icon {
    font-size: 60px;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.achievement-number {
    font-size: 56px;
    font-weight: 900;
    color: white;
    margin-bottom: 12px;
}

.achievement-item p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
}

/* ==================== CTA Banner ==================== */
.cta-banner {
    background: var(--accent-color);
    padding: 60px 0;
}

.cta-content h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--dark-color);
    text-align: center;
    line-height: 1.6;
    max-width: 900px;
    margin: 0 auto;
}

/* ==================== News Section ==================== */
.news {
    background: white;
}

.news .section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
}

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

.news-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

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

.news-image {
    position: relative;
    overflow: hidden;
}

.news-image .image-placeholder {
    width: 100%;
    aspect-ratio: 16/10;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
    color: white;
}

.news-date {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--accent-color);
    color: var(--dark-color);
    padding: 10px;
    border-radius: 8px;
    text-align: center;
    font-weight: 700;
}

.news-date .day {
    font-size: 24px;
    display: block;
}

.news-date .month {
    font-size: 12px;
    display: block;
    text-transform: uppercase;
}

.news-content {
    padding: 30px;
}

.news-content h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 16px;
    line-height: 1.4;
}

.news-content p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 16px;
}

.read-more {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.read-more:hover {
    color: var(--primary-color);
}

/* ==================== Testimonials Section ==================== */
.testimonials {
    background: var(--light-color);
    padding: 80px 0;
}

.testimonials-slider {
    position: relative;
    overflow: hidden;
}

.testimonial-card {
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.testimonial-card.active {
    display: block;
    opacity: 1;
}

.testimonial-content {
    background: white;
    padding: 60px;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-text {
    font-size: 24px;
    font-style: italic;
    color: var(--text-primary);
    line-height: 1.8;
    margin-bottom: 32px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 20px;
}

.author-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
}

.author-info h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 4px;
}

.author-info span {
    font-size: 14px;
    color: var(--text-secondary);
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 32px;
}

.testimonial-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--border-color);
    cursor: pointer;
    transition: var(--transition);
}

.testimonial-dots .dot.active {
    background: var(--secondary-color);
    width: 32px;
    border-radius: 6px;
}

/* ==================== Contact Section ==================== */
.contact {
    background: white;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
}

.info-box {
    margin-bottom: 30px;
}

.info-box h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 8px;
}

.info-box p {
    color: var(--text-secondary);
}

.about-excerpt {
    margin: 40px 0;
}

.about-excerpt p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 16px;
}

.useful-links h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 16px;
}

.useful-links ul {
    list-style: none;
}

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

.useful-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
}

.useful-links a:hover {
    color: var(--secondary-color);
    padding-left: 8px;
}

.contact-form {
    background: var(--light-color);
    padding: 40px;
    border-radius: 12px;
}

.contact-form h3 {
    font-size: 28px;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 32px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-family: inherit;
    font-size: 15px;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
}

.form-group textarea {
    resize: vertical;
}

#formMessage {
    margin-top: 20px;
    padding: 15px;
    border-radius: 8px;
    display: none;
}

#formMessage.success {
    background: #d1fae5;
    color: #065f46;
}

#formMessage.error {
    background: #fee2e2;
    color: #991b1b;
}

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

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-left p {
    color: rgba(255, 255, 255, 0.8);
}

.footer-right {
    display: flex;
    gap: 30px;
}

.footer-right a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-right a:hover {
    color: var(--accent-color);
}

/* ==================== Scroll to Top ==================== */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-secondary);
    color: var(--dark-color);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    box-shadow: var(--shadow-lg);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

/* ==================== Responsive ==================== */
@media (max-width: 1024px) {
    .slide-title {
        font-size: 40px;
    }
    
    .section-title {
        font-size: 36px;
    }
}

@media (max-width: 968px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 77px;
        left: -100%;
        width: 300px;
        height: calc(100vh - 77px);
        background: white;
        flex-direction: column;
        padding: 40px 20px;
        box-shadow: var(--shadow-xl);
        transition: var(--transition);
        gap: 20px;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .slide-content {
        grid-template-columns: 1fr;
    }
    
    .slide-icon {
        display: none;
    }
    
    .about-wrapper {
        grid-template-columns: 1fr;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 30px;
    }
    
    .slide-title {
        font-size: 32px;
    }
    
    .features-grid,
    .services-grid,
    .partners-grid,
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonial-content {
        padding: 40px 30px;
    }
    
    .testimonial-text {
        font-size: 20px;
    }
}

@media (max-width: 576px) {
    .slide-title {
        font-size: 26px;
    }
    
    .slide-description {
        font-size: 16px;
    }
    
    .slide-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .top-bar {
        padding: 10px 0;
    }
    
    .top-bar-content {
        flex-direction: column;
        gap: 10px;
    }
    
    .top-bar-right {
        flex-direction: column;
        gap: 8px;
    }
    
    .top-item {
        font-size: 12px;
    }
    
    .header {
        padding: 15px 0;
    }
    
    .logo-text h1 {
        font-size: 20px;
    }
    
    .logo-text span {
        font-size: 12px;
    }
    
    .nav-menu {
        gap: 15px;
    }
    
    .nav-link {
        font-size: 14px;
        padding: 8px 12px;
    }
    
    .slide-title {
        font-size: 24px;
        line-height: 1.3;
    }
    
    .slide-description {
        font-size: 14px;
    }
    
    .slide-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 14px;
        width: 100%;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .section-subtitle {
        font-size: 14px;
    }
    
    .container {
        padding: 0 15px;
    }
    
    section {
        padding: 30px 0;
    }
    
    .feature-card {
        flex-direction: column;
        padding: 20px 15px;
        text-align: center;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
    
    .feature-content h3 {
        font-size: 18px;
    }
    
    .feature-content p {
        font-size: 14px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .service-card {
        padding: 20px 15px;
    }
    
    .achievements-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .achievement-number {
        font-size: 32px;
    }
    
    .achievement-label {
        font-size: 14px;
    }
    
    .contact-form {
        padding: 20px 15px;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 12px 15px;
        font-size: 14px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-section h3 {
        font-size: 18px;
    }
    
    .footer-section p,
    .footer-section a {
        font-size: 13px;
    }
    
    .scroll-to-top {
        width: 45px;
        height: 45px;
        font-size: 18px;
        bottom: 20px;
        right: 20px;
    }
}


