/* ===== CSS Reset & Base Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1a3a5c;
    --secondary-color: #2c8c94;
    --accent-color: #1a7a7c;
    --dark-color: #1a1a2e;
    --light-color: #f4f4f8;
    --white: #ffffff;
    --gray: #6c757d;
    --light-gray: #e9ecef;
    --shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== Navigation ===== */
.navbar {
    background: var(--white);
    box-shadow: var(--shadow);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: bold;
    font-size: 20px;
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
}

.logo-text span {
    color: var(--secondary-color);
}

.nav-menu {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-menu a {
    color: var(--dark-color);
    font-weight: 500;
    padding: 8px 5px;
    position: relative;
    transition: var(--transition);
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--secondary-color);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--secondary-color);
    transition: var(--transition);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 3px;
    transition: var(--transition);
}

/* ===== Hero Header Section ===== */
.hero-header {
    margin-top: 76px;
    min-height: 275px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-header .header-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-header .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.hero-header .container {
    position: relative;
    z-index: 3;
    text-align: center;
}

.hero-header h1 {
    font-size: 52px;
    color: var(--white);
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease;
}

.hero-header p {
    font-size: 22px;
    color: rgba(255, 255, 255, 0.95);
    max-width: 700px;
    margin: 0 auto 30px;
    animation: fadeInUp 1s ease 0.2s backwards;
}

.hero-header .btn {
    animation: fadeInUp 1s ease 0.4s backwards;
}

/* ===== Buttons ===== */
.btn {
    display: inline-block;
    padding: 14px 35px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-align: center;
}

.btn-primary {
    background: var(--accent-color);
    color: var(--white);
}

.btn-primary:hover {
    background: #156567;
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(26, 122, 124, 0.4);
}

.btn-secondary {
    background: var(--secondary-color);
    color: var(--white);
}

.btn-secondary:hover {
    background: #247a80;
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(44, 140, 148, 0.4);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--primary-color);
}

/* ===== Home Page Styles ===== */
.hero-home {
    background: linear-gradient(135deg, #1a3a5c 0%, #2c8c94 50%, #1a5a6c 100%);
    min-height: 275px;
    position: relative;
}

.hero-home::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="rgba(255,255,255,0.05)" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,149.3C960,160,1056,160,1152,138.7C1248,117,1344,75,1392,53.3L1440,32L1440,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-home .overlay {
    background: rgba(26, 58, 92, 0.7);
}

.about-section {
    padding: 80px 0;
    background: var(--white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h2 {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.about-text .lead {
    font-size: 18px;
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 15px;
}

.about-text p {
    color: var(--gray);
    margin-bottom: 15px;
    font-size: 16px;
}

.about-image {
    position: relative;
}

.about-image .headquarters-image-wrapper {
    width: 100%;
    height: 400px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    position: relative;
}

.about-image .headquarters-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

.about-image .year-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--accent-color);
    color: var(--white);
    padding: 20px 25px;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 700;
    box-shadow: 0 5px 15px rgba(26, 122, 124, 0.3);
}

.about-image .year-badge span {
    display: block;
    font-size: 36px;
}

.stats-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 60px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-item {
    color: var(--white);
}

.stat-item .stat-number {
    font-size: 48px;
    font-weight: 700;
    display: block;
}

.stat-item .stat-label {
    font-size: 16px;
    opacity: 0.9;
}

/* ===== Mobile App Showcase ===== */
.app-showcase {
    padding: 80px 0;
    background: var(--light-color);
}

.app-showcase .section-header {
    text-align: center;
    margin-bottom: 60px;
}

.app-showcase .section-header h2 {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.app-showcase .section-header p {
    font-size: 18px;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
}

.app-featured {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 60px;
}

.app-mockup {
    background: var(--white);
    border-radius: 20px;
    padding: 30px;
    box-shadow: var(--shadow);
    text-align: center;
}

.app-mockup .phone-frame {
    width: 250px;
    height: 450px;
    background: linear-gradient(135deg, #2c8c94, #1a5a6c);
    border-radius: 30px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 18px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.app-mockup .phone-frame::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 6px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
}

.app-mockup .app-logo {
    font-size: 48px;
    margin-bottom: 10px;
}

.app-mockup .app-name {
    font-size: 20px;
    font-weight: 700;
}

.app-mockup .download-btn {
    display: inline-block;
    padding: 12px 30px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
}

.app-mockup .download-btn:hover {
    background: var(--secondary-color);
}

.app-info h3 {
    font-size: 28px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.app-info p {
    color: var(--gray);
    margin-bottom: 15px;
    font-size: 16px;
}

.app-features {
    margin: 20px 0;
}

.app-features li {
    padding: 8px 0;
    color: var(--dark-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.app-features li::before {
    content: '✓';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: var(--secondary-color);
    color: var(--white);
    border-radius: 50%;
    font-size: 12px;
    flex-shrink: 0;
}

.app-screenshots {
    margin-top: 40px;
}

.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.screenshot-item {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.screenshot-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.screenshot-placeholder {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 14px;
    text-align: center;
    padding: 10px;
}

.screenshot-placeholder.s1 {
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.screenshot-placeholder.s2 {
    background: linear-gradient(135deg, #f093fb, #f5576c);
}

.screenshot-placeholder.s3 {
    background: linear-gradient(135deg, #4facfe, #00f2fe);
}

.screenshot-placeholder.s4 {
    background: linear-gradient(135deg, #43e97b, #38f9d7);
}

.screenshot-item .screenshot-label {
    padding: 10px;
    text-align: center;
    font-weight: 600;
    color: var(--dark-color);
    font-size: 13px;
}

/* ===== Services Page ===== */
.hero-services {
    background: linear-gradient(135deg, #2c8c94 0%, #1a3a5c 100%);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    background: var(--white);
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: var(--white);
}

.service-icon.mobile {
    background: linear-gradient(135deg, var(--secondary-color), #1a5a6c);
}

.service-icon.web {
    background: linear-gradient(135deg, var(--primary-color), #2c5a8c);
}

.service-icon.consulting {
    background: linear-gradient(135deg, var(--accent-color), #156567);
}

.service-card h3 {
    font-size: 22px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.service-card p {
    color: var(--gray);
    margin-bottom: 20px;
    font-size: 15px;
}

.service-card ul {
    text-align: left;
    margin-bottom: 25px;
}

.service-card ul li {
    padding: 6px 0;
    color: var(--dark-color);
    font-size: 14px;
}

.service-card ul li::before {
    content: '→ ';
    color: var(--secondary-color);
    font-weight: bold;
}

/* ===== Why Choose Us ===== */
.why-us-section {
    padding: 80px 0;
    background: var(--light-color);
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 40px;
}

.why-us-card {
    background: var(--white);
    border-radius: 15px;
    padding: 35px;
    box-shadow: var(--shadow);
    display: flex;
    gap: 20px;
    transition: var(--transition);
}

.why-us-card:hover {
    transform: translateY(-5px);
}

.why-us-icon {
    width: 60px;
    height: 60px;
    min-width: 60px;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 24px;
}

.why-us-card h3 {
    font-size: 20px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.why-us-card p {
    color: var(--gray);
    font-size: 15px;
}

/* ===== Contact Page ===== */
.hero-contact {
    background: linear-gradient(135deg, #1a5a6c 0%, #1a3a5c 100%);
}

.contact-section {
    padding: 80px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
}

.contact-info {
    padding: 40px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 15px;
    color: var(--white);
}

.contact-info h3 {
    font-size: 28px;
    margin-bottom: 20px;
}

.contact-info p {
    opacity: 0.9;
    margin-bottom: 30px;
}

.contact-detail {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    align-items: flex-start;
}

.contact-icon {
    width: 45px;
    height: 45px;
    min-width: 45px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.contact-detail h4 {
    font-size: 16px;
    margin-bottom: 5px;
}

.contact-detail p, .contact-detail a {
    opacity: 0.9;
    font-size: 14px;
}

.contact-detail a:hover {
    opacity: 0.7;
}

.contact-form {
    background: var(--white);
    border-radius: 15px;
    padding: 40px;
    box-shadow: var(--shadow);
}

.contact-form h3 {
    font-size: 28px;
    color: var(--primary-color);
    margin-bottom: 25px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--dark-color);
    font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--light-gray);
    border-radius: 8px;
    font-size: 15px;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--secondary-color);
}

.form-group textarea {
    height: 130px;
    resize: vertical;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* ===== CTA Section ===== */
.cta-section {
    background: linear-gradient(135deg, #0099ff, #00cc99);
    padding: 80px 0;
    text-align: center;
}

.cta-section h2 {
    font-size: 36px;
    color: var(--white);
    margin-bottom: 15px;
}

.cta-section p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto 30px;
}

/* ===== Footer ===== */
.footer {
    background: var(--dark-color);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-about h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

.footer-about h3 span {
    color: var(--secondary-color);
}

.footer-about p {
    opacity: 0.7;
    font-size: 14px;
    line-height: 1.8;
}

.footer-links h4 {
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    opacity: 0.7;
    font-size: 14px;
    transition: var(--transition);
}

.footer-links ul li a:hover {
    opacity: 1;
    color: var(--secondary-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    opacity: 0.6;
    font-size: 14px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    font-size: 16px;
}

.social-links a:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
}

/* ===== Animations ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Responsive Design ===== */
@media (max-width: 992px) {
    .hero-header h1 {
        font-size: 40px;
    }

    .about-content,
    .app-featured,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .screenshots-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 76px;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        text-align: center;
        padding: 30px 0;
        box-shadow: var(--shadow);
        transition: var(--transition);
        gap: 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu a {
        padding: 15px 0;
        display: block;
        font-size: 18px;
    }

    .hamburger {
        display: flex;
    }

    .hero-header h1 {
        font-size: 32px;
    }

    .hero-header p {
        font-size: 18px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stat-item .stat-number {
        font-size: 36px;
    }

    .why-us-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .screenshots-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .app-featured {
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .hero-header h1 {
        font-size: 28px;
    }

    .hero-header p {
        font-size: 16px;
    }

    .btn {
        padding: 12px 25px;
        font-size: 14px;
    }

    .stat-item .stat-number {
        font-size: 30px;
    }

    .screenshots-grid {
        grid-template-columns: 1fr;
    }
}