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

:root {
    --dark-color: #182825;     /* Dark teal - for text and dark backgrounds */
    --primary-color: #016FB9;  /* Deep blue - for primary elements */
    --accent-color: #22AED1;   /* Light blue - for accents and highlights */
    --neutral-color: #6D8EA0;  /* Muted blue - for secondary elements */
    --warm-accent: #E2856E;    /* Warm coral - for contrast with blues */
    --light-gray: #F5F5F5;     /* Light gray for backgrounds */
    --white: #ffffff;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
}

/* Navigation Styles */
.navbar {
    background: var(--white);
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo h1 {
    color: var(--dark-color);
    font-size: 2rem;
    line-height: 1.2;
}

.logo-subtitle {
    font-size: 0.9rem;
    color: var(--primary-color);
    margin-top: -2px;
}

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

.nav-links a {
    text-decoration: none;
    color: var(--dark-color);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--accent-color);
}

/* Hero Section */
.hero {
    background: linear-gradient(
        rgba(24, 40, 37, 0.92),    /* --dark-color */
        rgba(1, 111, 185, 0.85)    /* --primary-color */
    ),
    url('img/hero-background.webp') center/cover;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6rem 5% 2rem;
}

.hero-content {
    width: 100%;
    text-align: center;
    padding: 2rem;
    margin: auto;
}

.hero-content h1 {
    color: var(--white);
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero-tagline {
    font-size: 1.8rem;
    margin: 1.5rem auto;
    color: var(--warm-accent);
    max-width: 800px;
}

.hero-subtext {
    color: var(--white);
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.2rem;
}

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

.cta-button {
    padding: 1rem 2rem;
    border-radius: 5px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.cta-button.primary {
    background: var(--accent-color);
    color: var(--white);
}

.cta-button.primary:hover {
    background: var(--primary-color);
}

.cta-button.secondary {
    background: transparent;
    color: var(--light-gray);
    border: 2px solid var(--light-gray);
}

.cta-button:hover {
    transform: translateY(-3px);
}

/* About Section */
.about-section {
    padding: 6rem 5%;
    background: var(--light-gray);
}

.about-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    gap: 2rem;
}

.about-grid {
    margin-bottom: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.lead-text {
    font-size: 1.4rem;
    color: var(--neutral-color);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.about-features {
    list-style: none;
    margin: 2rem 0;
}

.about-features li {
    margin: 1rem 0;
    font-size: 1.1rem;
    color: var(--dark-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.about-features li::before {
    content: "✓";
    color: var(--accent-color);
    font-weight: bold;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1.5rem;
    margin: 3rem auto 0;
    max-width: 900px;
    padding: 0 1rem;
}

.stat-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    border-bottom: 3px solid var(--neutral-color);
}

.stat-card:hover {
    transform: translateY(-5px);
    border-bottom-color: var(--accent-color);
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--neutral-color);
    line-height: 1.3;
}

/* Services Section */
.services-section {
    padding: 5rem 5%;
}

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

.service-card {
    background: var(--light-gray);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
    border-top: 3px solid var(--neutral-color);
}

.service-card:hover {
    transform: translateY(-5px);
    border-top-color: var(--accent-color);
}

.service-card h3 {
    color: var(--primary-color);
}

/* Contact Section */
.contact-section {
    padding: 5rem 5%;
    background: var(--light-gray);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 3rem auto;
}

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

.contact-form input,
.contact-form textarea {
    padding: 1rem;
    border: 1px solid var(--neutral-color);
    border-radius: 5px;
    font-size: 1rem;
    background: var(--white);
}

.contact-form textarea {
    height: 150px;
}

.submit-button {
    background: var(--primary-color);
    color: var(--light-gray);
    padding: 1rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s;
}

.submit-button:hover {
    background: var(--accent-color);
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--neutral-color);
    outline: none;
}

/* Footer Styles */
footer {
    background: var(--dark-color);
    color: var(--light-gray);
    padding: 3rem 5% 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

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

.footer-links a {
    color: var(--light-gray);
    text-decoration: none;
    line-height: 2;
}

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

.certifications {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.certifications p {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none; /* You'll need JavaScript for a mobile menu */
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-tagline {
        font-size: 1.4rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .stat-card {
        min-width: 120px;
        padding: 1.2rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

/* Section Headers */
section h2 {
    text-align: center;
    color: var(--dark-color);
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo h1 {
    color: var(--dark-color);
    font-size: 2rem;
    line-height: 1.2;
}

.logo-subtitle {
    font-size: 0.9rem;
    color: var(--primary-color);
    margin-top: -2px;
}

/* Update service icon styles */
.service-icon {
    width: 180px;
    height: 180px;
    object-fit: cover;
    border-radius: 15px;
    margin: 0 auto 1.5rem auto;
    display: block;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.service-icon:hover {
    transform: scale(1.05);
}

/* Update media query for smaller screens */
@media (max-width: 768px) {
    .service-icon {
        width: 150px;
        height: 150px;
    }
}

/* Add to your existing CSS */
img {
    max-width: 100%;
    height: auto;
}

.service-icon {
    width: 120px;
    height: 120px;
    object-fit: contain;
}

.logo-img {
    width: 200px;
    height: 50px;
    object-fit: contain;
}

@media (max-width: 768px) {
    .service-icon {
        width: 80px;
        height: 80px;
    }
    
    .logo-img {
        width: 150px;
        height: 40px;
    }
}

/* Service icon base styles */
.service-icon {
    width: 180px;  /* Base size for mobile */
    height: 180px;
    object-fit: cover;
    border-radius: 15px;
    margin: 0 auto 1.5rem auto;
    display: block;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.service-icon:hover {
    transform: scale(1.05);
}

/* Medium screens (tablets) */
@media (min-width: 768px) {
    .service-icon {
        width: 220px;
        height: 220px;
    }
}

/* Large screens (desktops) */
@media (min-width: 1024px) {
    .service-icon {
        width: 280px;
        height: 280px;
    }
}

/* Extra large screens */
@media (min-width: 1440px) {
    .service-icon {
        width: 320px;
        height: 320px;
    }
}

/* Add hamburger menu styles */
.hamburger {
    display: none;
    cursor: pointer;
    padding: 10px;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--dark-color);
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* Update media query for mobile menu */
@media (max-width: 768px) {
    .hamburger {
        display: block;
        z-index: 100;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 100%;
        background: var(--dark-color);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.3s ease;
        z-index: 99;
        gap: 2rem;
    }

    .nav-links.active {
        right: 0;
    }

    /* Hamburger animation classes */
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
} 

/* Add to your existing CSS */
body.no-scroll {
    overflow: hidden;
}

/* Add smooth scrolling for the whole page */
html {
    scroll-behavior: smooth;
} 

/* Mobile Menu Styles */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 100%;
        background: var(--dark-color);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: all 0.3s ease-in-out;
        gap: 2rem;
        padding: 2rem;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        opacity: 0;
        transform: translateX(50px);
        transition: all 0.3s ease-in-out;
    }

    .nav-links.active li {
        opacity: 1;
        transform: translateX(0);
    }

    /* Delay each nav item animation */
    .nav-links li:nth-child(1) { transition-delay: 0.2s; }
    .nav-links li:nth-child(2) { transition-delay: 0.3s; }
    .nav-links li:nth-child(3) { transition-delay: 0.4s; }
    .nav-links li:nth-child(4) { transition-delay: 0.5s; }

    .nav-links a {
        color: var(--light-gray);
        font-size: 1.5rem;
        font-weight: 500;
    }

    .nav-links a:hover, 
    .nav-links a.active {
        color: var(--accent-color);
    }

    /* Hamburger Menu */
    .hamburger {
        display: block;
        z-index: 1001;
        position: relative;
    }

    .hamburger span {
        background-color: var(--dark-color);
        transition: all 0.3s ease-in-out;
    }

    /* Hamburger Animation */
    .hamburger.active span {
        background-color: var(--white);
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
        transform: translateX(-20px);
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    /* Prevent body scroll when menu is open */
    body.no-scroll {
        overflow: hidden;
    }

    /* Adjust logo for mobile */
    .logo-text h1 {
        font-size: 1.5rem;
    }

    .logo-subtitle {
        font-size: 0.8rem;
    }
}

/* Ensure navbar stays on top */
.navbar {
    position: fixed;
    width: 100%;
    background: var(--white);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    z-index: 1000;
    padding: 1rem 5%;
} 

/* Add to your existing about section styles */
.tech-stack {
    margin-top: 2rem;
    background: var(--light-gray);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    border-left: 3px solid var(--neutral-color);
}

.tech-stack h4 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.tech-categories {
    display: grid;
    gap: 1rem;
}

.tech-category {
    display: flex;
    gap: 0.5rem;
    align-items: baseline;
}

.category-label {
    font-weight: 600;
    color: var(--primary-color);
    min-width: 100px;
}

.tech-category p {
    color: var(--dark-color);
    margin: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .tech-category {
        flex-direction: column;
        gap: 0.25rem;
    }
    
    .category-label {
        min-width: auto;
    }
    
    .tech-stack {
        padding: 1rem;
    }
} 

/* Update stats styling */
.about-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1.5rem;
    margin: 3rem auto 0;
    max-width: 900px;
    padding: 0 1rem;
}

.stat-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--neutral-color);
    line-height: 1.3;
}

/* Update responsive design */
@media (max-width: 768px) {
    .about-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .about-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }
} 

/* Add media query for wide screens */
@media (min-width: 1024px) {
    .about-content {
        grid-template-columns: 2fr 1fr;
        align-items: start;
    }

    .about-stats {
        grid-template-columns: repeat(2, 1fr);
        margin-top: 0;
    }

    /* Adjust stat cards for the new layout */
    .stat-card {
        padding: 1.2rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .stat-label {
        font-size: 0.8rem;
    }
}

/* Update responsive breakpoints */
@media (max-width: 1023px) {
    .about-stats {
        grid-template-columns: repeat(3, 1fr);
        margin-top: 3rem;
    }
}

@media (max-width: 768px) {
    .about-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
} 