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

:root {
    --primary: #1F3A5F;
    --secondary: #3D5A80;
    --accent: #98C1D9;
    --light: #E0FBFC;
    --dark: #293241;
    --white: #FFFFFF;
    --gray: #6B7280;
    --light-gray: #F3F4F6;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background-color: var(--white);
}

a {
    text-decoration: none;
    color: inherit;
}

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

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

/* Header */
header {
    background: var(--white);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.logo span {
    color: var(--secondary);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

nav a {
    color: var(--dark);
    font-weight: 500;
    transition: color 0.3s;
    padding: 8px 0;
}

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

.mobile-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.mobile-toggle span {
    width: 25px;
    height: 3px;
    background: var(--dark);
    border-radius: 2px;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--white);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

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

.hero p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 30px;
}

.hero-image {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.hero-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    background: var(--accent);
    color: var(--dark);
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn:hover {
    background: var(--light);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}

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

/* Sections */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.section-header p {
    color: var(--gray);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Cards Grid */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.card {
    background: var(--white);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: var(--light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.card-icon svg {
    width: 30px;
    height: 30px;
    stroke: var(--primary);
}

.card h3 {
    font-size: 1.3rem;
    color: var(--dark);
    margin-bottom: 12px;
}

.card p {
    color: var(--gray);
    font-size: 0.95rem;
}

/* Features */
.features {
    background: var(--light-gray);
}

.feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 60px;
}

.feature-row:last-child {
    margin-bottom: 0;
}

.feature-row.reverse {
    direction: rtl;
}

.feature-row.reverse > * {
    direction: ltr;
}

.feature-image {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.feature-image img {
    width: 100%;
    height: 350px;
    object-fit: cover;
}

.feature-content h3 {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.feature-content p {
    color: var(--gray);
    margin-bottom: 20px;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    padding: 8px 0;
    padding-left: 28px;
    position: relative;
    color: var(--dark);
}

.feature-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    background: var(--accent);
    border-radius: 50%;
}

/* Team Section */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.team-card {
    text-align: center;
    background: var(--white);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.team-card img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 20px;
    border: 4px solid var(--light);
}

.team-card h3 {
    font-size: 1.2rem;
    color: var(--dark);
    margin-bottom: 5px;
}

.team-card span {
    color: var(--gray);
    font-size: 0.9rem;
}

/* Contact Section */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info {
    background: var(--primary);
    color: var(--white);
    padding: 40px;
    border-radius: 12px;
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.contact-info p {
    opacity: 0.9;
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 25px;
}

.contact-item svg {
    width: 24px;
    height: 24px;
    stroke: var(--accent);
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-item div {
    font-size: 0.95rem;
}

.contact-item strong {
    display: block;
    margin-bottom: 5px;
}

.contact-form {
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px;
    border: 2px solid var(--light-gray);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s;
}

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

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

.form-submit {
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: 14px 32px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.form-submit:hover {
    background: var(--secondary);
}

/* Stats */
.stats {
    background: var(--primary);
    color: var(--white);
    padding: 60px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-item h3 {
    font-size: 3rem;
    margin-bottom: 10px;
}

.stat-item p {
    opacity: 0.8;
    font-size: 1rem;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--white);
    padding: 80px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.page-header p {
    opacity: 0.9;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* About Content */
.about-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 60px;
}

.about-text h2 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.about-text p {
    color: var(--gray);
    margin-bottom: 15px;
}

.about-image {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.about-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

/* Services List */
.services-detail {
    margin-bottom: 40px;
}

.service-item {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    padding: 40px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    margin-bottom: 30px;
    align-items: center;
}

.service-item:nth-child(even) {
    direction: rtl;
}

.service-item:nth-child(even) > * {
    direction: ltr;
}

.service-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
}

.service-content h3 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.service-content p {
    color: var(--gray);
}

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

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand p {
    opacity: 0.7;
    margin-top: 15px;
    font-size: 0.95rem;
}

.footer-col h4 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--accent);
}

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

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

.footer-col a {
    opacity: 0.7;
    transition: opacity 0.3s;
    font-size: 0.95rem;
}

.footer-col a:hover {
    opacity: 1;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    text-align: center;
    opacity: 0.6;
    font-size: 0.9rem;
}

/* Legal Pages */
.legal-content {
    padding: 60px 0;
}

.legal-content h2 {
    font-size: 1.8rem;
    color: var(--primary);
    margin: 40px 0 20px;
}

.legal-content h2:first-child {
    margin-top: 0;
}

.legal-content p {
    color: var(--gray);
    margin-bottom: 15px;
}

.legal-content ul {
    margin: 15px 0;
    padding-left: 25px;
    color: var(--gray);
}

.legal-content li {
    margin-bottom: 8px;
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.gallery-grid img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-content,
    .about-intro,
    .contact-wrapper,
    .feature-row {
        grid-template-columns: 1fr;
    }

    .feature-row.reverse {
        direction: ltr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

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

    .service-item {
        grid-template-columns: 1fr;
    }

    .service-item:nth-child(even) {
        direction: ltr;
    }
}

@media (max-width: 768px) {
    .mobile-toggle {
        display: flex;
    }

    nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        padding: 20px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        display: none;
    }

    nav.active {
        display: block;
    }

    nav ul {
        flex-direction: column;
        gap: 15px;
    }

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

    .hero {
        padding: 60px 0;
    }

    .hero-image img {
        height: 300px;
    }

    section {
        padding: 50px 0;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .stat-item h3 {
        font-size: 2.5rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }
}
