/* Main CSS - Modern Global Styles - MOBILE RESPONSIVE FIXED */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-blue: #2c5282;
    --primary-orange: #f97316;
    --dark-blue: #1a365d;
    --light-blue: #667eea;
    --light-orange: #fb923c;
    --text-dark: #1a202c;
    --text-light: #718096;
    --white: #ffffff;
    --bg-light: #f7fafc;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.15);
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
    min-height: 100vh;
    position: relative;
    width: 100%;
    overflow-x: hidden;
    /* Prevent horizontal scroll completely */
    max-width: 100vw;
    /* Ensure smooth scrolling on mobile */
    -webkit-overflow-scrolling: touch;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    /* Prevent text from breaking container */
    word-wrap: break-word;
    hyphens: auto;
}

/* Container styles - Mobile First Approach */
.nav-container,
.about-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    /* Ensure containers never exceed viewport width */
    box-sizing: border-box;
    /* Prevent container overflow */
    overflow-x: hidden;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
    width: 100%;
    padding: 0 10px;
    box-sizing: border-box;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--primary-blue), var(--light-blue));
    color: var(--white);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
    /* Ensure badge fits on small screens */
    max-width: calc(100vw - 40px);
    text-align: center;
}

.section-title {
    font-size: clamp(1.8rem, 5vw, 3rem);
    color: var(--text-dark);
    margin-bottom: 1rem;
    /* Prevent title from causing horizontal scroll */
    word-wrap: break-word;
    max-width: 100%;
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary-orange), var(--light-orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    /* Fallback for browsers that don't support background-clip */
    color: var(--primary-orange);
}

.section-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
    width: 100%;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
}

.section-divider span {
    height: 2px;
    flex: 1;
    max-width: 50px;
    background: linear-gradient(to right, transparent, var(--primary-blue), transparent);
}

.section-divider i {
    color: var(--primary-orange);
    flex-shrink: 0;
}

/* Buttons */
button, .button {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    /* Ensure buttons are touch-friendly on mobile */
    min-height: 44px;
    border: none;
    outline: none;
}

/* Utilities */
.lead-text {
    font-size: clamp(1rem, 2.5vw, 1.125rem);
    line-height: 1.8;
    color: var(--text-light);
    max-width: 100%;
    word-wrap: break-word;
}

/* Mobile Responsive Breakpoints */
@media (max-width: 768px) {
    .nav-container,
    .about-container {
        padding: 0 15px;
        margin: 0 auto;
    }
    
    .section-header {
        margin-bottom: 2.5rem;
        padding: 0 10px;
    }
    
    .section-badge {
        padding: 0.4rem 1.2rem;
        font-size: 0.85rem;
        margin-bottom: 0.8rem;
        max-width: calc(100vw - 30px);
    }
    
    .section-divider {
        gap: 0.8rem;
        max-width: 280px;
    }
    
    .section-divider span {
        max-width: 40px;
    }
}

@media (max-width: 480px) {
    .nav-container,
    .about-container {
        padding: 0 12px;
        margin: 0 auto;
    }
    
    .section-header {
        margin-bottom: 2rem;
        padding: 0 8px;
    }
    
    .section-badge {
        padding: 0.35rem 1rem;
        font-size: 0.8rem;
        gap: 0.4rem;
        max-width: calc(100vw - 24px);
    }
    
    .section-divider {
        gap: 0.5rem;
        max-width: 220px;
    }
    
    .section-divider span {
        max-width: 30px;
    }
}

/* Prevent any element from causing horizontal scroll */
* {
    max-width: 100%;
}

img, video, iframe, embed, object {
    max-width: 100%;
    height: auto;
}

/* Fix for any potential overflow issues */
.container, .row, .col, div {
    max-width: 100%;
    box-sizing: border-box;
}