/* index.css - Home Page Styling */

/* ===== CSS VARIABLES ===== */
:root {
    /* Primary Colors */
    --dark-navy: #0f1a2d;
    --medium-navy: #1e2a3d;
    --dark-blue-gray: #121928;
    --dark-blue: #2a4a8c;
    --darker-blue: #1a366e;
    --bright-blue: #4a8cff;
    --royal-blue: #2a6eff;
    --light-blue: #78beff;
    --purple-blue: #96aaff;
    
    /* Secondary Colors */
    --primary-blue: #3b82f6;
    --indigo: #6366f1;
    --purple: #8b5cf6;
    --green: #10b981;
    --pink: #ff006e;
    
    /* Text Colors */
    --white: #ffffff;
    --text-light: #e6f2ff;
    --text-gray: #d1dde8;
    --light-blue-text: #638fcc;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #2a4a8c 0%, #1a366e 100%);
    --gradient-primary-hover: linear-gradient(135deg, #4a8cff 0%, #2a6eff 100%);
    --gradient-secondary: linear-gradient(135deg, 
        rgba(120, 190, 255, 0.2) 0%, 
        rgba(150, 170, 255, 0.15) 100%);
    --gradient-text: linear-gradient(90deg, #ffffff, #78beff, #96aaff);
    --gradient-border: linear-gradient(135deg, 
        rgba(120, 190, 255, 0.3), 
        rgba(150, 170, 255, 0.3), 
        rgba(180, 200, 255, 0.3));
    
    /* Shadows */
    --shadow-light: 0 10px 30px rgba(0, 0, 0, 0.08);
    --shadow-medium: 0 20px 40px rgba(0, 0, 0, 0.15);
    --shadow-dark: 0 30px 60px rgba(0, 0, 0, 0.3);
    --shadow-blue: 0 10px 30px rgba(58, 134, 255, 0.3);
    --shadow-blue-dark: 0 20px 50px rgba(58, 134, 255, 0.4);
    
    /* Effects */
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-blur: blur(15px);
    --transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* ===== HERO SECTION ===== */
.hero {
    background: linear-gradient(135deg, 
        rgba(15, 26, 45, 0.95) 0%, 
        rgba(30, 42, 61, 0.9) 100%);
    padding: 120px 0 60px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(120, 190, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(150, 170, 255, 0.1) 0%, transparent 50%);
    animation: gradientShift 8s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 0.8; }
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1600px;
    margin: 0 auto;
    padding: 40px 20px;
    position: relative;
    z-index: 2;
}

.hero-content {
    padding-right: 40px;
}

.hero-tagline {
    margin-bottom: 30px;
}

.tagline-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: rgba(120, 190, 255, 0.1);
    border: 1px solid rgba(120, 190, 255, 0.3);
    border-radius: 30px;
    color: var(--light-blue);
    font-weight: 600;
    font-size: 0.9rem;
    backdrop-filter: blur(10px);
}

.tagline-badge i {
    color: #ffd700;
}

.hero-title {
    font-size: 3.8rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 30px;
}

.gradient-text {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
    padding: 5px;
}

.highlight {
    color: var(--white);
    font-size: 2.8rem;
    font-weight: 600;
    opacity: 0.9;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 600px;
}

.hero-stats {
    display: flex;
    gap: 30px;
    margin: 40px 0;
}

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

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-light);
    opacity: 0.8;
    font-weight: 500;
}

.hero-btns {
    display: flex;
    gap: 20px;
    margin-top: 40px;
}

.btn-primary, .btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 18px 35px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 12px;
    text-decoration: none;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: none;
    cursor: pointer;
    min-width: 200px;
}

.btn-primary::before, .btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.2), 
        transparent);
    transition: left 0.6s ease;
}

.btn-primary:hover::before, .btn-secondary:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: var(--shadow-blue);
}

.btn-primary:hover {
    background: var(--gradient-primary-hover);
    transform: translateY(-5px);
    box-shadow: var(--shadow-blue-dark);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(120, 190, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(120, 190, 255, 0.1);
    border-color: rgba(120, 190, 255, 0.6);
    transform: translateY(-5px);
    box-shadow: var(--shadow-blue);
}

.hero-image {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-dark);
}

.hero-image img {
    width: 100%;
    height: 800px;
    object-fit: fill;
    transition: transform 0.8s ease;
}

.hero-image:hover img {
    transform: scale(1.05);
}

.hero-image-overlay {
    position: absolute;
    top: 30px;
    right: 30px;
}

.floating-badge {
    background: rgba(16, 185, 129, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(16, 185, 129, 0.3);
    padding: 12px 20px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
    font-weight: 500;
}

.floating-badge i {
    color: #10b981;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-10px); }
}

/* ===== SECTION HEADER ===== */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 3rem;
    font-weight: 800;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 15px;
}

.header-line {
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--light-blue), var(--purple-blue));
    margin: 0 auto 20px;
    border-radius: 2px;
    animation: lineWidth 3s ease-in-out infinite alternate;
}

@keyframes lineWidth {
    0% { width: 100px; }
    100% { width: 200px; }
}

.section-header p {
    color: var(--text-light);
    opacity: 0.8;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ===== ABOUT SECTION ===== */
.about-section {
    padding: 100px 0;
    background: var(--dark-navy);
    position: relative;
    overflow: hidden;
}

.about-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-content h3 {
    font-size: 2rem;
    color: var(--white);
    margin-bottom: 25px;
    font-weight: 700;
}

.about-lead {
    font-size: 1.3rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 30px;
    font-weight: 500;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin: 30px 0;
}

.feature {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-light);
    font-size: 0.95rem;
}

.feature i {
    color: var(--green);
    font-size: 1rem;
}

.about-description {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 40px;
    opacity: 0.9;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    background: transparent;
    border: 2px solid var(--light-blue);
    color: var(--light-blue);
    font-size: 1rem;
    font-weight: 600;
    border-radius: 12px;
    text-decoration: none;
    transition: var(--transition);
}

.btn-outline:hover {
    background: var(--light-blue);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-blue);
}

.about-image {
    position: relative;
}

.image-container {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-dark);
}

.image-container img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.about-image:hover .image-container img {
    transform: scale(1.05);
}

.years-badge {
    position: absolute;
    top: 30px;
    right: 30px;
    background: var(--gradient-primary);
    padding: 25px;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-blue);
}

.years-badge span {
    font-size: 3rem;
    font-weight: 800;
    color: var(--white);
    display: block;
    line-height: 1;
}

.years-badge small {
    font-size: 0.9rem;
    color: var(--text-light);
    opacity: 0.9;
}

.stats-overlay {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.stat-card {
    flex: 1;
    padding: 20px;
    background: rgba(18, 25, 40, 0.7);
    backdrop-filter: var(--glass-blur);
    border-radius: 16px;
    border: 1px solid rgba(120, 190, 255, 0.2);
    display: flex;
    align-items: center;
    gap: 15px;
    transition: var(--transition);
}

.stat-card:hover {
    border-color: rgba(120, 190, 255, 0.4);
    transform: translateY(-5px);
    box-shadow: var(--shadow-blue);
}

.stat-card i {
    font-size: 2rem;
    color: var(--light-blue);
}

.stat-card h4 {
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 5px;
    font-weight: 700;
}

.stat-card p {
    font-size: 0.9rem;
    color: var(--text-light);
    opacity: 0.8;
}

/* ===== PROJECTS SECTION ===== */
.projects-section {
    padding: 100px 0;
    background: linear-gradient(135deg, 
        rgba(15, 26, 45, 0.95) 0%, 
        rgba(30, 42, 61, 0.9) 100%);
    position: relative;
    overflow: hidden;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.project-card {
    background: rgba(18, 25, 40, 0.7);
    backdrop-filter: var(--glass-blur);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(120, 190, 255, 0.2);
    transition: var(--transition);
    position: relative;
}

.project-card:hover {
    transform: translateY(-15px);
    border-color: rgba(120, 190, 255, 0.4);
    box-shadow: var(--shadow-dark);
}

.project-image {
    height: 650px;
    position: relative;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* background-size: cover; */
    transition: transform 0.8s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, 
        transparent 0%, 
        rgba(0, 0, 0, 0.7) 100%);
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-status {
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.project-status.completed {
    background: rgba(16, 185, 129, 0.2);
    color: var(--green);
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.project-status.running {
    background: rgba(59, 130, 246, 0.2);
    color: var(--primary-blue);
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.project-actions {
    display: flex;
    gap: 10px;
}

.quick-view, .favorite-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(120, 190, 255, 0.3);
    color: var(--white);
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.quick-view:hover, .favorite-btn:hover {
    background: var(--gradient-primary);
    transform: scale(1.1);
}

.project-content {
    padding: 25px;
}

.project-category {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: rgba(120, 190, 255, 0.1);
    border-radius: 20px;
    color: var(--light-blue);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.project-content h3 {
    font-size: 1.4rem;
    color: var(--white);
    margin-bottom: 10px;
    font-weight: 700;
}

.project-location {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.project-location i {
    color: var(--light-blue);
}

.project-description {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 0.95rem;
    opacity: 0.9;
}

.project-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 25px;
}

.project-features span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(120, 190, 255, 0.1);
    border-radius: 12px;
    color: var(--text-light);
    font-size: 0.85rem;
}

.project-features i {
    font-size: 0.8rem;
    color: var(--light-blue);
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--light-blue);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
}

.project-link:hover {
    color: var(--white);
    gap: 12px;
}

.projects-cta {
    text-align: center;
    margin-top: 40px;
}

.btn-view-all {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 40px;
    background: var(--gradient-primary);
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 12px;
    transition: var(--transition);
}

.btn-view-all:hover {
    background: var(--gradient-primary-hover);
    transform: translateY(-5px);
    box-shadow: var(--shadow-blue-dark);
}

/* ===== FEATURES SECTION ===== */
.features-section {
    padding: 100px 0;
    background: var(--dark-navy);
    position: relative;
    overflow: hidden;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    padding: 40px 30px;
    background: rgba(18, 25, 40, 0.7);
    backdrop-filter: var(--glass-blur);
    border-radius: 20px;
    border: 1px solid rgba(120, 190, 255, 0.2);
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: rgba(120, 190, 255, 0.4);
    box-shadow: var(--shadow-dark);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

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

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: rgba(120, 190, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    background: var(--gradient-primary);
    transform: rotateY(360deg);
}

.feature-icon i {
    font-size: 2.5rem;
    color: var(--light-blue);
    transition: var(--transition);
}

.feature-card:hover .feature-icon i {
    color: var(--white);
}

.feature-card h3 {
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 15px;
    font-weight: 700;
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 0.95rem;
    opacity: 0.9;
}

/* ===== STATS SECTION ===== */
.stats-section {
    padding: 100px 0;
    background: linear-gradient(135deg, 
        rgba(15, 26, 45, 0.95) 0%, 
        rgba(30, 42, 61, 0.9) 100%);
    position: relative;
    overflow: hidden;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.stat-card {
    text-align: center;
    padding: 40px 30px;
    background: rgba(18, 25, 40, 0.7);
    backdrop-filter: var(--glass-blur);
    border-radius: 20px;
    border: 1px solid rgba(120, 190, 255, 0.2);
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-10px);
    border-color: rgba(120, 190, 255, 0.4);
    box-shadow: var(--shadow-blue-dark);
}

.stat-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: rgba(120, 190, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.stat-card:hover .stat-icon {
    background: var(--gradient-primary);
    transform: rotateY(360deg);
}

.stat-icon i {
    font-size: 2.5rem;
    color: var(--light-blue);
    transition: var(--transition);
}

.stat-card:hover .stat-icon i {
    color: var(--white);
}

.stat-content h3 {
    font-size: 3rem;
    font-weight: 800;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 10px;
    line-height: 1;
}

.stat-content p {
    color: var(--text-light);
    font-size: 1.1rem;
    font-weight: 500;
}

/* ===== CTA SECTION ===== */
.cta-section {
    padding: 120px 0;
    background: 
        linear-gradient(135deg, 
            rgba(15, 26, 45, 0.9) 0%, 
            rgba(30, 42, 61, 0.85) 100%),
        url('https://images.unsplash.com/photo-1541888946425-d81bb19240f5?ixlib=rb-4.0.3&auto=format&fit=crop&w=2000&q=80') center/cover no-repeat;
    position: relative;
    overflow: hidden;
}

.cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 60px;
    background: rgba(18, 25, 40, 0.8);
    backdrop-filter: var(--glass-blur);
    border-radius: 24px;
    border: 1px solid rgba(120, 190, 255, 0.2);
    box-shadow: 
        var(--shadow-dark),
        inset 0 0 40px rgba(120, 190, 255, 0.1);
}

.cta-text h2 {
    font-size: 3rem;
    font-weight: 800;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 20px;
}

.cta-text p {
    color: var(--text-light);
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-actions {
    display: flex;
    gap: 25px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-cta-primary, .btn-cta-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 20px 35px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 12px;
    text-decoration: none;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    min-width: 250px;
    position: relative;
    overflow: hidden;
}

.btn-cta-primary::before, .btn-cta-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.2), 
        transparent);
    transition: left 0.6s ease;
}

.btn-cta-primary:hover::before, .btn-cta-secondary:hover::before {
    left: 100%;
}

.btn-cta-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: var(--shadow-blue);
}

.btn-cta-primary:hover {
    background: var(--gradient-primary-hover);
    transform: translateY(-5px);
    box-shadow: var(--shadow-blue-dark);
}

.btn-cta-primary div {
    text-align: left;
}

.btn-cta-primary span {
    display: block;
    font-size: 1rem;
    font-weight: 500;
}

.btn-cta-primary small {
    font-size: 1.3rem;
    font-weight: 700;
}

.btn-cta-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(120, 190, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-cta-secondary:hover {
    background: rgba(120, 190, 255, 0.1);
    border-color: rgba(120, 190, 255, 0.6);
    transform: translateY(-5px);
    box-shadow: var(--shadow-blue);
}



/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1200px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content {
        padding-right: 0;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .projects-grid,
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .hero,
    .about-section,
    .projects-section,
    .features-section,
    .stats-section,
    .cta-section {
        padding: 80px 0;
    }
    
    .about-wrapper {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .about-features {
        justify-content: center;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero,
    .about-section,
    .projects-section,
    .features-section,
    .stats-section,
    .cta-section {
        padding: 60px 0;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .highlight {
        font-size: 2.2rem;
    }
    
    .section-header h2 {
        font-size: 2.5rem;
    }
    
    .projects-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-stats {
        flex-direction: column;
        align-items: center;
    }
    
    .stat-item {
        width: 100%;
        max-width: 250px;
    }
    
    .hero-btns,
    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-primary,
    .btn-secondary,
    .btn-cta-primary,
    .btn-cta-secondary {
        width: 100%;
        max-width: 300px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-content {
        padding: 40px 20px;
    }
    
    .cta-text h2 {
        font-size: 2.3rem;
    }
    .stats-grid {
        grid-template-columns: repeat(1, 1fr);
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.2rem;
    }
    
    .highlight {
        font-size: 1.8rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .hero-description,
    .cta-text p {
        font-size: 1rem;
    }
    
    .feature-card,
    .stat-card {
        padding: 30px 20px;
    }
    
    .cta-content {
        padding: 30px 15px;
    }
     .stats-grid {
        grid-template-columns: repeat(1, 1fr);
    }
}

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

.hero-content,
.about-wrapper,
.projects-grid,
.features-grid,
.stats-grid,
.cta-content {
    animation: fadeInUp 1s ease-out forwards;
}

/* ===== SCROLL REVEAL ANIMATION ===== */
.scroll-reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== CUSTOM SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--dark-navy);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gradient-primary-hover);
}