/* ============================================
   EDGEIT CORPORATION - Main Stylesheet
   Modern Gradient Theme: Emerald, Orange, Coral
   ============================================ */

/* CSS Variables */
:root {
    /* Primary Colors - New Vibrant Theme */
    --primary-cyan: #10B981;      /* Emerald Green */
    --primary-purple: #F59E0B;    /* Amber Orange */
    --primary-pink: #EF4444;      /* Coral Red */
    --primary-blue: #06B6D4;      /* Cyan Teal */

    /* Gradient Definitions */
    --gradient-primary: linear-gradient(135deg, #10B981 0%, #F59E0B 50%, #EF4444 100%);
    --gradient-secondary: linear-gradient(135deg, #F59E0B 0%, #EF4444 100%);
    --gradient-dark: linear-gradient(135deg, #0f172a 0%, #1c1917 100%);
    --gradient-light: linear-gradient(135deg, #ecfdf5 0%, #fffbeb 100%);

    /* Neutral Colors */
    --dark-bg: #0f172a;
    --dark-secondary: #1e293b;
    --light-bg: #f8fafc;
    --white: #ffffff;
    --text-dark: #1e293b;
    --text-muted: #64748b;
    --text-light: #94a3b8;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    --shadow-glow: 0 0 40px rgba(245, 158, 11, 0.3);

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* ============================================
   BASE STYLES
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

img {
    max-width: 100%;
    height: auto;
}

ul {
    list-style: none;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gradient-bg {
    background: var(--gradient-primary);
}

.section-padding {
    padding: 100px 0;
}

.section-padding-sm {
    padding: 60px 0;
}

/* ============================================
   PRELOADER
   ============================================ */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-dark);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader {
    width: 60px;
    height: 60px;
    border: 3px solid transparent;
    border-top-color: var(--primary-cyan);
    border-right-color: var(--primary-purple);
    border-bottom-color: var(--primary-pink);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
    padding: 15px 0;
    transition: var(--transition-normal);
    background: transparent;
    z-index: 1000;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-md);
    padding: 10px 0;
}

/* Ensure navbar collapse is visible on desktop */
@media (min-width: 992px) {
    .navbar-collapse {
        display: flex !important;
        flex-basis: auto;
        visibility: visible !important;
    }

    .navbar-collapse.collapse:not(.show) {
        display: flex !important;
    }

    .navbar-nav {
        display: flex !important;
        flex-direction: row;
        align-items: center;
        visibility: visible !important;
    }

    .navbar-nav .nav-item {
        display: block !important;
        visibility: visible !important;
    }

    .navbar-nav .nav-link {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
}


.navbar-brand {
    display: flex;
    align-items: center;
}

.navbar-brand img {
    height: 50px;
    width: auto;
}

/* Ensure navbar items are always visible */
.navbar .navbar-nav {
    display: flex;
}

.navbar .navbar-nav .nav-item {
    list-style: none;
}

.navbar-nav .nav-link {
    color: #1e293b !important;
    font-weight: 500;
    padding: 10px 20px !important;
    position: relative;
    transition: var(--transition-fast);
    display: block;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition-fast);
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 80%;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-purple);
}

.btn-nav {
    background: var(--gradient-primary);
    color: var(--white) !important;
    padding: 12px 30px !important;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
}

.btn-nav:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.navbar-toggler {
    border: 2px solid var(--primary-cyan);
    padding: 8px 12px;
    background: transparent;
}

.navbar-toggler:focus {
    box-shadow: none;
    outline: none;
}

.navbar-toggler .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%2310B981' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    width: 24px;
    height: 24px;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: var(--gradient-light);
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 150%;
    background: var(--gradient-primary);
    border-radius: 50%;
    opacity: 0.1;
    animation: float 20s ease-in-out infinite;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 50%;
    height: 100%;
    background: var(--gradient-secondary);
    border-radius: 50%;
    opacity: 0.08;
    animation: float 15s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(30px, -30px) rotate(5deg); }
    66% { transform: translate(-20px, 20px) rotate(-5deg); }
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-block;
    background: rgba(139, 92, 246, 0.1);
    color: var(--primary-purple);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    animation: fadeInUp 0.8s ease forwards;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    animation: fadeInUp 0.8s ease 0.2s forwards;
    opacity: 0;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 30px;
    max-width: 500px;
    animation: fadeInUp 0.8s ease 0.4s forwards;
    opacity: 0;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.6s forwards;
    opacity: 0;
}

.hero-image {
    position: relative;
    z-index: 2;
    animation: fadeInRight 1s ease 0.5s forwards;
    opacity: 0;
}

.hero-image img {
    max-width: 100%;
    filter: drop-shadow(0 20px 40px rgba(139, 92, 246, 0.2));
}

/* Floating Elements */
.floating-element {
    position: absolute;
    border-radius: 20px;
    background: var(--white);
    box-shadow: var(--shadow-xl);
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    animation: floatElement 3s ease-in-out infinite;
    z-index: 3;
}

.floating-element.el-1 {
    top: 20%;
    right: 10%;
    animation-delay: 0s;
}

.floating-element.el-2 {
    bottom: 30%;
    right: 5%;
    animation-delay: 1s;
}

.floating-element.el-3 {
    bottom: 20%;
    left: 55%;
    animation-delay: 2s;
}

.floating-element i {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-size: 18px;
}

.floating-element i.cyan {
    background: rgba(0, 206, 209, 0.1);
    color: var(--primary-cyan);
}

.floating-element i.purple {
    background: rgba(139, 92, 246, 0.1);
    color: var(--primary-purple);
}

.floating-element i.pink {
    background: rgba(236, 72, 153, 0.1);
    color: var(--primary-pink);
}

@keyframes floatElement {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* ============================================
   BUTTONS
   ============================================ */
.btn-primary-gradient {
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition-normal);
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

.btn-primary-gradient:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.4);
    color: var(--white);
}

.btn-outline-gradient {
    background: transparent;
    color: var(--text-dark);
    border: 2px solid transparent;
    background-image: linear-gradient(white, white), var(--gradient-primary);
    background-origin: padding-box, border-box;
    background-clip: padding-box, border-box;
    padding: 13px 35px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition-normal);
}

.btn-outline-gradient:hover {
    background-image: var(--gradient-primary), var(--gradient-primary);
    color: var(--white);
    transform: translateY(-3px);
}

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

.section-badge {
    display: inline-block;
    background: rgba(139, 92, 246, 0.1);
    color: var(--primary-purple);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 15px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.section-subtitle {
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services-section {
    background: var(--white);
}

.service-card {
    background: var(--white);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition-normal);
    border: 1px solid rgba(0, 0, 0, 0.05);
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    font-size: 35px;
    transition: var(--transition-normal);
}

.service-icon.cyan {
    background: rgba(0, 206, 209, 0.1);
    color: var(--primary-cyan);
}

.service-icon.purple {
    background: rgba(139, 92, 246, 0.1);
    color: var(--primary-purple);
}

.service-icon.pink {
    background: rgba(236, 72, 153, 0.1);
    color: var(--primary-pink);
}

.service-icon.blue {
    background: rgba(59, 130, 246, 0.1);
    color: var(--primary-blue);
}

.service-card:hover .service-icon {
    background: var(--gradient-primary);
    color: var(--white);
    transform: rotateY(180deg);
}

.service-card h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-muted);
    font-size: 15px;
}

.service-card .learn-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-purple);
    font-weight: 600;
    margin-top: 15px;
    opacity: 0;
    transform: translateY(10px);
    transition: var(--transition-normal);
}

.service-card:hover .learn-more {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about-section {
    background: var(--gradient-light);
    position: relative;
    overflow: hidden;
}

.about-image {
    position: relative;
}

.about-image img {
    border-radius: 20px;
    box-shadow: var(--shadow-xl);
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--gradient-primary);
    color: var(--white);
    padding: 25px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.experience-badge h3 {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
}

.experience-badge p {
    font-size: 14px;
    margin: 0;
}

.about-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.about-content p {
    color: var(--text-muted);
    margin-bottom: 30px;
}

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

.about-feature {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.about-feature i {
    width: 50px;
    height: 50px;
    min-width: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 20px;
}

.about-feature i.cyan {
    background: rgba(0, 206, 209, 0.1);
    color: var(--primary-cyan);
}

.about-feature i.purple {
    background: rgba(139, 92, 246, 0.1);
    color: var(--primary-purple);
}

.about-feature h5 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
}

.about-feature p {
    font-size: 14px;
    color: var(--text-muted);
    margin: 0;
}

/* ============================================
   STATS SECTION
   ============================================ */
.stats-section {
    background: var(--gradient-dark);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.stat-item {
    text-align: center;
    color: var(--white);
    position: relative;
    z-index: 1;
}

.stat-item h3 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-item p {
    font-size: 16px;
    color: var(--text-light);
    margin: 0;
}

/* ============================================
   PORTFOLIO SECTION
   ============================================ */
.portfolio-section {
    background: var(--white);
}

.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 25px;
    border: none;
    background: var(--light-bg);
    color: var(--text-dark);
    border-radius: 50px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-fast);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--gradient-primary);
    color: var(--white);
}

.portfolio-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 30px;
}

.portfolio-item img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: var(--transition-slow);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(15, 23, 42, 0.9) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    opacity: 0;
    transition: var(--transition-normal);
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

.portfolio-overlay h4 {
    color: var(--white);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.portfolio-overlay p {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 15px;
}

.portfolio-overlay .btn-view {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: 50%;
    font-size: 18px;
    transition: var(--transition-fast);
}

.portfolio-overlay .btn-view:hover {
    transform: scale(1.1);
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */
.testimonials-section {
    background: var(--gradient-light);
    position: relative;
}

.testimonial-card {
    background: var(--white);
    border-radius: 20px;
    padding: 40px;
    box-shadow: var(--shadow-lg);
    position: relative;
    margin: 20px 0;
}

.testimonial-card::before {
    content: '\201C';
    font-size: 80px;
    color: var(--primary-purple);
    opacity: 0.1;
    position: absolute;
    top: 10px;
    left: 30px;
    font-family: Georgia, serif;
}

.testimonial-content {
    position: relative;
    z-index: 1;
}

.testimonial-content p {
    font-size: 16px;
    color: var(--text-muted);
    font-style: italic;
    margin-bottom: 25px;
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-author h5 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
}

.testimonial-author span {
    font-size: 14px;
    color: var(--text-muted);
}

.testimonial-rating {
    color: #fbbf24;
    font-size: 14px;
    margin-top: 5px;
}

/* Swiper customization */
.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: var(--primary-purple);
    opacity: 0.3;
}

.swiper-pagination-bullet-active {
    opacity: 1;
    background: var(--gradient-primary);
}

/* ============================================
   TEAM SECTION
   ============================================ */
.team-section {
    background: var(--white);
}

.team-card {
    text-align: center;
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition-normal);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.team-image {
    position: relative;
    overflow: hidden;
}

.team-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: var(--transition-slow);
}

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

.team-social {
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    transition: var(--transition-normal);
}

.team-card:hover .team-social {
    bottom: 20px;
}

.team-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    color: var(--primary-purple);
    border-radius: 50%;
    transition: var(--transition-fast);
}

.team-social a:hover {
    background: var(--gradient-primary);
    color: var(--white);
}

.team-info {
    padding: 25px 20px;
}

.team-info h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.team-info span {
    color: var(--primary-purple);
    font-size: 14px;
    font-weight: 500;
}

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

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 150%;
    background: var(--gradient-primary);
    border-radius: 50%;
    opacity: 0.1;
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
}

.cta-content p {
    color: var(--text-light);
    font-size: 18px;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-section {
    background: var(--gradient-light);
}

.contact-info-card {
    background: var(--white);
    border-radius: 20px;
    padding: 30px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 20px;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-sm);
}

.contact-info-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.contact-info-card i {
    width: 60px;
    height: 60px;
    min-width: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    font-size: 24px;
}

.contact-info-card i.cyan {
    background: rgba(0, 206, 209, 0.1);
    color: var(--primary-cyan);
}

.contact-info-card i.purple {
    background: rgba(139, 92, 246, 0.1);
    color: var(--primary-purple);
}

.contact-info-card i.pink {
    background: rgba(236, 72, 153, 0.1);
    color: var(--primary-pink);
}

.contact-info-card h5 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.contact-info-card p {
    color: var(--text-muted);
    margin: 0;
    font-size: 15px;
}

.contact-form-wrapper {
    background: var(--white);
    border-radius: 20px;
    padding: 40px;
    box-shadow: var(--shadow-lg);
}

.contact-form .form-control {
    padding: 15px 20px;
    border: 2px solid rgba(0, 0, 0, 0.05);
    border-radius: 12px;
    font-size: 15px;
    transition: var(--transition-fast);
    margin-bottom: 20px;
}

.contact-form .form-control:focus {
    border-color: var(--primary-purple);
    box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.1);
}

.contact-form textarea.form-control {
    min-height: 150px;
    resize: none;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--gradient-dark);
    color: var(--white);
    padding-top: 80px;
}

.footer-widget h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 25px;
}

.footer-widget p {
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.8;
}

.footer-widget ul li {
    margin-bottom: 12px;
}

.footer-widget ul li a {
    color: var(--text-light);
    font-size: 15px;
    transition: var(--transition-fast);
}

.footer-widget ul li a:hover {
    color: var(--primary-cyan);
    padding-left: 5px;
}

.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.footer-social a {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border-radius: 10px;
    transition: var(--transition-fast);
}

.footer-social a:hover {
    background: var(--gradient-primary);
    transform: translateY(-3px);
}

.footer-newsletter {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.footer-newsletter input {
    flex: 1;
    padding: 15px 20px;
    border: none;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    font-size: 15px;
}

.footer-newsletter input::placeholder {
    color: var(--text-light);
}

.footer-newsletter button {
    padding: 15px 25px;
    background: var(--gradient-primary);
    border: none;
    border-radius: 12px;
    color: var(--white);
    cursor: pointer;
    transition: var(--transition-fast);
}

.footer-newsletter button:hover {
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 25px 0;
    margin-top: 60px;
}

.footer-bottom p {
    color: var(--text-light);
    margin: 0;
    font-size: 14px;
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
    justify-content: flex-end;
}

.footer-bottom-links a {
    color: var(--text-light);
    font-size: 14px;
}

.footer-bottom-links a:hover {
    color: var(--primary-cyan);
}

/* ============================================
   PAGE HEADERS
   ============================================ */
.page-header {
    background: var(--gradient-dark);
    padding: 150px 0 100px;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 150%;
    background: var(--gradient-primary);
    border-radius: 50%;
    opacity: 0.1;
}

.page-header-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.page-header-content h1 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 15px;
}

.breadcrumb {
    justify-content: center;
    margin: 0;
}

.breadcrumb-item {
    color: var(--text-light);
    font-size: 15px;
}

.breadcrumb-item a {
    color: var(--text-light);
}

.breadcrumb-item a:hover {
    color: var(--primary-cyan);
}

.breadcrumb-item.active {
    color: var(--primary-cyan);
}

.breadcrumb-item + .breadcrumb-item::before {
    color: var(--text-light);
    content: "/";
}

/* ============================================
   ABOUT PAGE SPECIFIC
   ============================================ */
.mission-vision-section {
    background: var(--white);
}

.mv-card {
    background: var(--gradient-light);
    border-radius: 20px;
    padding: 40px;
    height: 100%;
    transition: var(--transition-normal);
}

.mv-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.mv-card i {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: 20px;
    font-size: 30px;
    margin-bottom: 25px;
}

.mv-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.mv-card p {
    color: var(--text-muted);
}

/* Timeline */
.timeline {
    position: relative;
    padding: 20px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 100%;
    background: var(--gradient-primary);
}

.timeline-item {
    display: flex;
    justify-content: flex-end;
    padding-right: 40px;
    position: relative;
    margin-bottom: 40px;
    width: 50%;
}

.timeline-item:nth-child(even) {
    justify-content: flex-start;
    padding-right: 0;
    padding-left: 40px;
    margin-left: 50%;
}

.timeline-item::before {
    content: '';
    position: absolute;
    right: -10px;
    top: 0;
    width: 20px;
    height: 20px;
    background: var(--gradient-primary);
    border-radius: 50%;
    border: 4px solid var(--white);
    box-shadow: var(--shadow-md);
}

.timeline-item:nth-child(even)::before {
    right: auto;
    left: -10px;
}

.timeline-content {
    background: var(--white);
    border-radius: 15px;
    padding: 25px;
    box-shadow: var(--shadow-md);
    max-width: 400px;
}

.timeline-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.timeline-content span {
    color: var(--primary-purple);
    font-size: 14px;
    font-weight: 600;
}

.timeline-content p {
    color: var(--text-muted);
    font-size: 14px;
    margin-top: 10px;
    margin-bottom: 0;
}

/* ============================================
   SERVICES PAGE SPECIFIC
   ============================================ */
.service-detail-card {
    background: var(--white);
    border-radius: 20px;
    padding: 50px 40px;
    text-align: center;
    margin-bottom: 30px;
    transition: var(--transition-normal);
    border: 1px solid rgba(0, 0, 0, 0.05);
    height: 100%;
}

.service-detail-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.service-detail-card .service-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 30px;
    font-size: 45px;
}

.service-detail-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.service-detail-card p {
    color: var(--text-muted);
    margin-bottom: 25px;
}

.service-detail-card ul {
    text-align: left;
    margin-bottom: 25px;
}

.service-detail-card ul li {
    padding: 8px 0;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 10px;
}

.service-detail-card ul li i {
    color: var(--primary-cyan);
}

/* Process Section */
.process-section {
    background: var(--gradient-light);
}

.process-step {
    text-align: center;
    position: relative;
    padding: 0 20px;
}

.process-step::after {
    content: '';
    position: absolute;
    top: 40px;
    right: -50%;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-cyan), var(--primary-purple));
    z-index: 0;
}

.process-step:last-child::after {
    display: none;
}

.process-number {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    color: var(--white);
    font-size: 2rem;
    font-weight: 700;
    border-radius: 50%;
    position: relative;
    z-index: 1;
}

.process-step h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.process-step p {
    color: var(--text-muted);
    font-size: 14px;
}

/* ============================================
   PORTFOLIO PAGE SPECIFIC
   ============================================ */
.portfolio-detail-item {
    margin-bottom: 30px;
}

.portfolio-detail-item img {
    height: 300px;
}

/* ============================================
   CONTACT PAGE SPECIFIC
   ============================================ */
.map-section {
    height: 400px;
    background: var(--light-bg);
}

.map-section iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ============================================
   SCROLL TO TOP
   ============================================ */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
    z-index: 999;
    box-shadow: var(--shadow-lg);
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    transform: translateY(-5px);
}

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

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

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

/* AOS Animation Overrides */
[data-aos] {
    transition-duration: 800ms;
}

/* ============================================
   RESPONSIVE STYLES
   ============================================ */
@media (max-width: 1199px) {
    .hero-title {
        font-size: 3rem;
    }

    .section-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 991px) {
    .hero-section {
        padding-top: 120px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-image {
        margin-top: 50px;
    }

    .floating-element {
        display: none;
    }

    .navbar-collapse {
        background: var(--white);
        padding: 20px;
        border-radius: 15px;
        box-shadow: var(--shadow-lg);
        margin-top: 15px;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-item,
    .timeline-item:nth-child(even) {
        width: 100%;
        padding-left: 60px;
        padding-right: 0;
        margin-left: 0;
        justify-content: flex-start;
    }

    .timeline-item::before,
    .timeline-item:nth-child(even)::before {
        left: 10px;
        right: auto;
    }

    .process-step::after {
        display: none;
    }
}

@media (max-width: 767px) {
    .section-padding {
        padding: 60px 0;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .stat-item h3 {
        font-size: 2.5rem;
    }

    .cta-content h2 {
        font-size: 2rem;
    }

    .page-header-content h1 {
        font-size: 2.2rem;
    }

    .footer-bottom {
        text-align: center;
    }

    .footer-bottom-links {
        justify-content: center;
        margin-top: 15px;
    }

    .experience-badge {
        position: relative;
        bottom: 0;
        right: 0;
        margin-top: 20px;
        display: inline-block;
    }
}

@media (max-width: 575px) {
    .hero-buttons .btn-primary-gradient,
    .hero-buttons .btn-outline-gradient {
        width: 100%;
        justify-content: center;
    }

    .contact-form-wrapper {
        padding: 25px;
    }

    .footer-newsletter {
        flex-direction: column;
    }
}
