* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    direction: ltr;
}

.top-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 8%;
    background: #fff;
}

.logo .charles {
    font-size: 28px;
    font-weight: bold;
    color: #1a2b48;
}

.logo p {
    font-size: 10px;
    letter-spacing: 2px;
    color: #777;
}

.contact-info {
    display: flex;
    align-items: center;
    gap: 30px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: #555;
}

.info-item i {
    font-size: 20px;
    color: #1a2b48;
}

.btn-quote {
    padding: 10px 20px;
    border: 1px solid #333;
    text-decoration: none;
    color: #333;
    font-weight: bold;
    font-size: 14px;
}


.hero {
    height: 500px;
    background: linear-gradient(rgba(255,255,255,0.4), rgba(255,255,255,0.4)), 
                url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=1500&q=80'); /* صورة خلفية للمثال */
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    padding-left: 8%;
}

.hero-content h1 {
    font-size: 50px;
    color: #1a2b48;
    margin: 15px 0;
    font-weight: 800;
}

.hero-content .subtitle {
    font-size: 18px;
    color: #333;
}

.btn-contact {
    display: inline-block;
    padding: 12px 25px;
    background: #fff;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    font-weight: bold;
    margin-top: 10px;
}


.features {
    display: flex;
    width: 100%;
    height: 180px;
}

.feature-box {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    transition: 0.3s;
    border-bottom: 4px solid transparent;
}

.feature-box i {
    font-size: 40px;
    color: #2c3e50;
    margin-bottom: 15px;
}

.feature-box h3 {
    font-size: 16px;
    color: #1a2b48;
}


.light-gray {
    background-color: aliceblue; }
.gray-1 {
    background-color: aliceblue; }
.gray-2 {
    background-color: aliceblue; }
.gray-3 {
    background-color: #a0aec0; }

.feature-box:hover {
    border-bottom: 4px solid #1a2b48;
    cursor: pointer;
}

.about-section {
    padding: 80px 8%;
    background-color: aliceblue;
}

.about-section .container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-image {
    flex: 1;
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

.about-content {
    flex: 1;
    text-align: center;
}

.about-content h2 {
    font-size: 32px;
    color: #1a2b48;
    margin-bottom: 10px;
}

.underline {
    width: 50px;
    height: 3px;
    background-color: #ccc;
    margin: 0 auto 30px;
}

.about-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 15px;
    text-align: justify;
}


.about-icons {
    display: flex;
    justify-content: space-around;
    border-top: 1px solid #eee;
    padding-top: 30px;
    margin-top: 30px;
}

.icon-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    flex: 1;
}

.icon-box:not(:last-child) {
    border-right: 1px dashed #ccc;
}

.icon-box i {
    font-size: 24px;
    color: #1a2b48;
}

.icon-box span {
    font-size: 18px;
    font-weight: bold;
    color: #1a2b48;
}

@media (max-width: 768px) {
    .about-section .container {
        flex-direction: column;
    }
    
    .icon-box:not(:last-child) {
        border-right: none;
        border-bottom: 1px dashed #ccc;
        padding-bottom: 15px;
        margin-bottom: 15px;
    }
}

.cta-section {
    position: relative;
    width: 100%;
    height: 300px;
    background-image: url('https://images.unsplash.com/photo-1551288049-bebda4e38f71?auto=format&fit=crop&w=1500&q=80'); /* صورة تعبيرية لرسوم بيانية */
    background-size: cover;
    background-position: center;
    background-attachment: fixed; 
}

.cta-overlay {
    width: 100%;
    height: 100%;
    background-color: rgba(0, 51, 102, 0.85);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 15%;
}

.cta-overlay h2 {
    color: #ffffff;
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 25px;
    line-height: 1.4;
}

.btn-dark-quote {
    padding: 12px 30px;
    background-color: #0b1c39;
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
    border-radius: 4px;
    transition: 0.3s ease;
    border: 1px solid rgba(255,255,255,0.1);
}

.btn-dark-quote:hover {
    background-color: #ffffff;
    color: #0b1c39;
}

@media (max-width: 768px) {
    .cta-overlay h2 {
        font-size: 24px;
    }
    .cta-section {
        height: auto;
        padding: 60px 20px;
    }
}
.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: 28px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.section-header h2 span {
    font-weight: 900;
}

.section-header p {
    color: #777;
    font-size: 14px;
}

.services-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.service-card {
    display: flex;
    flex: 1 1 calc(33.333% - 20px); 
    min-width: 300px;
    background: #fff;
    border: 1px solid #eee;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    overflow: hidden;
}


.card-image img {
    width: 120px;
    height: 100%;
    object-fit: cover;
    display: block;
}

.card-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.card-content h3 {
    font-size: 18px;
    margin: 0 0 5px 0;
    color: #1a3a5a; 
}

.card-content p {
    font-size: 13px;
    color: #666;
    margin: 0 0 15px 0;
}

.learn-more {
    text-decoration: none;
    color: #4a90e2;
    font-size: 12px;
    font-weight: bold;
    display: flex;
    align-items: center;
}

.learn-more span {
    font-size: 18px;
    margin-left: 5px;
}

.section-footer {
    text-align: center;
    margin-top: 40px;
}

.section-footer p {
    font-size: 14px;
    color: #444;
    margin-bottom: 10px;
}

.contact-link {
    color: #4a90e2;
    text-decoration: none;
    font-weight: bold;
    border-bottom: 1px solid #4a90e2;
    padding-bottom: 2px;
}

@media (max-width: 768px) {
    .service-card {
        flex: 1 1 100%; 
    }
}

.team-header {
    text-align: center;
    margin-bottom: 50px;
}

.team-header h2 {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 5px;
}

.team-header .underline {
    width: 40px;
    height: 3px;
    background-color: #ccc;
    margin: 0 auto 15px;
}

.team-header p {
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.team-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.team-card {
    background-color: #9ea7b4;
    width: 220px;
    padding-top: 30px;
    border-radius: 10px 10px 0 0;
    text-align: center;
    transition: transform 0.3s;
}

.team-card:hover {
    transform: translateY(-5px);
}

.image-container {
    width: 160px;
    height: 160px;
    margin: 0 auto;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid #bdc3c7; 
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.info {
    padding: 20px 10px;
}

.info h3 {
    font-size: 18px;
    color: #000;
    margin-bottom: 5px;
}

.info p {
    font-size: 14px;
    color: #444;
}

.footer {
    background-color: #1a252f;
    color: white;
    padding: 40px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-top: 0;
    padding-bottom: 0;
}

.footer h4 {
    margin-bottom: 15px;
    font-size: 18px;
}

.contact-info p {
    font-size: 14px;
    margin-bottom: 8px;
    color: #bdc3c7;
}

.social-links {
    text-align: right;
}

.social-links .icons {
    display: flex;
    gap: 15px;
}

.social-links a {
    color: white;
    font-size: 20px;
    text-decoration: none;
    transition: opacity 0.3s;
}

.social-links a:hover {
    opacity: 0.7;
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    .social-links {
        text-align: center;
        margin: 0 auto;
    }
    .social-links .icons {
        justify-content: center;
    }
}