/* ============================================
   BLUELINE FINANCE - MAIN STYLESHEET
   ============================================
   
   TABLE OF CONTENTS:
   1. CSS Variables (Colors)
   2. Global Styles
   3. Header & Navigation
   4. Hero Section
   5. About Section
   6. Services Section
   7. Goals Section
   8. Stats Section
   9. Contact Section
   10. Footer
   11. RTL Support
   12. Responsive Design
   13. Animations
   
============================================ */


/* ============================================
   1. CSS VARIABLES - CHANGE COLORS HERE
============================================ */
:root {
    --primary: #1a9bd6;           /* Main blue color */
    --primary-dark: #156a98;      /* Darker blue */
    --accent: #7dd3c0;            /* Teal/cyan accent */
    --dark: #0a1e2e;              /* Dark blue/black */
    --dark-blue: #1a3a52;         /* Medium dark blue */
    --light: #f8fafb;             /* Light gray background */
    --gray: #64748b;              /* Text gray */
    --border: #e2e8f0;            /* Border color */
    --white: #ffffff;             /* White */
}


/* ============================================
   2. GLOBAL STYLES
============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', -apple-system, sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background: var(--white);
    overflow-x: hidden;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 3rem;
}

.hidden {
    display: none !important;
}


/* ============================================
   3. HEADER & NAVIGATION - EDIT MENU HERE
============================================ */
header {
    background: linear-gradient(135deg, #5fb4df 0%, #0a2a34 100%);
    padding: 0.25rem 0;
    position: top;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo - CHANGE SIZE HERE */
.logo img {
    height: 100px;  /* Change logo size here */
    width: auto;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--primary);
    cursor: pointer;
    padding: 0.5rem;
}

/* Navigation Menu */
.nav-menu {
    display: flex;
    gap: 3rem;
    align-items: center;
    list-style: none;
}

.nav-menu a {
    color: var(--dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.3s;
    position: relative;
}

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

/* Menu Underline Effect - CHANGE THICKNESS HERE */
.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;  /* Change underline thickness here */
    background: var(--primary);
    transition: width 0.3s;
}

.nav-menu a:hover::after {
    width: 100%;
}

/* Language Switch Button */
.lang-switch {
    background: transparent;
    border: 2px solid var(--primary);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    transition: all 0.3s;
    font-size: 0.9rem;
}

.lang-switch:hover {
    background: var(--primary);
    color: white;
}


/* ============================================
   4. HERO SECTION - EDIT MAIN BANNER HERE
============================================ */
.hero {
    background: var(--dark);
    min-height: 650px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    background: radial-gradient(circle at 80% 50%, rgba(129, 9, 17, 0.1), transparent);
    opacity: 0.5;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

/* Hero Text - EDIT TITLE & DESCRIPTION HERE */
.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: -1px;
}

.hero-text p {
    font-size: 1.2rem;
    color: var(--accent);
    margin-bottom: 2.5rem;
    line-height: 1.8;
    opacity: 0.9;
}

/* CTA Button (Circular Arrow) */
.hero-cta {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.cta-button {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 3px solid var(--primary);
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
}

.cta-button:hover {
    background: var(--primary);
    transform: translateX(10px);
}

.cta-button svg {
    width: 24px;
    height: 24px;
    stroke: var(--primary);
    transition: stroke 0.3s;
}

.cta-button:hover svg {
    stroke: white;
}

.hero-image img {
    max-width: 500px;
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.3));
}


/* ============================================
   5. ABOUT SECTION - EDIT COMPANY INFO HERE
============================================ */
.about-section {
    padding: 3rem 0;
    background: linear-gradient(135deg, #5fb4df 0%, #0a2a34 100%);  /* Change background here */
}

.section-title {
    text-align: center;
    padding: 4rem 0 3rem;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 1rem;
}

.section-title p {
    font-size: 1.5rem;
    color: white;
    max-width: 700px;
    margin: 0 auto 1.5rem;
}

.section-title .title-border {
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 2px;
    margin: 0 auto;
}

/* About Logo - CHANGE SIZE HERE */
.about-image img {
    width: 100%;
    max-width: 250px;  /* Change about logo size here */
    height: auto;
    display: block;
    margin: 0 auto;
}

.about-text h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--dark);
}

.about-text p {
    font-size: 1.1rem;
    color: black;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

/* Feature Items */
.about-features {
    display: grid;
    gap: 1rem;
    margin-top: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--light);
    border-radius: 10px;
    transition: all 0.3s;
}

.feature-item:hover {
    background: white;
    box-shadow: 0 5px 20px rgba(26, 155, 214, 0.1);
    transform: translateX(10px);
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.feature-text h4 {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
    color: var(--dark);
}

.feature-text p {
    font-size: 0.95rem;
    color: var(--gray);
    margin: 0;
}


/* ============================================
   6. SERVICES SECTION - EDIT SERVICES HERE
============================================ */
.services-section {
    padding: 4rem 0;
    background: var(--light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.service-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s;
    border: 3px solid transparent;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0);
    transition: transform 0.3s;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(26, 155, 214, 0.15);
}

/* Service Icons - CHANGE SIZE/COLOR HERE */
.service-icon {
    width: 80px;
    height: 100px;  /* Change icon height here */
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

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

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


/* ============================================
   7. GOALS SECTION - EDIT COMPANY GOALS HERE
============================================ */
.goals-section {
    padding: 4rem 0;
    background: var(--white);
}

.goals-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.goal-card {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    padding: 3rem 2rem;
    border-radius: 15px;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.goal-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1), transparent);
    animation: pulse 8s ease-in-out infinite;
}

.goal-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.goal-card p {
    font-size: 1rem;
    line-height: 1.7;
    opacity: 0.95;
    position: relative;
    z-index: 1;
}

.goal-number {
    font-size: 4rem;
    font-weight: 700;
    opacity: 0.2;
    position: absolute;
    top: 1rem;
    right: 1rem;
}


/* ============================================
   8. STATS SECTION - EDIT NUMBERS HERE
============================================ */
.stats-section {
    padding: 4rem 0;
    background: var(--dark);
    color: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
}


/* ============================================
   9. CONTACT SECTION - EDIT CONTACT INFO HERE
============================================ */
.contact-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #5fb4df 0%, #0a2a34 100%);
    color: white;
    text-align: center;
}

.contact-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.contact-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem 2rem;
    border-radius: 15px;
    transition: all 0.3s;
}

.contact-item:hover {
    background: white;
    color: var(--primary);
    transform: translateY(-5px);
}

.contact-icon {
    font-size: 2rem;
}

.contact-details h4 {
    font-size: 1rem;
    margin-bottom: 0.3rem;
    opacity: 0.8;
}

.contact-details p {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
}

.contact-item:hover .contact-details h4,
.contact-item:hover .contact-details p {
    color: var(--primary);
}

/* Email Links Styling */
.contact-details a {
    color: inherit;
    text-decoration: none;
}

.contact-details a:hover {
    color: inherit;
    text-decoration: none;
}

.contact-item:hover .contact-details a {
    color: var(--primary);
}


/* ============================================
   10. FOOTER - EDIT FOOTER INFO HERE
============================================ */
footer {
    background: var(--dark);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-about h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.footer-about p {
    opacity: 0.8;
    line-height: 1.8;
}

.footer-links h4 {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: var(--accent);
}

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

.footer-links a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: all 0.3s;
    display: block;
    padding: 0.4rem 0;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--accent);
    padding-left: 0.5rem;
}

.contact-info-footer {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.contact-info-footer a,
.contact-info-footer span {
    color: white;
    opacity: 0.8;
}

.contact-info-footer a {
    text-decoration: none;
    transition: opacity 0.3s;
}

.contact-info-footer a:hover {
    opacity: 1;
    color: var(--accent);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    opacity: 0.7;
}



/* ============================================
   12. RESPONSIVE DESIGN (Mobile & Tablet)
============================================ */
@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 968px) {
    .container {
        padding: 0 2rem;
    }

    .hero-content,
    .about-content {
        grid-template-columns: 1fr;
    }

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

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

    .goals-grid,
    .stats-grid {
        grid-template-columns: 1fr;
    }

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

    /* Mobile Navigation */
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: white;
        flex-direction: column;
        padding: 2rem;
        transition: left 0.3s;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        z-index: 99;
    }

    .nav-menu.active {
        left: 0;
    }

    .mobile-menu-btn {
        display: block;
    }

    .contact-info {
        flex-direction: column;
    }

    /* Mobile Logo Size */
    .logo img {
        height: 70px;  /* Smaller on mobile */
    }
}


/* ============================================
   13. ANIMATIONS
============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% { 
        transform: scale(1); 
    }
    50% { 
        transform: scale(1.1); 
    }
}

.service-card {
    animation: fadeInUp 0.6s ease-out;
}

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }
.service-card:nth-child(4) { animation-delay: 0.4s; }
