/* Reset and Base Styles */
:root {
    /* Updated fonts: Modern and clean */
    --heading-font: 'Inter', 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    --body-font: 'Inter', 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    
    /* Updated Color Palette to match logo */
    --primary-blue: #1a2b5c;
    --secondary-blue: #2d4a8f;
    --accent-blue: #4a6cd1;
    --light-blue: #7393e6;
    --silver: #c0c7d4;
    --platinum: #e8ebf0;
    --gold: #d4af37;
    --warm-gold: #f4d03f;
}

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

body {
    font-family: var(--body-font);
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

/* Apply heading font to all headings */
h1, h2, h3, h4, h5, h6,
.hero-title,
.section-title,
.solution-title,
.service-title,
.step-title,
.experience-title,
.company-name,
.footer-company-name {
    font-family: var(--heading-font);
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(26, 43, 92, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 6px 12px;
    border-radius: 10px;
    background: rgba(30, 58, 138, 0.05);
    transition: all 0.3s ease;
}

.nav-logo:hover {
    background: rgba(30, 58, 138, 0.1);
}

.logo {
    height: 45px;
    width: auto;
    background: rgba(255, 255, 255, 0.1);
    padding: 4px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.logo:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

.company-name {
    font-size: 22px;
    font-weight: 700;
    color: #1a365d;
}

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

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #fbbf24;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #fbbf24;
    transition: width 0.3s ease;
}

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

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    background: 
        linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 40%, var(--accent-blue) 80%, var(--light-blue) 100%),
        radial-gradient(ellipse at 20% 20%, rgba(244, 208, 63, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(115, 147, 230, 0.1) 0%, transparent 50%);
    color: white;
    padding-top: 60px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.5rem;
    line-height: 1.6;
    margin-bottom: 20px;
    opacity: 0.9;
    font-style: italic;
    color: var(--warm-gold);
}

.hero-description {
    margin-bottom: 30px;
}

.hero-description p {
    font-size: 1.125rem;
    line-height: 1.6;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.hero-visual {
    position: relative;
    height: 400px;
    background: url('Aviation Technology Company Logo - Elegance and Trust.png') center/contain no-repeat;
    overflow: hidden;
}

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

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 1.125rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background-color: var(--warm-gold);
    color: var(--primary-blue);
}

.btn-primary:hover {
    background-color: var(--gold);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.3);
}

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

.btn-secondary:hover {
    background-color: white;
    color: var(--primary-blue);
    transform: translateY(-2px);
}

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

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

.btn-large {
    padding: 18px 40px;
    font-size: 1.125rem;
}
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a365d;
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 1.125rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* About Section */
.about {
    padding: 100px 0;
    background-color: #f8fafc;
    position: relative; /* Ensure proper stacking context */
    z-index: 10; /* Higher than hero section */
}

.about-content {
    max-width: 1000px;
    margin: 0 auto;
}

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

.about-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.about-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #1e3a8a, #374151);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.about-info h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1a365d;
    margin-bottom: 10px;
}

.about-info p {
    color: #666;
    line-height: 1.6;
}

/* Solutions Section */
.solutions {
    padding: 100px 0;
    background-color: white;
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.solution-card {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border: 2px solid #e5e7eb;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    min-height: 500px;
}

.solution-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    border-color: #fbbf24;
}

.solution-header {
    text-align: center;
    margin-bottom: 30px;
}

.solution-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #1e3a8a, #374151);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    margin: 0 auto 20px;
}

.solution-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1e3a8a;
    margin-bottom: 10px;
    text-align: center;
}

.solution-tagline {
    font-size: 1.125rem;
    color: #666;
    font-style: italic;
    text-align: center;
    margin-bottom: 0;
}

.solution-features {
    margin-bottom: 30px;
    flex-grow: 1;
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    color: #374151;
    line-height: 1.5;
}

.feature-list i {
    color: #fbbf24;
    font-size: 0.875rem;
}

.solution-visual {
    margin-bottom: 30px;
    text-align: center;
}

.map-flow-diagram {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 20px;
    background: #f3f4f6;
    border-radius: 10px;
}

.flow-step {
    background: #1e3a8a;
    color: white;
    padding: 10px 15px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.flow-arrow {
    color: #fbbf24;
    font-size: 1.25rem;
}

.file-dashboard {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    padding: 20px;
    background: #f3f4f6;
    border-radius: 10px;
}

.dashboard-item {
    background: white;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    font-size: 0.875rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Compliance & Standards Section */
.compliance-standards {
    padding: 100px 0;
    background-color: #f8fafc;
}

.compliance-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.compliance-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.compliance-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--warm-gold);
}

.compliance-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    margin: 0 auto 25px;
}

.compliance-title {
    font-size: 1.375rem;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 15px;
    line-height: 1.3;
}

.compliance-description {
    color: #666;
    line-height: 1.6;
    margin-bottom: 0;
}

.compliance-summary {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 30px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.compliance-summary p {
    font-size: 1.125rem;
    color: var(--primary-blue);
    font-weight: 500;
    line-height: 1.6;
    margin: 0;
}

/* Why Aerotrofix Section */
.why-aerotrofix {
    padding: 100px 0;
    background-color: #f8fafc;
}

.experience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.experience-card {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: flex;
    gap: 25px;
    align-items: center;
}

.experience-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #1e3a8a, #374151);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    flex-shrink: 0;
}

.experience-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e3a8a;
    margin-bottom: 5px;
}

.experience-years {
    font-size: 2rem;
    font-weight: 700;
    color: #fbbf24;
    margin-bottom: 10px;
}

.experience-description {
    color: #666;
    line-height: 1.6;
}

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

.testimonial-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #fbbf24;
}

.testimonial-quote {
    margin-bottom: 15px;
}

.testimonial-quote i {
    color: #fbbf24;
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.testimonial-quote p {
    font-size: 1.125rem;
    color: #374151;
    font-style: italic;
    line-height: 1.6;
}

.testimonial-author {
    color: #666;
    font-weight: 600;
    font-size: 0.875rem;
}

/* Services Section */
.services {
    padding: 100px 0;
}

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

.service-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    margin: 0 auto 25px;
}

.service-title {
    font-size: 1.375rem;
    font-weight: 600;
    color: #1a365d;
    margin-bottom: 15px;
}

.service-description {
    color: #666;
    line-height: 1.6;
}

/* Stats Section */
.stats {
    padding: 80px 0;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #f6d55c;
}

.stat-label {
    font-size: 1.125rem;
    opacity: 0.9;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background-color: white;
}

.contact-content {
    max-width: 800px;
    margin: 0 auto;
}

.contact-form {
    background: #f8fafc;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

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

.form-input {
    width: 100%;
    padding: 18px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
    background: white;
}

.form-input:focus {
    outline: none;
    border-color: #1e3a8a;
    box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.form-buttons {
    text-align: center;
    margin-top: 10px;
}

.btn-full {
    width: 100%;
}

/* Footer */
.footer {
    background-color: #1a365d;
    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-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-logo-img {
    height: 50px;
    width: auto;
    background: rgba(255, 255, 255, 0.1);
    padding: 6px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.footer-logo-img:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

.footer-company-name {
    font-size: 1.375rem;
    font-weight: 700;
}

.footer-description {
    color: #cbd5e0;
    line-height: 1.6;
    margin-bottom: 25px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 40px;
    height: 40px;
    background-color: #2d3748;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: #f6d55c;
    color: #333;
    transform: translateY(-2px);
}

.footer-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #f6d55c;
}

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

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

.footer-links a {
    color: #cbd5e0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #f6d55c;
}

.footer-contact p {
    margin-bottom: 10px;
    color: #cbd5e0;
}

.footer-contact i {
    margin-right: 10px;
    color: #f6d55c;
}

.footer-experience p {
    margin-bottom: 10px;
    color: #cbd5e0;
}

.footer-experience i {
    margin-right: 10px;
    color: #fbbf24;
}

.footer-bottom {
    border-top: 1px solid #2d3748;
    padding-top: 20px;
    text-align: center;
    color: #cbd5e0;
}

.footer-bottom a {
    color: #fbbf24;
    text-decoration: none;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 60px;
        flex-direction: column;
        background-color: 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;
        z-index: 1000;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-item {
        margin: 15px 0;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
        padding: 20px 0;
    }

    .hero-visual {
        height: 300px;
    }

    .hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 1.25rem;
    }

    .section-title {
        font-size: 2rem;
        text-align: center;
    }

    .section-subtitle {
        font-size: 1rem;
        text-align: center;
    }

    .about-text {
        grid-template-columns: 1fr;
    }

    .solutions-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .solution-card {
        margin: 0 10px;
    }

    .compliance-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .compliance-card {
        padding: 30px 20px;
        margin: 0 10px;
    }

    .compliance-title {
        font-size: 1.25rem;
    }

    .compliance-summary {
        padding: 20px;
        margin: 30px 10px 0;
    }

    .experience-grid {
        grid-template-columns: 1fr;
    }

    .experience-card {
        flex-direction: column;
        text-align: center;
    }

    .testimonials {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 30px 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-buttons {
        justify-content: center;
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }

    /* Mobile section padding */
    .hero, .about, .solutions, .compliance-standards, .why-aerotrofix, .contact {
        padding: 60px 0;
    }

    .container {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.125rem;
    }

    .btn {
        padding: 12px 24px;
        font-size: 0.9rem;
    }

    .solution-card {
        padding: 30px 20px;
    }

    .compliance-card {
        padding: 25px 15px;
    }

    .compliance-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        margin-bottom: 20px;
    }

    .compliance-title {
        font-size: 1.125rem;
        line-height: 1.4;
    }

    .compliance-summary {
        padding: 15px;
    }

    .compliance-summary p {
        font-size: 1rem;
    }

    .experience-card {
        padding: 30px 20px;
    }

    .map-flow-diagram {
        flex-direction: column;
        gap: 15px;
    }

    .flow-arrow {
        transform: rotate(90deg);
    }

    .file-dashboard {
        grid-template-columns: 1fr;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section-header {
    animation: fadeInUp 0.6s ease;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px; /* Increase padding for better clearance */
}

/* Section scroll offset */
section {
    scroll-margin-top: 100px; /* Increase margin for better clearance */
}

/* Loading Animation */
.loading {
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

.loading:nth-child(2) {
    animation-delay: 0.1s;
}

.loading:nth-child(3) {
    animation-delay: 0.2s;
}
