/* 
==============================================
Table of Contents
==============================================
1. General Styles
2. Typography
3. Layout & Containers
4. Header & Navigation
5. Hero Section
6. Video Testimonials
7. Services Section
8. Features Section
9. Testimonials Section
10. FAQ Section
11. CTA Section
12. Footer
13. Inner Pages
14. Contact Form
15. Responsive Styles
==============================================
*/

/* ==============================================
1. General Styles
============================================== */
:root {
    --primary-color: #0a2463;
    --secondary-color: #ff8800;
    --accent-color: #3e92cc;
    --light-bg: #f5f9ff;
    --dark-text: #333333;
    --light-text: #ffffff;
    --gray-text: #666666;
    --border-color: #e1e4e8;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--dark-text);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

ul {
    list-style: none;
}

/* ==============================================
2. Typography
============================================== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1rem;
}

.section-title {
    text-align: center;
    margin-bottom: 0.5rem;
    position: relative;
}

.section-subtitle {
    text-align: center;
    color: var(--gray-text);
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* ==============================================
3. Layout & Containers
============================================== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

section {
    padding: 5rem 0;
}

.section-bg {
    background-color: var(--light-bg);
}

/* ==============================================
4. Header & Navigation
============================================== */
header {
    background-color: var(--primary-color);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--light-text);
    display: flex;
    align-items: center;
}

.logo span {
    margin-left: 0.5rem;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--light-text);
    font-weight: 500;
    position: relative;
}

.nav-links a.active,
.nav-links a:hover {
    color: var(--secondary-color);
}

.nav-links a.active::after,
.nav-links a:hover::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--secondary-color);
}

.cta-button {
    background-color: var(--secondary-color);
    color: var(--light-text);
    padding: 0.6rem 1.2rem;
    border-radius: 4px;
    font-weight: 500;
    border: 2px solid var(--secondary-color);
    transition: var(--transition);
}

.cta-button:hover {
    background-color: transparent;
    color: var(--secondary-color);
}

.mobile-menu-toggle {
    display: none;
    color: var(--light-text);
    font-size: 1.5rem;
    cursor: pointer;
}

/* ==============================================
5. Hero Section
============================================== */
.hero {
    background: linear-gradient(to right, var(--primary-color), #0d47a1);
    color: var(--light-text);
    padding: 5rem 0 1rem;
    position: relative;
    overflow: hidden;
}

.hero .container {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.hero-content {
    flex: 1;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.hero h1 {
    color: var(--light-text);
    margin-bottom: 1.5rem;
    font-size: 2.8rem;
}

.hero p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.cta-button-secondary {
    background-color: var(--secondary-color);
    color: var(--light-text);
    padding: 0.6rem 1.2rem;
    border-radius: 4px;
    font-weight: 500;
    transition: var(--transition);
}

.cta-button-secondary:hover {
    background-color: #e67e00;
    color: var(--light-text);
}

.cta-button-outline {
    background-color: transparent;
    color: var(--light-text);
    padding: 0.6rem 1.2rem;
    border-radius: 4px;
    font-weight: 500;
    border: 2px solid var(--light-text);
    transition: var(--transition);
}

.cta-button-outline:hover {
    background-color: var(--light-text);
    color: var(--primary-color);
}

.trust-badge {
    text-align: center;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 1rem;
    margin-top: 3rem;
    border-radius: 4px;
}

.trust-badge p {
    margin: 0;
    opacity: 0.8;
}

/* ==============================================
6. Video Testimonials
============================================== */
.video-testimonials {
    background-color: #f5f9ff;
    padding: 5rem 0;
    text-align: center;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(300px, 500px));
    gap: 30px;
    margin: 40px auto;
    justify-content: center;
    max-width: 1050px;
}

.video-item {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.video-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    width: 100%;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-caption {
    padding: 20px;
    text-align: center;
}

.video-caption h3 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 20px;
    color: #0a2463;
}

.video-caption p {
    margin-bottom: 0;
    color: #666;
    font-size: 15px;
}

/* Mobile responsiveness for video grid */
@media (max-width: 1100px) {
    .video-grid {
        gap: 20px;
    }
}

@media (max-width: 900px) {
    .video-grid {
        grid-template-columns: minmax(300px, 500px);
    }
    
    .video-item {
        max-width: 500px;
    }
}

@media (max-width: 500px) {
    .video-grid {
        grid-template-columns: 1fr;
    }
    
    .video-item {
        max-width: 100%;
    }
}
/* ==============================================
7. Services Section
============================================== */
.services {
    padding: 5rem 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: #fff;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-card:hover .service-icon {
    background-color: var(--secondary-color);
    color: var(--light-text);
}

.service-icon {
    width: 60px;
    height: 60px;
    background-color: var(--light-bg);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.service-card h3 {
    margin-bottom: 1rem;
}

.service-tag {
    display: inline-block;
    background-color: var(--light-bg);
    color: var(--primary-color);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    margin-top: 1rem;
}

/* ==============================================
8. Features Section
============================================== */
.features {
    background-color: var(--light-bg);
    padding: 5rem 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature-card {
    text-align: center;
    padding: 2rem;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background-color: var(--primary-color);
    color: var(--light-text);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.8rem;
    margin: 0 auto 1.5rem;
}

.feature-card h3 {
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--gray-text);
}

/* ==============================================
9. Testimonials Section
============================================== */
.testimonials {
    padding: 5rem 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.testimonial-card {
    background-color: var(--light-bg);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.testimonial-profile {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.testimonial-profile img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 1rem;
}

.testimonial-info h4 {
    margin-bottom: 0.3rem;
}

.testimonial-rating {
    color: var(--secondary-color);
    font-size: 0.9rem;
}

.testimonial-card p {
    color: var(--gray-text);
    font-style: italic;
    margin-bottom: 0;
}

/* ==============================================
10. FAQ Section
============================================== */
.faq {
    background-color: var(--light-bg);
    padding: 5rem 0;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.faq-item {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.faq-item h3 {
    padding: 1.5rem;
    margin: 0;
    background-color: var(--primary-color);
    color: var(--light-text);
    cursor: pointer;
    position: relative;
    transition: var(--transition);
}

.faq-item h3:hover {
    background-color: #0d3a8a;
}

.faq-item h3::after {
    content: '\f078';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    transition: var(--transition);
}

.faq-item.active h3::after {
    transform: translateY(-50%) rotate(180deg);
}

.faq-answer {
    padding: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.faq-answer p {
    margin-bottom: 0;
}

/* ==============================================
11. CTA Section
============================================== */
.cta-section {
    background: linear-gradient(to right, var(--primary-color), #0d47a1);
    color: var(--light-text);
    text-align: center;
    padding: 5rem 0;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    color: var(--light-text);
    margin-bottom: 1.5rem;
}

.cta-content p {
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* ==============================================
12. Footer
============================================== */
footer {
    background-color: var(--primary-color);
    color: var(--light-text);
    padding: 5rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-info h3 {
    color: var(--light-text);
    margin-bottom: 1.5rem;
}

.footer-info p {
    opacity: 0.8;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--light-text);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--secondary-color);
}

.footer-links h4,
.footer-contact h4 {
    color: var(--light-text);
    margin-bottom: 1.5rem;
}

.footer-links ul li {
    margin-bottom: 0.8rem;
}

.footer-links ul li a {
    color: var(--light-text);
    opacity: 0.8;
    transition: var(--transition);
}

.footer-links ul li a:hover {
    opacity: 1;
    color: var(--secondary-color);
}

.footer-contact p {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    opacity: 0.8;
}

.footer-contact p i {
    margin-right: 1rem;
    color: var(--secondary-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    opacity: 0.7;
}

/* ==============================================
13. Inner Pages
============================================== */
.page-hero {
    background: linear-gradient(to right, var(--primary-color), #0d47a1);
    color: var(--light-text);
    text-align: center;
    padding: 5rem 0;
}

.page-hero h1 {
    color: var(--light-text);
    margin-bottom: 1rem;
}

.page-hero p {
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.9;
}

.service-detail-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 5rem;
}

.service-detail-item.reverse {
    grid-template-columns: 1fr 1fr;
    direction: rtl;
}

.service-detail-content {
    direction: ltr;
}

.service-detail-content h2 {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.service-detail-content h3 {
    margin: 2rem 0 1rem;
    color: var(--secondary-color);
}

.service-detail-content ul {
    margin-bottom: 2rem;
    padding-left: 1.5rem;
}

.service-detail-content ul li {
    margin-bottom: 0.8rem;
    position: relative;
    padding-left: 1.5rem;
}

.service-detail-content ul li::before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    color: var(--secondary-color);
    position: absolute;
    left: 0;
    top: 4px;
}

.service-detail-image img {
    border-radius: 8px;
    box-shadow: var(--shadow);
    width: 100%;
}

/* ==============================================
14. Contact Form
============================================== */
.contact-section {
    padding: 5rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info h2 {
    margin-bottom: 1.5rem;
}

.contact-info > p {
    margin-bottom: 2.5rem;
}

.contact-details {
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.contact-item i {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--light-text);
    /* ==============================================
15. Responsive Styles
============================================== */
@media screen and (max-width: 992px) {
    .container {
        padding: 0 2rem;
    }
    
    .hero .container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content, .hero-image {
        flex: none;
        width: 100%;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .service-detail-item,
    .service-detail-item.reverse {
        grid-template-columns: 1fr;
        gap: 2rem;
        direction: ltr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 768px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background-color: var(--primary-color);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
        transform: translateY(-100vh);
        transition: transform 0.3s ease;
        z-index: 999;
    }
    
    .nav-links.active {
        transform: translateY(0);
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    section {
        padding: 4rem 0;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media screen and (max-width: 576px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .hero {
        padding: 4rem 0 1rem;
    }
    
    .video-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-button {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
}

/* Animation Classes */
.animated {
    animation: fadeInUp 0.6s ease-in-out forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
    