/* ===== MODERN BLUE & TURQUOISE THEME ===== */

:root {
    /* Primary Colors */
    --primary-color: #00CED1;
    --primary-dark: #00A8B8;
    --primary-light: #E0F9FB;
    
    /* Secondary Colors */
    --secondary-color: #0088CC;
    --secondary-dark: #0066AA;
    --secondary-light: #E8F4FF;
    
    /* Tertiary Color */
    --tertiary-color: #00B8A9;
    --tertiary-dark: #008B7F;
    
    /* Background Colors */
    --dark-bg: #0A0E27;
    --light-bg: #F5F7FB;
    --white-bg: #FFFFFF;
    
    /* Text Colors */
    --text-dark: #1A1A2E;
    --text-light: #FFFFFF;
    --text-muted: #6B7280;
    --text-secondary: #4B5563;
    
    /* Border & Shadow */
    --border-color: #E8EDF7;
    --shadow-sm: 0 4px 12px rgba(0, 206, 209, 0.08);
    --shadow-md: 0 8px 24px rgba(0, 206, 209, 0.12);
    --shadow-lg: 0 12px 40px rgba(0, 206, 209, 0.15);
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #00CED1 0%, #0088CC 100%);
    --gradient-secondary: linear-gradient(135deg, #00B8A9 0%, #00A8B8 100%);
    --gradient-dark: linear-gradient(135deg, #0A0E27 0%, #1A1A2E 100%);
    
    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 32px;
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== BASE STYLES ===== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', 'Inter', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--light-bg);
    color: var(--text-dark);
    font-weight: 400;
    line-height: 1.6;
    overflow-x: hidden;
}

/* ===== TYPOGRAPHY ===== */

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
    font-weight: 800;
}

h2 {
    font-size: 2.5rem;
    font-weight: 800;
}

h3 {
    font-size: 1.75rem;
    font-weight: 700;
}

h4 {
    font-size: 1.5rem;
    font-weight: 700;
}

h5 {
    font-size: 1.25rem;
    font-weight: 600;
}

h6 {
    font-size: 1rem;
    font-weight: 600;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
    text-decoration: none;
}

p {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

/* ===== BUTTONS ===== */

.btn {
    border-radius: var(--radius-md);
    padding: 12px 28px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--text-light);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--secondary-dark) 100%);
    box-shadow: var(--shadow-lg);
    color: var(--text-light);
}

.btn-secondary {
    background: var(--secondary-color);
    color: var(--text-light);
}

.btn-secondary:hover {
    background: var(--secondary-dark);
    color: var(--text-light);
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    color: var(--text-light);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1.1rem;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.85rem;
}

.btn-icon {
    width: 45px;
    height: 45px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

/* ===== CARDS ===== */

.card {
    border: none;
    border-radius: var(--radius-md);
    background: var(--white-bg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    overflow: hidden;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.card-img-top {
    height: 220px;
    object-fit: cover;
    transition: var(--transition);
}

.card:hover .card-img-top {
    transform: scale(1.08);
}

.card-body {
    padding: 25px;
}

.card-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.card-text {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Feature Cards */
.feature-card {
    text-align: center;
    padding: 45px 40px;
    background: var(--white-bg);
    border-radius: var(--radius-lg);
    transition: var(--transition);
    animation: cardSlideIn 0.6s ease-out forwards;
}

.feature-card p {
    line-height: 1.7;
}

.feature-card:hover {
    transform: translateY(-12px) rotate(1deg);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--text-light);
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    transform: scale(1.15) rotate(-5deg);
    box-shadow: var(--shadow-lg);
}

/* ===== FORMS ===== */

.form-control,
.form-select {
    border-radius: var(--radius-md);
    border: 2px solid var(--border-color);
    padding: 12px 16px;
    font-size: 0.95rem;
    transition: var(--transition);
    background: var(--white-bg);
    color: var(--text-dark);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(0, 206, 209, 0.1);
    outline: none;
}

.form-control::placeholder {
    color: var(--text-muted);
}

.form-label {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.form-check {
    margin-bottom: 12px;
}

.form-check-input {
    width: 20px;
    height: 20px;
    border: 2px solid var(--border-color);
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition);
}

.form-check-input:checked {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

/* ===== MAIN CONTENT SECTIONS ===== */

.section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 15px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ===== HERO SECTION ===== */

.hero {
    background: var(--gradient-primary);
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 150%;
    height: 150%;
    background: radial-gradient(circle, rgba(0, 206, 209, 0.3) 0%, transparent 70%);
    animation: float 15s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 100"><path fill="rgba(245,247,251,0.5)" d="M0,50 Q360,0 720,50 T1440,50 L1440,100 L0,100 Z"></path></svg>');
    background-size: cover;
    background-repeat: no-repeat;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--text-light);
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-light);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 25px;
    animation: slideInUp 0.8s ease-out;
}

.hero-title .highlight {
    color: var(--primary-light);
    background: linear-gradient(135deg, transparent, rgba(0, 206, 209, 0.2));
    padding: 0 10px;
    border-radius: 10px;
}

.hero-description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 550px;
    margin-bottom: 30px;
    line-height: 1.8;
    animation: slideInUp 0.8s ease-out 0.1s both;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 50px;
    animation: slideInUp 0.8s ease-out 0.2s both;
}

.btn-hero {
    padding: 14px 32px;
    font-weight: 600;
    border-radius: 50px;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-hero-primary {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--text-light);
}

.btn-hero-primary:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-hero-outline {
    background: transparent;
    border: 2px solid var(--text-light);
    color: var(--text-light);
}

.btn-hero-outline:hover {
    background: var(--text-light);
    color: var(--primary-color);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    animation: slideInUp 0.8s ease-out 0.3s both;
}

.hero-stat {
    text-align: center;
}

.hero-stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-light);
    margin-bottom: 8px;
}

.hero-stat-label {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

.hero-image {
    position: relative;
    z-index: 2;
    animation: slideInRight 0.8s ease-out 0.2s both;
}

.hero-image img {
    width: 100%;
    max-width: 500px;
    border-radius: var(--radius-lg);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25);
    transition: var(--transition);
}

.hero-image img:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 50px 80px rgba(0, 0, 0, 0.35);
}

/* ===== FEATURES SECTION ===== */

.features-section {
    background: var(--white-bg);
    position: relative;
}

.features-section::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--primary-light) 0%, transparent 70%);
    border-radius: 50%;
    opacity: 0.5;
}

.features-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 50px 40px !important;
    margin-top: 50px !important;
}

@media (max-width: 1200px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr !important;
    }
}

/* ===== SERVICES SECTION ===== */

.services-section {
    background: linear-gradient(180deg, var(--light-bg) 0%, var(--white-bg) 100%);
}

.services-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 50px 40px !important;
    margin-top: 50px !important;
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr !important;
    }
}

.service-card {
    background: var(--white-bg);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
    animation: cardSlideIn 0.6s ease-out forwards;
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-lg);
}

.service-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: var(--transition);
}

.service-card:hover .service-card-image {
    transform: scale(1.1);
}

.service-card-body {
    padding: 35px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.service-card-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 18px;
    color: var(--text-dark);
    line-height: 1.4;
}

.service-card-text {
    color: var(--text-secondary);
    margin-bottom: 25px;
    flex: 1;
    line-height: 1.7;
}

.service-card .btn {
    align-self: flex-start;
    margin-top: auto;
}

/* ===== TESTIMONIALS SECTION ===== */

.testimonials-section {
    background: var(--gradient-primary);
    color: var(--text-light);
    position: relative;
    overflow: hidden;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

.testimonials-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 50px 40px !important;
    margin-top: 50px !important;
    position: relative;
    z-index: 2;
}

@media (max-width: 1024px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr !important;
    }
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-lg);
    padding: 30px;
    transition: var(--transition);
    animation: cardSlideIn 0.6s ease-out forwards;
}

.testimonial-card:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-10px);
}

.testimonial-stars {
    display: flex;
    gap: 5px;
    margin-bottom: 15px;
}

.testimonial-star {
    color: #FFD700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    animation: starPulse 2s ease-in-out infinite;
}

.testimonial-card:hover .testimonial-star {
    transform: scale(1.2) rotate(10deg);
    color: #FFF000;
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    font-weight: 600;
    margin-bottom: 5px;
}

.testimonial-role {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* ===== CTA SECTION ===== */

.cta-section {
    background: var(--gradient-dark);
    color: var(--text-light);
    text-align: center;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 360"><path fill="rgba(0,206,209,0.05)" d="M0,100 Q360,50 720,100 T1440,100 L1440,360 L0,360 Z"></path></svg>');
    background-size: cover;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.cta-description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto 30px;
}

/* ===== FOOTER ===== */

footer {
    background: var(--gradient-dark);
    color: var(--text-light);
    padding: 80px 0 30px;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
}

.footer-section {
    margin-bottom: 50px;
}

.footer-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}

.footer-links a {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 16px;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.footer-contact {
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 18px;
    transition: var(--transition);
}

.footer-contact-item:hover {
    color: var(--primary-color);
}

.footer-contact-item i {
    font-size: 1.2rem;
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-link {
    width: 45px;
    height: 45px;
    background: rgba(0, 206, 209, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    transition: var(--transition);
    font-size: 1.2rem;
}

.social-link:hover {
    background: var(--primary-color);
    color: var(--dark-bg);
    transform: translateY(-5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

/* ===== ANIMATIONS ===== */

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes gradientFlow {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes starPulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.1);
    }
}

@keyframes cardSlideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== RESPONSIVE ===== */

@media (max-width: 1024px) {
    h1 {
        font-size: 2.8rem;
    }

    h2 {
        font-size: 2rem;
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .section {
        padding: 60px 0;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-stats {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .btn-hero {
        width: 100%;
        justify-content: center;
    }

    .section {
        padding: 50px 0;
    }

    .features-grid,
    .services-grid,
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 35px 25px !important;
    }

    .cta-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.8rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .section {
        padding: 40px 0;
    }

    .section-title {
        font-size: 2rem;
    }

    .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .features-grid,
    .services-grid,
    .testimonials-grid {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }
}

/* ===== UTILITY CLASSES ===== */

.text-gradient {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.container-fluid {
    padding-left: 20px;
    padding-right: 20px;
}

.shadow-elevation {
    box-shadow: var(--shadow-md);
}

.shadow-elevation:hover {
    box-shadow: var(--shadow-lg);
}

.overflow-hidden {
    overflow: hidden;
}

.rounded-top {
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.rounded-bottom {
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

/* ===== COMPREHENSIVE MOBILE RESPONSIVE STYLES ===== */

/* Extra Small Devices (576px and down) */
@media (max-width: 576px) {
    :root {
        --radius-sm: 4px;
        --radius-md: 8px;
        --radius-lg: 12px;
    }

    body {
        font-size: 14px;
    }

    /* Typography */
    h1 {
        font-size: 1.75rem !important;
        margin-bottom: 12px;
    }

    h2 {
        font-size: 1.35rem !important;
        margin-bottom: 12px;
    }

    h3 {
        font-size: 1.15rem !important;
        margin-bottom: 10px;
    }

    h4 {
        font-size: 1rem !important;
        margin-bottom: 8px;
    }

    h5 {
        font-size: 0.95rem !important;
        margin-bottom: 8px;
    }

    p {
        font-size: 0.9rem !important;
        line-height: 1.5;
    }

    a {
        text-decoration: none;
    }

    /* Buttons */
    .btn {
        padding: 10px 16px;
        font-size: 0.85rem;
    }

    .btn-lg {
        padding: 12px 24px;
        font-size: 0.95rem;
    }

    .btn-sm {
        padding: 6px 12px;
        font-size: 0.8rem;
    }

    .btn-icon {
        width: 40px;
        height: 40px;
    }

    /* Cards */
    .card {
        border-radius: var(--radius-md);
    }

    .card-body {
        padding: 15px;
    }

    .card-title {
        font-size: 1rem;
        margin-bottom: 8px;
    }

    .card-text {
        font-size: 0.85rem;
    }

    .feature-card {
        padding: 25px 20px;
    }

    .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    /* Sections */
    .section {
        padding: 30px 0 !important;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .section-subtitle {
        font-size: 0.95rem;
    }

    /* Hero */
    .hero {
        min-height: 60vh;
        padding: 30px 0 0 0;
    }

    .hero::after {
        height: 40px !important;
    }

    .hero-content {
        text-align: center;
        padding-bottom: 20px;
    }

    .hero-badge {
        padding: 6px 15px;
        font-size: 0.75rem;
    }

    /* About Hero Section */
    .about-hero {
        padding: 40px 0 !important;
    }

    .about-hero h1 {
        font-size: 1.8rem !important;
        margin-bottom: 15px !important;
    }

    .about-hero p {
        font-size: 1rem !important;
    }

    /* Forms */
    .form-control,
    .form-select {
        padding: 10px 12px;
        font-size: 0.9rem;
    }

    .form-label {
        font-size: 0.85rem;
        margin-bottom: 6px;
    }

    /* Container */
    .container,
    .container-fluid {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }

    .container-fluid {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }

    /* Grid & Layout */
    .row {
        --bs-gutter-x: 0.5rem;
        --bs-gutter-y: 1rem;
    }

    .col-1, .col-2, .col-3, .col-4, .col-5, .col-6,
    .col-7, .col-8, .col-9, .col-10, .col-11, .col-12 {
        padding-left: 0.25rem;
        padding-right: 0.25rem;
    }

    /* Navbar/Header adjustments */
    .navbar {
        padding: 10px 0;
    }

    .navbar-brand {
        font-size: 1.2rem;
    }

    .nav-link {
        padding: 8px 12px !important;
        font-size: 0.9rem;
    }

    /* Images */
    img {
        max-width: 100%;
        height: auto;
    }

    /* Overflow prevention */
    * {
        max-width: 100%;
    }

    body {
        overflow-x: hidden;
    }

    .main-content {
        overflow-x: hidden;
    }
}

/* Small Devices (576px to 768px) */
@media (max-width: 768px) and (min-width: 577px) {
    :root {
        --radius-md: 10px;
    }

    h1 {
        font-size: 2.2rem;
        margin-bottom: 15px;
    }

    h2 {
        font-size: 1.8rem;
        margin-bottom: 12px;
    }

    h3 {
        font-size: 1.35rem;
    }

    p {
        font-size: 0.95rem;
    }

    .section {
        padding: 50px 0;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .container {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    .btn {
        padding: 11px 22px;
        font-size: 0.9rem;
    }

    .feature-card {
        padding: 30px 25px;
    }

    .feature-icon {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }

    .card-body {
        padding: 18px;
    }
}

/* Medium Devices (768px to 992px) */
@media (max-width: 992px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 2rem;
    }

    .feature-card {
        padding: 35px 30px;
    }

    .feature-icon {
        width: 75px;
        height: 75px;
    }

    .hero {
        min-height: 70vh;
    }
}

/* Large Devices (1200px and up) */
@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}