/* Global Styles */
:root {
    --primary-color: #ff6b00;
    --secondary-color: #333;
    --light-color: #f4f4f4;
    --dark-color: #222;
    --white: #fff;
    --gray: #777;
    --light-gray: #eee;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--secondary-color);
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

h1, h2, h3, h4 {
    margin-bottom: 1rem;
    line-height: 1.2;
}

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: var(--secondary-color);
}

.btn {
    display: inline-block;
    background: var(--primary-color);
    color: var(--white);
    padding: 0.8rem 1.8rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    text-align: center;
}

.btn:hover {
    background: #e05e00;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

section {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.5rem;
    position: relative;
    display: inline-block;
    padding-bottom: 1rem;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--primary-color);
}

/* Header Styles */
header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-color);
}

.logo img {
    height: 40px;
    margin-right: 10px;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 2rem;
}

nav ul li a {
    font-weight: 600;
    transition: color 0.3s ease;
    position: relative;
}

nav ul li a:hover {
    color: var(--primary-color);
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

nav ul li a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../images/hero-bg.jpg') no-repeat center center/cover;
    height: 100vh;
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--white);
    margin-top: -80px;
    padding-top: 80px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* About Section */
.about .container {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.about-content {
    flex: 1;
}

.about-image {
    flex: 1;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.stats {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
}

.number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
    margin-bottom: 0.5rem;
}

.label {
    font-size: 0.9rem;
    color: var(--gray);
}

/* Services Section Styles */
.services {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.section-subtitle {
    color: #666;
    margin-bottom: 40px;
    text-align: center;
    font-size: 1.1rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.service-card {
    background: #fff;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.service-card i {
    font-size: 2.5rem;
    color: #007bff;
    margin-bottom: 20px;
    display: inline-block;
}

.service-card h3 {
    color: #333;
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.service-content {
    margin-bottom: 15px;
}

.service-card ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.service-card li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
    color: #555;
    position: relative;
    padding-left: 20px;
}

.service-card li:before {
    content: "•";
    color: #007bff;
    position: absolute;
    left: 0;
}

.hidden-items {
    display: none;
}

.show-more-btn {
    background: none;
    border: none;
    color: #007bff;
    cursor: pointer;
    font-weight: 600;
    padding: 8px 0;
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 10px;
}

.show-more-btn i {
    font-size: 0.9rem;
    margin: 0;
    transition: transform 0.3s ease;
}

.service-card.active .hidden-items {
    display: block;
}

.service-card.active .show-more-btn i {
    transform: rotate(180deg);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .service-card {
        padding: 25px;
    }
}

/* Projects Section Styles */
.projects {
    padding: 80px 0;
    background-color: #fff;
}

.section-subtitle {
    color: #666;
    margin-bottom: 40px;
    text-align: center;
    font-size: 1.1rem;
}

.projects-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.project-category {
    background: #f9f9f9;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.project-category:hover {
    transform: translateY(-5px);
}

.project-category h3 {
    color: #007bff;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #007bff;
    font-size: 1.2rem;
}

.project-category ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.project-category li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
    font-size: 0.95rem;
    color: #333;
}

.project-category li:last-child {
    border-bottom: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .projects-list {
        grid-template-columns: 1fr;
    }
    
    .project-category {
        margin-bottom: 20px;
    }
}

/* Team Section Styles */
.team {
    padding: 60px 0;
    background-color: #f9f9f9;
    text-align: center;
}

.section-subtitle {
    color: #666;
    margin-bottom: 40px;
    font-size: 1rem;
}

.team-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    padding: 0 15px;
}

.team-member {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 300px;
}

.member-image {
    height: 400px;
    padding-bottom: 100%; /* Creates square container */
    position: relative;
    overflow: hidden;
}

.member-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.member-info {
    padding: 20px 15px;
}

.member-info h3 {
    margin: 0 0 5px;
    color: #333;
    font-size: 1.2rem;
}

.member-info p {
    margin: 0;
    color: #007bff;
    font-weight: 600;
    font-size: 0.9rem;
}

/* Mobile-first responsive design */
@media (max-width: 767px) {
    .team {
        padding: 40px 0;
    }
    
    .team-grid {
        flex-direction: column;
        align-items: center;
        gap: 25px;
        padding: 0 10px;
    }
    
    .team-member {
        max-width: 100%;
        width: 100%;
        display: flex;
        flex-direction: column;
    }
    
    .member-image {
        padding-bottom: 120%; /* Taller container for better face visibility */
    }
    
    .member-info {
        padding: 15px 10px;
    }
    
    .member-info h3 {
        font-size: 1.3rem;
    }
    
    .member-info p {
        font-size: 1rem;
    }
}

/* Tablet and larger screens */
@media (min-width: 768px) {
    .team-grid {
        gap: 25px;
    }
    
    .team-member {
        max-width: calc(50% - 25px);
    }
}

/* Desktop screens */
@media (min-width: 992px) {
    .team-member {
        max-width: calc(33.333% - 30px);
    }
}


/* Careers Section Styles */
.careers {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.jobs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.job-category {
    background: #fff;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.job-category h3 {
    color: #007bff;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #007bff;
}

.job-category ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.job-category li {
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.job-category li:last-child {
    border-bottom: none;
}

.job-category h4 {
    color: #333;
    margin-bottom: 5px;
}

.job-category p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
}

.application-info {
    margin-top: 40px;
    padding: 20px;
    background-color: #e9f5ff;
    border-radius: 8px;
    text-align: center;
}

.application-info p {
    margin: 0;
    color: #333;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .jobs-grid {
        grid-template-columns: 1fr;
    }
    
    .job-category {
        margin-bottom: 20px;
    }
}

/* Contact Section Styles */
.contact {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 40px;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.location-map {
    flex: 1;
    min-width: 300px;
}

.location-map h3 {
    margin-bottom: 20px;
    color: #333;
    font-size: 1.4rem;
}

.map-container {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .contact-container {
        flex-direction: column;
    }
    
    .contact-info, .location-map {
        width: 100%;
    }
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.info-item i {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-right: 1rem;
    margin-top: 0.3rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--light-gray);
    border-radius: 50%;
    color: var(--secondary-color);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary-color);
    color: var(--white);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
footer {
    background: var(--dark-color);
    color: var(--white);
    padding: 4rem 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-col h3 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.8rem;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--primary-color);
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.8rem;
}

.footer-col ul li a {
    color: #bbb;
    transition: color 0.3s ease;
}

.footer-col ul li a:hover {
    color: var(--primary-color);
}

.newsletter-form {
    display: flex;
    margin-top: 1.5rem;
}

.newsletter-form input {
    flex: 1;
    padding: 0.8rem 1rem;
    border: none;
    border-radius: 5px 0 0 5px;
    font-family: inherit;
}

.newsletter-form button {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 0 1.2rem;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
    transition: background 0.3s ease;
}

.newsletter-form button:hover {
    background: #e05e00;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.legal-links {
    margin-top: 1rem;
    display: flex;
    gap: 1.5rem;
}

.legal-links a {
    color: #bbb;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.legal-links a:hover {
    color: var(--primary-color);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .about .container {
        flex-direction: column;
    }
    
    .contact-container {
        flex-direction: column;
    }
    
    .contact-info, .contact-form {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    nav ul {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--white);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: all 0.5s ease;
    }
    
    nav ul.active {
        left: 0;
    }
    
    nav ul li {
        margin: 1.5rem 0;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .stats {
        flex-direction: column;
        gap: 1.5rem;
    }
}

@media (max-width: 576px) {
    section {
        padding: 3rem 0;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
}