/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: white;
    font-weight: 400;
    font-size: 16px; /* Base font size */
}

/* Typography Hierarchy - Consistent across all pages */
h1 {
    font-size: 2.5rem;
    font-weight: 700;
    font-family: 'Nunito', sans-serif;
    color: #012b41;
    margin-bottom: 1rem;
    line-height: 1.2;
}

h2 {
    font-size: 2rem;
    font-weight: 600;
    font-family: 'Nunito', sans-serif;
    color: #012b41;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

h3 {
    font-size: 1.4rem;
    font-weight: 600;
    font-family: 'Nunito', sans-serif;
    color: #012b41;
    margin-bottom: 1rem;
    line-height: 1.3;
}

h4 {
    font-size: 1.2rem;
    font-weight: 600;
    font-family: 'Nunito', sans-serif;
    color: #012b41;
    margin-bottom: 0.8rem;
    line-height: 1.3;
}

p {
    font-size: 1rem;
    line-height: 1.6;
    color: #666;
    margin-bottom: 1rem;
}

/* Special text sizes */
.text-large {
    font-size: 1.1rem;
}

.text-small {
    font-size: 0.9rem;
}

.text-xs {
    font-size: 0.8rem;
}

/* Contact page specific styles */
.feature-list {
    list-style: none;
    padding: 0;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.feature-list li {
    margin-bottom: 0.7rem;
}

.social-links {
    margin-top: 1rem;
}

.social-link {
    color: #f77010;
    text-decoration: none;
    margin-right: 1.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    display: inline-block;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: #012b41;
}

/* Header and Navigation */
header {
    background-color: white;
    padding: 1rem 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

header.scrolled {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.logo a {
    color: #012b41;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 600;
    font-family: 'Nunito', sans-serif;
    transition: color 0.3s ease;
}


nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav ul li a {
    color: #012b41;
    text-decoration: none;
    transition: color 0.3s ease;
    font-family: 'Nunito', sans-serif;
    font-weight: 500;
    font-size: 1rem;
}

nav ul li a:hover {
    color: #f77010;
}


/* Main content */
main {
    margin-top: 80px;
    min-height: calc(100vh - 160px);
}

/* Hero section */
#hero {
    background: linear-gradient(135deg, #012b41 0%, #024a6b 100%);
    color: white;
    text-align: center;
    padding: 100px 2rem;
}

/* Hero section gets larger h1 */
#hero h1 {
    font-size: 3rem;
    color: white;
}

#hero p {
    font-size: 1.1rem;
    color: white;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-block;
    background-color: #f77010;
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    font-family: 'Nunito', sans-serif;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(247, 112, 16, 0.3);
}

.cta-button:hover {
    background-color: #e55a00;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(247, 112, 16, 0.4);
}

/* Services section */
#services-preview {
    padding: 80px 2rem;
    background-color: #f8f9fa;
}

#services-preview h2 {
    text-align: center;
}

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

.service-item {
    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-item:hover {
    transform: translateY(-5px);
}

.service-item h3 {
    /* Uses global h3 styles */
}

.service-item p {
    /* Uses global p styles */
}

.see-more {
    text-align: center;
    margin-top: 3rem;
}

.see-more a {
    color: #f77010;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: bold;
    border: 2px solid #f77010;
    padding: 10px 25px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.see-more a:hover {
    background-color: #f77010;
    color: white;
}

/* Page content styles */
.page-header {
    background-color: #012b41;
    color: white;
    text-align: center;
    padding: 100px 2rem 50px;
}

.page-header h1 {
    color: white;
}

.content-section {
    padding: 60px 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.content-section h2 {
    /* Uses global h2 styles */
}

.content-section p {
    margin-bottom: 1.5rem;
}

/* Services grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.service-card {
    background: white;
    border: 2px solid #f0f0f0;
    border-radius: 10px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.service-card:hover {
    border-color: #f77010;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.service-card h3 {
    /* Uses global h3 styles */
}

/* Portfolio grid */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.portfolio-item {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.portfolio-item:hover {
    transform: translateY(-5px);
}

.portfolio-item img {
    width: 100%;
    height: 200px;
    background-color: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
}

.portfolio-content {
    padding: 1.5rem;
}

.portfolio-content h3 {
    margin-bottom: 0.5rem;
}

/* Contact form */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 2rem;
}

.contact-info {
    padding: 1.5rem;
    background-color: #f9f9f9;
    border-radius: 10px;
}

.contact-form {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #012b41;
    font-weight: 600;
    font-size: 0.9rem;
}

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

.form-group select {
    background-color: white;
    cursor: pointer;
}

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

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

.submit-btn {
    background-color: #f77010;
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    font-family: 'Nunito', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(247, 112, 16, 0.3);
}

.submit-btn:hover {
    background-color: #e55a00;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(247, 112, 16, 0.4);
}

.contact-info h3 {
    margin-bottom: 1rem;
    margin-top: 2rem;
}

.contact-info h3:first-child {
    margin-top: 0;
}

.contact-info p {
    margin-bottom: 1rem;
}

/* About page alternating sections */
.about-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 5rem;
    padding: 2rem 0;
}

.about-section.reverse {
    direction: rtl;
}

.about-section.reverse .about-content,
.about-section.reverse .about-image {
    direction: ltr;
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-placeholder {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 15px;
    padding: 3rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    width: 100%;
    max-width: 400px;
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.image-placeholder:hover {
    transform: translateY(-5px);
}

.image-placeholder p {
    margin-top: 1rem;
    font-weight: 600;
    color: #012b41;
    font-size: 1.2rem;
}

.about-content h2 {
    margin-bottom: 1.5rem;
}

.mission-highlights,
.vision-points {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.highlight-item,
.vision-point {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.8rem;
    background: #f8f9fa;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.highlight-item:hover,
.vision-point:hover {
    background: #e9ecef;
    transform: translateX(5px);
}

.highlight-item span,
.vision-point span {
    font-weight: 500;
    color: #012b41;
}

/* Tech stack */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.tech-item {
    background: white;
    border: 2px solid #f0f0f0;
    border-radius: 10px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.tech-item:hover {
    background-color: #f0f0f0;
    border-color: #f77010;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.tech-item:hover h4 {
    color: #012b41;
}

.tech-item:hover p {
    color: #666;
}

.tech-item h4 {
    /* Uses global h4 styles */
}

/* Section spacing utility */
.section-spacing {
    margin-top: 5rem !important;
}

/* Footer */
footer {
    background-color: #012b41;
    color: white;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.footer-section h3 {
    color: #f77010;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.footer-section p {
    color: #ccc;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

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

.social-icon:hover {
    background-color: #e55a00;
    transform: translateY(-2px);
    color: white;
}

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

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.9rem;
}

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

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1rem;
    color: #ccc;
}

.contact-item i {
    color: #f77010;
    width: 16px;
}

.footer-bottom {
    border-top: 1px solid #024a6b;
    padding: 1.5rem 2rem;
    text-align: center;
    background-color: #001a2e;
}

.footer-bottom p {
    margin: 0;
    color: #ccc;
    font-size: 0.8rem;
}

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

.footer-bottom a:hover {
    color: #e55a00;
}

/* FAQ Accordion Styles */
.faq-accordion {
    width: 100%;
    margin: 0;
}

.faq-card {
    background: white;
    border: 2px solid #f0f0f0;
    border-radius: 10px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-card:hover {
    border-color: #f77010;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background-color: #f8f9fa;
}

.faq-question h3 {
    margin: 0;
    color: #012b41;
    font-size: 1.1rem;
}

.faq-icon {
    color: #f77010;
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.faq-card:hover .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    background-color: #f8f9fa;
}

.faq-card:hover .faq-answer {
    max-height: 200px;
    padding: 0 1.5rem 1.5rem 1.5rem;
}

.faq-answer p {
    margin: 0;
    line-height: 1.7;
    color: #666;
    padding-top: 1rem;
}

/* Responsive design */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
        gap: 1rem;
    }
    
    nav ul {
        gap: 1rem;
    }
    
    #hero h1 {
        font-size: 2rem;
    }
    
    .services-container {
        grid-template-columns: 1fr;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .content-section {
        padding: 40px 1rem;
    }
    
    /* About page responsive */
    .about-section,
    .about-section.reverse {
        grid-template-columns: 1fr;
        gap: 2rem;
        direction: ltr;
        margin-bottom: 3rem;
    }
    
    .image-placeholder {
        max-width: 300px;
        padding: 2rem;
    }
    
    .mission-highlights,
    .vision-points {
        margin-top: 1.5rem;
    }
    
    /* Footer responsive */
    .footer-content {
        grid-template-columns: 1fr;
        padding: 2rem 1rem;
        gap: 1.5rem;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-bottom {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    nav {
        padding: 0 1rem;
    }
    
    #hero {
        padding: 60px 1rem;
    }
    
    #hero h1 {
        font-size: 1.8rem;
    }
    
    .page-header {
        padding: 80px 1rem 40px;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
}
