/* ==================== GLOBAL STYLES ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2563eb;
    --secondary-color: #1e40af;
    --accent-color: #f59e0b;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==================== NAVIGATION ==================== */
/* Modern Navbar Styles */
.navbar {
    background: #fff;
    box-shadow: 0 2px 8px rgba(30,64,175,0.07);
    position: sticky;
    top: 0;
    z-index: 100;
}
.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    min-height: 72px;
}
.nav-menu {
    display: flex;
    align-items: center;
    gap: 18px;
}
.nav-link {
    color: #1e40af;
    font-weight: 600;
    font-size: 1.08rem;
    padding: 8px 18px;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.18s, color 0.18s;
    position: relative;
}
.nav-link:hover, .nav-link:focus {
    background: #e0e7ff;
    color: #2563eb;
}
.nav-dropdown {
    position: relative;
}
.nav-dropdown > a {
    display: flex;
    align-items: center;
    gap: 6px;
}
.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 180px;
    box-shadow: 0 4px 16px rgba(30,64,175,0.10);
    border-radius: 8px;
    padding: 8px 0;
    z-index: 10;
}
.nav-dropdown:hover .dropdown-content, .nav-dropdown:focus-within .dropdown-content {
    display: block;
}
.dropdown-content a {
    color: #1e40af;
    padding: 10px 22px;
    display: block;
    text-decoration: none;
    font-size: 1.02rem;
    border-radius: 4px;
    transition: background 0.15s, color 0.15s;
}
.dropdown-content a:hover {
    background: #e0e7ff;
    color: #2563eb;
}
.hamburger {
    display: none;
}
@media (max-width: 900px) {
    .nav-menu {
        gap: 8px;
    }
    .nav-link {
        font-size: 1rem;
        padding: 8px 10px;
    }
}
    font-weight: 700;
    color: var(--primary-color);
    gap: 10px;
}

.logo i {
    font-size: 28px;
}

.nav-menu {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    background: none;
    border: none;
    gap: 6px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    border-radius: 2px;
    transition: var(--transition);
}

/* ==================== HERO SECTION ==================== */
/* Responsive Hero Section */
.hero {
    position: relative;
    padding: 80px 0 60px 0;
    min-height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
}
.hero-content {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    padding: 0 16px;
}
.hero-title {
    font-size: 2.8rem;
    font-weight: 800;
    color: #1e40af;
    letter-spacing: 1px;
    margin-bottom: 18px;
}
.hero-subtitle {
    font-size: 1.2rem;
    color: #374151;
    margin-bottom: 32px;
}
.hero-carousel {
    width: 100%;
    max-width: 480px;
    margin: 0 auto 32px auto;
}
.hero-carousel .item img {
    width: 100%;
    height: auto;
    max-width: 480px;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.10);
    object-fit: cover;
}
@media (max-width: 900px) {
    .hero-title {
        font-size: 1.5rem;
        margin-bottom: 10px;
    }
    .hero-subtitle {
        font-size: 0.98rem;
        margin-bottom: 18px;
    }
    .hero-carousel {
        max-width: 98vw;
        margin-bottom: 18px;
    }
    .hero-content {
        padding: 0 8px;
    }
    .hero-buttons {
        flex-direction: column;
        gap: 10px;
        display: flex;
        align-items: center;
    }
    .btn {
        width: 100%;
        max-width: 220px;
        font-size: 1rem;
        padding: 12px 0;
    }
}
@media (max-width: 600px) {
    .hero {
        padding: 24px 0 12px 0;
        min-height: 180px;
    }
    .hero-title {
        font-size: 1.1rem;
        margin-bottom: 8px;
    }
    .hero-subtitle {
        font-size: 0.88rem;
        margin-bottom: 12px;
    }
    .hero-carousel {
        max-width: 98vw;
        margin-bottom: 12px;
    }
    .hero-content {
        padding: 0 2px;
    }
    .hero-buttons {
        flex-direction: column;
        gap: 8px;
        display: flex;
        align-items: center;
    }
    .btn {
        width: 100%;
        max-width: 180px;
        font-size: 0.95rem;
        padding: 10px 0;
    }
}
.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    opacity: 0.1;
    z-index: -1;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23f3f4f6" fill-opacity="1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,144C960,149,1056,139,1152,128C1248,117,1344,107,1392,101.3L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    font-size: 56px;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-light);
    margin-bottom: 40px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ==================== BUTTONS ==================== */
.btn {
    padding: 12px 32px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

/* ==================== SECTION HEADERS ==================== */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 42px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--accent-color);
    border-radius: 2px;
}

.section-header p {
    font-size: 18px;
    color: var(--text-light);
    margin-top: 30px;
}

/* ==================== SERVICES SECTION ==================== */
.services {
    padding: 100px 0;
    background-color: var(--bg-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: white;
    padding: 40px 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border-top: 4px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-top-color: var(--primary-color);
}

.service-icon {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.service-card p {
    color: var(--text-light);
    line-height: 1.8;
}

/* ==================== ABOUT SECTION ==================== */
.about {
    padding: 100px 0;
    background-color: var(--bg-white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h2 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.about-text p {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 30px;
    line-height: 1.8;
}

.about-list {
    list-style: none;
}

.about-list li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: 16px;
    color: var(--text-dark);
    font-weight: 500;
}

.about-list i {
    color: var(--accent-color);
    margin-right: 15px;
    font-size: 20px;
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.stat-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: var(--shadow-md);
}

.stat-number {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 14px;
    opacity: 0.9;
}

/* ==================== PORTFOLIO SECTION ==================== */
.portfolio {
    padding: 100px 0;
    background-color: var(--bg-light);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.portfolio-item {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    cursor: pointer;
}

.portfolio-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.portfolio-image {
    height: 250px;
    background-size: cover;
    background-position: center;
    transition: var(--transition);
}

.portfolio-item:hover .portfolio-image {
    transform: scale(1.05);
}

.portfolio-info {
    padding: 25px;
}

.portfolio-info h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.portfolio-info p {
    color: var(--text-light);
    margin-bottom: 15px;
    font-size: 14px;
}

.portfolio-tag {
    display: inline-block;
    background-color: var(--accent-color);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

/* ==================== TEAM SECTION ==================== */
.team {
    padding: 100px 0;
    background-color: var(--bg-white);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.team-card {
    text-align: center;
    transition: var(--transition);
}

.team-image {
    width: 200px;
    height: 200px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    box-shadow: var(--shadow-md);
}

.team-card:hover .team-image {
    transform: scale(1.05);
}

.team-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--text-dark);
}

.team-role {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 10px;
}

.team-bio {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 20px;
}

.team-social {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.team-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bg-light);
    color: var(--primary-color);
    border-radius: 50%;
    transition: var(--transition);
    text-decoration: none;
}

.team-social a:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-5px);
}

/* ==================== CONTACT SECTION ==================== */
.contact {
    padding: 100px 0;
    background-color: var(--bg-light);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-form {
    background: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: var(--shadow-md);
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 14px;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    gap: 20px;
}

.contact-item i {
    font-size: 28px;
    color: var(--primary-color);
    margin-top: 5px;
}

.contact-item h4 {
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.contact-item p {
    color: var(--text-light);
    line-height: 1.8;
}

/* ==================== FOOTER ==================== */
.footer {
    background-color: var(--text-dark);
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    font-size: 18px;
    margin-bottom: 20px;
    color: white;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--accent-color);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: rgba(255, 255, 255, 0.7);
    flex-wrap: wrap;
    gap: 20px;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent-color);
}

/* ==================== ANIMATIONS ==================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==================== RESPONSIVE DESIGN ==================== */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--bg-white);
        flex-direction: column;
        gap: 0;
        max-height: 0;
        overflow: hidden;
        transition: var(--transition);
    }

    .nav-menu.active {
        max-height: 300px;
        box-shadow: var(--shadow-md);
    }

    .nav-link {
        padding: 15px 20px;
        border-bottom: 1px solid var(--border-color);
    }

    .nav-link::after {
        display: none;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }

    .section-header h2 {
        font-size: 32px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .contact-form {
        padding: 25px;
    }

    .team-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 30px;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        flex-direction: column;
        gap: 10px;
    }

    .hero {
        min-height: 70vh;
    }

    .services {
        padding: 60px 0;
    }

    .about {
        padding: 60px 0;
    }

    .portfolio {
        padding: 60px 0;
    }

    .team {
        padding: 60px 0;
    }

    .contact {
        padding: 60px 0;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 20px;
    }

    .hero-title {
        font-size: 28px;
    }

    .hero-subtitle {
        font-size: 14px;
        margin-bottom: 25px;
    }

    .section-header h2 {
        font-size: 24px;
    }

    .section-header p {
        font-size: 16px;
    }

    .service-card {
        padding: 25px 20px;
    }

    .about-text h2 {
        font-size: 28px;
    }

    .stat-card {
        padding: 20px;
    }

    .stat-number {
        font-size: 28px;
    }

    .stat-label {
        font-size: 12px;
    }

    .team-card h3 {
        font-size: 18px;
    }

    .contact-form {
        padding: 20px;
    }

    .form-group input,
    .form-group textarea {
        padding: 10px 12px;
        font-size: 13px;
    }

    .contact-item i {
        font-size: 24px;
    }

    .contact-item h4 {
        font-size: 16px;
    }

    .footer-content {
        gap: 30px;
        margin-bottom: 30px;
    }

    .footer-section h4 {
        font-size: 16px;
        margin-bottom: 15px;
    }

    .services-grid {
        gap: 20px;
    }

    .btn {
        padding: 10px 24px;
        font-size: 14px;
    }
}

@media (max-width: 360px) {
    .logo span {
        display: none;
    }

    .hero-title {
        font-size: 24px;
    }

    .hero-subtitle {
        font-size: 13px;
    }

    .section-header h2 {
        font-size: 20px;
    }

    .service-card {
        padding: 20px 15px;
    }

    .service-icon {
        font-size: 36px;
    }
}
