/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    font-weight: 400;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Futura', Arial, sans-serif;
    font-weight: 700;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
    line-height: 1.2;
}

h2 {
    font-size: 2rem;
    line-height: 1.3;
}

h3 {
    font-size: 1.5rem;
    line-height: 1.4;
}

p {
    margin-top: 1rem;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

/* Navigation */
.navbar {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

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

.nav-logo .logo {
    height: 80px;
    width: auto;
}

.nav-links-desktop {
    display: flex;
    gap: 2rem;
    flex: 1;
    justify-content: center;
}

.nav-menu {
    display: none; /* Hidden by default, shown only on mobile */
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

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

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

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #2d8d81;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 10px;
    gap: 5px;
    background: transparent;
    border: none;
    position: relative;
    outline: none;
}

.nav-toggle:focus {
    outline: 2px solid #2d8d81;
    outline-offset: 2px;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #333;
    transition: transform 0.3s ease, opacity 0.3s ease;
    display: block;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background-color: #2d8d81;
    color: white;
}

.btn-primary:hover {
    background-color: #1e4f4f;
    transform: translateY(-2px);
}

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

.btn-secondary:hover {
    background-color: #2d8d81;
    color: white;
}

.btn-large {
    padding: 15px 40px;
    font-size: 1.1rem;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #2d8d81 0%, #1e4f4f 100%);
    color: white;
    padding: 160px 0 80px;
    text-align: center;
}

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

.hero-title {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Section Styles */
.section-title {
    text-align: center;
    margin-bottom: 2.5rem;
    color: #333;
}

.page-title {
    text-align: center;
    color: white;
    margin-bottom: 1rem;
}

.page-subtitle {
    text-align: center;
    color: white;
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Problem Section */
.problem-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

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

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

.problem-item h3 {
    color: #1e4f4f;
    margin-bottom: 1rem;
}

/* Solution Section */
.solution-section {
    padding: 80px 0;
    background-color: white;
}

.solution-intro {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    color: #2d8d81;
    font-weight: 700;
}

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

.solution-item {
    background: linear-gradient(135deg, #2d8d81 0%, #1e4f4f 100%);
    color: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
}

.solution-item h3 {
    margin-bottom: 1rem;
}

/* Services Section */
.services-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

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

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card h3 {
    color: #2d8d81;
    margin-bottom: 1rem;
}

/* About Page Styles */
.about-hero,
.contact-hero {
    background: linear-gradient(135deg, #2d8d81 0%, #1e4f4f 100%);
    color: white;
    padding: 160px 0 80px;
    text-align: center;
}

/* .mission-section,
.vision-section, */
.mission-and-vision-section,
.technology-section {
    padding: 80px 0;
    background-color: white;
}

.mission-content,
.vision-content,
.tech-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.mission-content h2,
.vision-content h2,
.tech-content h2 {
    color: #2d8d81;
    margin-bottom: 2rem;
}

.values-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

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

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

.value-item h3 {
    color: #2d8d81;
    margin-bottom: 1rem;
}

/* Contact Page Styles */
.contact-section {
    padding: 80px 0;
    background-color: white;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-form-container h2,
.contact-info h2 {
    color: #2d8d81;
    margin-bottom: 2rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #333;
}

.form-group input,
.form-group textarea {
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2d8d81;
}

.contact-details {
    margin-bottom: 2rem;
}

.contact-item {
    margin-bottom: 1.5rem;
}

.contact-item h3 {
    color: #2d8d81;
    margin-bottom: 0.5rem;
}

.contact-benefits ul {
    list-style: none;
    padding: 0;
}

.contact-benefits li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.contact-benefits li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #2d8d81;
    font-weight: bold;
}

.why-choose-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

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

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

.benefit-item h3 {
    color: #2d8d81;
    margin-bottom: 1rem;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #2d8d81 0%, #1e4f4f 100%);
    color: white;
    text-align: center;
}

.cta-content h2 {
    margin-bottom: 1rem;
}

.cta-content p {
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

/* Footer */
.footer {
    background-color: #1e4f4f;
    color: white;
    padding: 40px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: white;
    text-decoration: none;
    font-weight: 700;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.2);
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Hide desktop menu */
    .nav-links-desktop {
        display: none !important;
    }
    
    /* Show mobile menu */
    .nav-menu {
        display: flex;
        position: fixed;
        left: 0;
        top: 90px;
        flex-direction: column;
        background-color: white;
        width: 100vw;
        text-align: center;
        transition: transform 0.3s ease;
        box-shadow: 0 10px 27px rgba(0,0,0,0.05);
        padding: 2rem 0;
        gap: 1rem;
        z-index: 1002;
        transform: translateX(-100%);
    }

    .nav-menu.active {
        transform: translateX(0) !important;
    }

    .nav-toggle {
        display: flex;
        z-index: 1001;
        order: 3;
        margin-left: auto;
    }

    /* Hide desktop nav actions on mobile */
    .nav-actions {
        display: none !important;
    }

    .nav-logo {
        order: 1;
    }

    /* Style mobile Get Calq button */
    .mobile-get-calq {
        margin: 0.5rem 2rem 0 2rem;
        background-color: #1e4f4f !important;
        color: white !important;
        border: 2px solid #1e4f4f !important;
    }

    .mobile-get-calq:hover {
        background-color: #2d8d81 !important;
        border-color: #2d8d81 !important;
    }

    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    .hero-title {
        font-size: 2rem;
    }

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

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero {
        padding: 140px 0 60px;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    /* Reduce section padding on mobile */
    .problem-section,
    .solution-section,
    .services-section,
    .mission-section,
    .vision-section,
    .technology-section,
    .values-section,
    .contact-section,
    .why-choose-section,
    .cta-section {
        padding: 40px 0;
    }

    .about-hero,
    .contact-hero {
        padding: 140px 0 60px;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .btn-large {
        padding: 12px 25px;
        font-size: 1rem;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

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

.hero-content,
.section-title,
.problem-item,
.solution-item,
.service-card {
    animation: fadeInUp 0.6s ease-out;
}

/* Focus states for accessibility */
.btn:focus,
.nav-link:focus,
input:focus,
textarea:focus {
    outline: 2px solid #2d8d81;
    outline-offset: 2px;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 2rem;
    border-radius: 10px;
    width: 90%;
    max-width: 500px;
    position: relative;
    animation: slideIn 0.3s ease;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    top: 15px;
    right: 20px;
}

.close:hover,
.close:focus {
    color: #2d8d81;
}

.get-calq-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.get-calq-form h2 {
    color: #2d8d81;
    margin-bottom: 1rem;
    text-align: center;
}

.get-calq-form p {
    text-align: center;
    margin-bottom: 2rem;
    color: #666;
}

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

@keyframes slideIn {
    from { 
        opacity: 0;
        transform: translateY(-50px);
    }
    to { 
        opacity: 1;
        transform: translateY(0);
    }
}

/* Print styles */
@media print {
    .navbar,
    .footer,
    .cta-section {
        display: none;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
}
