/* Global Styles */
:root {
    --primary-color: #0056b3;
    --secondary-color: #003366;
    --accent-color: #ff6b00;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
    --text-color: #333;
    --text-light: #6c757d;
    --white: #fff;
    --gray: #e9ecef;
    --font-main: 'Open Sans', sans-serif;
}

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

body {
    font-family: var(--font-main);
    color: var(--text-color);
    line-height: 1.6;
}

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

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
}

.btn-primary {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 12px 25px;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s ease;
}

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

.btn-secondary {
    display: inline-block;
    background-color: transparent;
    color: var(--primary-color);
    padding: 10px 20px;
    border: 2px solid var(--primary-color);
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s ease;
}

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

h1, h2, h3, h4 {
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 15px;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* Header Styles */
.header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo img {
    height: 100px;
}

.main-nav ul {
    display: flex;
}

.main-nav li {
    position: relative;
    margin-left: 30px;
}

.main-nav a {
    color: var(--dark-color);
    font-weight: 600;
    padding: 10px 0;
    position: relative;
}

.main-nav a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    bottom: 0;
    left: 0;
    transition: width 0.3s ease;
}

.main-nav a:hover:after,
.main-nav li.active > a:after {
    width: 100%;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--white);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    padding: 10px 0;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 100;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu a {
    display: block;
    padding: 10px 20px;
    color: var(--text-color);
}

.dropdown-menu a:hover {
    background-color: var(--gray);
    color: var(--primary-color);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
}

.mobile-menu-btn span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--dark-color);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    background: linear-gradient(#0018b3, rgba(0, 0, 0, 0.6)), url('../images/hero-bg.jpg') no-repeat center center/cover;
    color: var(--white);
    text-align: center;
    padding: 180px 0 100px;
    margin-top: 80px;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px;
}

/* Page Hero */
.page-hero {
    background-color: var(--primary-color);
    color: var(--white);
    text-align: center;
    padding: 120px 0 60px;
    margin-top: 80px;
}

.page-hero h1 {
    font-size: 2.5rem;
}

.page-hero p {
    font-size: 1.1rem;
}

/* Services Overview */
.services-overview {
    padding: 80px 0;
    text-align: center;
}

.services-overview h2 {
    margin-bottom: 50px;
}

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

.service-card {
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* About Preview */
.about-preview {
    padding: 80px 0;
    background-color: var(--gray);
}

.about-preview .container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-content {
    flex: 1;
}

.about-image {
    flex: 1;
    border-radius: 8px;
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Mission Section */
.mission-section {
    padding: 80px 0;
}

.mission-section .container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.mission-content {
    flex: 1;
}

.mission-image {
    flex: 1;
    border-radius: 8px;
    overflow: hidden;
}

.mission-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Team Section */
.team-section {
    padding: 80px 0;
    background-color: var(--gray);
    text-align: center;
}

.team-intro {
    max-width: 700px;
    margin: 0 auto 50px;
}

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

.team-member {
    background-color: var(--white);
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.member-photo {
    width: 150px;
    height: 150px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
}

.member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.position {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 15px;
}

/* Values Section */
.values-section {
    padding: 80px 0;
    text-align: center;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.value-card {
    padding: 30px;
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.value-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.value-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Service Detail */
.service-detail {
    padding: 80px 0;
}

.service-detail.alt {
    background-color: var(--gray);
}

.service-detail .container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.service-content {
    flex: 1;
}

.service-image {
    flex: 1;
    border-radius: 8px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: auto;
    display: block;
}

.service-detail ul {
    margin: 20px 0;
}

.service-detail li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
}

.service-detail li:before {
    content: '✓';
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Service CTA */
.service-cta {
    padding: 60px 0;
    background-color: var(--primary-color);
    color: var(--white);
    text-align: center;
}

.service-cta h2 {
    margin-bottom: 20px;
}

/* Partner Section */
.partner-section {
    padding: 80px 0;
    text-align: center;
}

.partner-section.alt {
    background-color: var(--gray);
}

.section-intro {
    max-width: 700px;
    margin: 0 auto 50px;
}

.partner-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-bottom: 50px;
}

.partner-logo {
    width: 150px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--white);
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.partner-logo img {
    max-width: 100%;
    max-height: 100%;
}

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

.testimonial {
    background-color: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
}

.testimonial blockquote {
    font-style: italic;
    margin-bottom: 20px;
    position: relative;
    padding: 0 20px;
}

.testimonial blockquote:before,
.testimonial blockquote:after {
    content: '"';
    font-size: 2rem;
    color: var(--primary-color);
    opacity: 0.3;
    position: absolute;
}

.testimonial blockquote:before {
    top: -10px;
    left: 0;
}

.testimonial blockquote:after {
    bottom: -30px;
    right: 0;
}

.testimonial-author p {
    margin: 5px 0;
}

.testimonial-author p:first-child {
    font-weight: 600;
}

/* Become Partner */
.become-partner {
    padding: 60px 0;
    background-color: var(--primary-color);
    color: var(--white);
    text-align: center;
}

.become-partner h2 {
    margin-bottom: 20px;
}

/* Contact Main */
.contact-main {
    padding: 80px 0;
}

.contact-main .container {
    display: flex;
    gap: 50px;
}

.contact-form {
    flex: 1;
}

.contact-info {
    flex: 1;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: var(--font-main);
}

.form-group textarea {
    min-height: 150px;
}

.info-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
}

.info-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* Map Section */
.map-section {
    padding: 0 0 80px;
    text-align: center;
}

.map-container {
    height: 400px;
    margin-top: 30px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.map-placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Footer */
.footer {
    background-color: var(--dark-color);
    color: var(--white);
    padding: 60px 0 0;
}

.footer-logo img {
    height: 50px;
    margin-bottom: 20px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    margin-bottom: 40px;
}

.footer-column {
    flex: 1;
    min-width: 200px;
}

.footer-column h4 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

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

.footer-column a {
    color: var(--gray);
}

.footer-column a:hover {
    color: var(--white);
}

.footer-bottom {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 20px 0;
    text-align: center;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .about-preview .container,
    .mission-section .container,
    .service-detail .container {
        flex-direction: column;
    }
    
    .about-image,
    .mission-image,
    .service-image {
        order: -1;
    }
    
    .contact-main .container {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .main-nav {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 80%;
        height: calc(100vh - 80px);
        background-color: var(--white);
        flex-direction: column;
        padding: 30px;
        transition: all 0.3s ease;
        z-index: 999;
    }
    
    .main-nav.active {
        left: 0;
    }
    
    .main-nav ul {
        flex-direction: column;
    }
    
    .main-nav li {
        margin: 15px 0;
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        padding: 10px 0 0 20px;
        display: none;
    }
    
    .dropdown:hover .dropdown-menu {
        display: none;
    }
    
    .dropdown.active .dropdown-menu {
        display: block;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .hero {
        padding: 150px 0 80px;
    }
    
    .page-hero {
        padding: 100px 0 50px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
}