/* ========================================
   icoreIT - Main Stylesheet
   Modern IT Solutions Website
   Color Theme: Cyan/Teal/Deep Blue
   ======================================== */

/* ========== CSS Variables (Color Theme) ========== */
:root {
    /* Primary Colors */
    --primary-cyan: #00d4ff;
    --primary-teal: #0099cc;
    --primary-blue: #006699;
    --primary-dark: #0a1628;

    /* Secondary Colors */
    --secondary-light: #e8f7ff;
    --secondary-medium: #b3e5fc;
    --secondary-accent: #00bcd4;

    /* Gradient Definitions */
    --gradient-primary: linear-gradient(135deg, #00d4ff 0%, #0099cc 50%, #006699 100%);
    --gradient-secondary: linear-gradient(135deg, #0a1628 0%, #1a2a4a 100%);
    --gradient-hero: linear-gradient(135deg, #0a1628 0%, #0d2137 50%, #1a3a5c 100%);
    --gradient-card: linear-gradient(145deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);

    /* Text Colors */
    --text-dark: #1a1a2e;
    --text-medium: #4a4a6a;
    --text-light: #7a7a9a;
    --text-white: #ffffff;
    --text-cyan: #00d4ff;

    /* Background Colors */
    --bg-white: #ffffff;
    --bg-light: #f8fbff;
    --bg-section: #f0f7ff;
    --bg-dark: #0a1628;
    --bg-darker: #060d18;

    /* UI Colors */
    --success: #00c853;
    --warning: #ffc107;
    --error: #ff5252;
    --info: #00b0ff;

    /* Shadows */
    --shadow-sm: 0 2px 10px rgba(0, 212, 255, 0.1);
    --shadow-md: 0 5px 25px rgba(0, 212, 255, 0.15);
    --shadow-lg: 0 10px 50px rgba(0, 212, 255, 0.2);
    --shadow-glow: 0 0 30px rgba(0, 212, 255, 0.3);

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

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;
}

/* ========== Reset & Base Styles ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Poppins', 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--bg-white);
    overflow-x: hidden;
}

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

ul, ol {
    list-style: none;
}

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

/* ========== Typography ========== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-dark);
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1rem; }
h6 { font-size: 0.875rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-medium);
}

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-cyan {
    color: var(--primary-cyan);
}

/* ========== Utility Classes ========== */
.section-padding {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.section-title p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 20px auto 0;
}

/* ========== Buttons ========== */
.btn-primary-custom {
    background: var(--gradient-primary);
    color: var(--text-white);
    padding: 14px 35px;
    border-radius: var(--radius-xl);
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: var(--transition-normal);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary-custom::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: var(--transition-slow);
    z-index: -1;
}

.btn-primary-custom:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    color: var(--text-white);
}

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

.btn-secondary-custom {
    background: transparent;
    color: var(--primary-cyan);
    padding: 14px 35px;
    border-radius: var(--radius-xl);
    font-weight: 600;
    border: 2px solid var(--primary-cyan);
    cursor: pointer;
    transition: var(--transition-normal);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-secondary-custom:hover {
    background: var(--primary-cyan);
    color: var(--text-dark);
    transform: translateY(-3px);
}

.btn-white {
    background: var(--bg-white);
    color: var(--primary-dark);
    padding: 14px 35px;
    border-radius: var(--radius-xl);
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: var(--transition-normal);
}

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

/* ========== Navigation ========== */
.navbar {
    padding: 15px 0;
    transition: all 0.3s ease;
    z-index: 1000;
    background: transparent;
}

/* Scrolled navbar - solid dark background */
.navbar.scrolled {
    background: #0a1628 !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
    padding: 10px 0;
}

/* Navbar gradient overlay for better logo visibility */
.navbar-dark {
    background: linear-gradient(180deg, rgba(10, 22, 40, 0.95) 0%, rgba(10, 22, 40, 0.7) 50%, transparent 100%);
}

/* When scrolled, always solid dark */
.navbar.scrolled,
.navbar-dark.scrolled {
    background: #0a1628 !important;
}

.navbar-brand img {
    height: 50px;
    transition: var(--transition-normal);
}

.navbar-dark .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    padding: 10px 20px;
    position: relative;
    transition: var(--transition-normal);
}

.navbar-dark .navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 20px;
    width: 0;
    height: 2px;
    background: var(--primary-cyan);
    transition: var(--transition-normal);
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
    color: var(--primary-cyan);
}

.navbar-dark .navbar-nav .nav-link:hover::after,
.navbar-dark .navbar-nav .nav-link.active::after {
    width: calc(100% - 40px);
}

.navbar-toggler {
    border: none;
    padding: 10px;
}

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

.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='rgba%28 0, 212, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

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

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/grid-pattern.svg') repeat;
    opacity: 0.05;
}

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

.hero-content h1 {
    font-size: 3.5rem;
    color: var(--text-white);
    margin-bottom: 20px;
    animation: fadeInUp 1s ease;
}

.hero-content h1 span {
    color: var(--primary-cyan);
}

.hero-content p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.4s both;
}

.hero-image {
    position: relative;
    z-index: 2;
    animation: float 6s ease-in-out infinite;
}

.hero-stats {
    display: flex;
    gap: 50px;
    margin-top: 60px;
    animation: fadeInUp 1s ease 0.6s both;
}

.stat-item h3 {
    font-size: 2.5rem;
    color: var(--primary-cyan);
    margin-bottom: 5px;
}

.stat-item p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin: 0;
}

/* Floating shapes */
.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: var(--gradient-primary);
    opacity: 0.1;
}

.shape-1 {
    width: 400px;
    height: 400px;
    top: -100px;
    right: -100px;
    animation: pulse 8s ease-in-out infinite;
}

.shape-2 {
    width: 300px;
    height: 300px;
    bottom: -50px;
    left: -50px;
    animation: pulse 10s ease-in-out infinite 1s;
}

.shape-3 {
    width: 200px;
    height: 200px;
    top: 50%;
    left: 10%;
    animation: pulse 7s ease-in-out infinite 2s;
}

/* ========== Services Section ========== */
.services-section {
    background: var(--bg-light);
    position: relative;
}

.service-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition-normal);
    height: 100%;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 212, 255, 0.1);
}

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

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

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

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 2rem;
    color: var(--text-white);
    transition: var(--transition-normal);
}

.service-card:hover .service-icon {
    transform: rotateY(180deg);
}

.service-card h4 {
    margin-bottom: 15px;
    color: var(--text-dark);
}

.service-card p {
    color: var(--text-medium);
    font-size: 0.95rem;
}

/* ========== About Section ========== */
.about-section {
    position: relative;
    overflow: hidden;
}

.about-image {
    position: relative;
}

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

.about-image::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border: 3px solid var(--primary-cyan);
    border-radius: var(--radius-lg);
    z-index: -1;
}

.about-content h2 {
    margin-bottom: 20px;
}

.about-content p {
    margin-bottom: 20px;
}

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

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.feature-item i {
    width: 40px;
    height: 40px;
    background: var(--secondary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-cyan);
    font-size: 1.1rem;
}

.feature-item span {
    font-weight: 500;
    color: var(--text-dark);
}

/* ========== Why Choose Us Section ========== */
.why-us-section {
    background: var(--gradient-hero);
    position: relative;
}

.why-us-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition-normal);
    backdrop-filter: blur(10px);
}

.why-us-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-10px);
    border-color: var(--primary-cyan);
}

.why-us-card .icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 1.75rem;
    color: var(--text-white);
}

.why-us-card h4 {
    color: var(--text-white);
    margin-bottom: 15px;
}

.why-us-card p {
    color: rgba(255, 255, 255, 0.7);
}

/* ========== Portfolio Section ========== */
.portfolio-section {
    background: var(--bg-light);
}

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

.filter-btn {
    padding: 10px 25px;
    border: 2px solid var(--primary-cyan);
    background: transparent;
    color: var(--primary-cyan);
    border-radius: var(--radius-xl);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-normal);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-cyan);
    color: var(--text-dark);
}

.portfolio-item {
    position: relative;
    border-radius: var(--radius-lg);
    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;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: var(--transition-normal);
}

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

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

.portfolio-overlay h4 {
    color: var(--text-white);
    margin-bottom: 10px;
    transform: translateY(20px);
    transition: var(--transition-normal);
}

.portfolio-overlay p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
    transform: translateY(20px);
    transition: var(--transition-normal) 0.1s;
}

.portfolio-overlay .btn-view {
    width: 50px;
    height: 50px;
    background: var(--bg-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-cyan);
    font-size: 1.25rem;
    transform: translateY(20px);
    transition: var(--transition-normal) 0.2s;
}

.portfolio-item:hover .portfolio-overlay h4,
.portfolio-item:hover .portfolio-overlay p,
.portfolio-item:hover .portfolio-overlay .btn-view {
    transform: translateY(0);
}

/* ========== Testimonials Section ========== */
.testimonials-section {
    background: var(--bg-white);
    position: relative;
}

.testimonial-card {
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    padding: 40px;
    position: relative;
    margin: 20px 0;
    transition: var(--transition-normal);
}

.testimonial-card:hover {
    box-shadow: var(--shadow-md);
}

.testimonial-card::before {
    content: '\201C';
    font-size: 6rem;
    color: var(--primary-cyan);
    opacity: 0.2;
    position: absolute;
    top: 10px;
    left: 20px;
    font-family: Georgia, serif;
    line-height: 1;
}

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

.testimonial-content p {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 25px;
    color: var(--text-medium);
}

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

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-cyan);
}

.author-info h5 {
    margin-bottom: 5px;
    color: var(--text-dark);
}

.author-info span {
    color: var(--primary-cyan);
    font-size: 0.9rem;
}

.testimonial-rating {
    color: var(--warning);
    margin-top: 10px;
}

/* ========== Team Section ========== */
.team-section {
    background: var(--bg-light);
}

.team-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition-normal);
    text-align: center;
}

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

.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.1);
}

.team-social {
    position: absolute;
    bottom: -50px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 15px;
    background: var(--gradient-primary);
    transition: var(--transition-normal);
}

.team-card:hover .team-social {
    bottom: 0;
}

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

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

.team-info {
    padding: 25px;
}

.team-info h4 {
    margin-bottom: 5px;
}

.team-info span {
    color: var(--primary-cyan);
    font-size: 0.9rem;
}

/* ========== Counter Section ========== */
.counter-section {
    background: var(--gradient-hero);
    padding: 80px 0;
}

.counter-item {
    text-align: center;
    padding: 30px;
}

.counter-item .icon {
    width: 70px;
    height: 70px;
    background: rgba(0, 212, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.75rem;
    color: var(--primary-cyan);
}

.counter-item h3 {
    font-size: 3rem;
    color: var(--text-white);
    margin-bottom: 10px;
}

.counter-item p {
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

/* ========== CTA Section ========== */
.cta-section {
    background: var(--gradient-primary);
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/pattern.svg') repeat;
    opacity: 0.1;
}

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

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

.cta-content p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ========== Contact Section ========== */
.contact-section {
    background: var(--bg-light);
}

.contact-info-card {
    background: var(--gradient-hero);
    border-radius: var(--radius-lg);
    padding: 50px 40px;
    height: 100%;
    color: var(--text-white);
}

.contact-info-card h3 {
    color: var(--text-white);
    margin-bottom: 20px;
}

.contact-info-card p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 25px;
}

.contact-item .icon {
    width: 50px;
    height: 50px;
    background: rgba(0, 212, 255, 0.2);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-cyan);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.contact-item h5 {
    color: var(--text-white);
    margin-bottom: 5px;
    font-size: 1rem;
}

.contact-item p {
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    font-size: 0.95rem;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.social-links a {
    width: 45px;
    height: 45px;
    background: rgba(0, 212, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-cyan);
    font-size: 1.1rem;
    transition: var(--transition-fast);
}

.social-links a:hover {
    background: var(--primary-cyan);
    color: var(--text-dark);
    transform: translateY(-5px);
}

.contact-form-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 50px 40px;
    box-shadow: var(--shadow-md);
}

.contact-form-card h3 {
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 25px;
}

.form-control {
    padding: 15px 20px;
    border: 2px solid var(--secondary-light);
    border-radius: var(--radius-sm);
    font-size: 1rem;
    transition: var(--transition-fast);
}

.form-control:focus {
    border-color: var(--primary-cyan);
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
}

.form-control::placeholder {
    color: var(--text-light);
}

/* ========== Footer ========== */
.footer {
    background: var(--bg-dark);
    padding-top: 80px;
}

.footer-content {
    padding-bottom: 50px;
}

.footer-brand {
    margin-bottom: 20px;
}

.footer-brand img {
    height: 50px;
    margin-bottom: 20px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
}

.footer h5 {
    color: var(--text-white);
    margin-bottom: 25px;
    font-size: 1.1rem;
    position: relative;
    padding-bottom: 15px;
}

.footer h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--primary-cyan);
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-links a::before {
    content: '\f105';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--primary-cyan);
}

.footer-links a:hover {
    color: var(--primary-cyan);
    padding-left: 10px;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact li i {
    color: var(--primary-cyan);
    margin-top: 5px;
}

.newsletter-form {
    display: flex;
    gap: 10px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 20px;
    border: none;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-white);
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.newsletter-form button {
    padding: 12px 25px;
    background: var(--primary-cyan);
    border: none;
    border-radius: var(--radius-sm);
    color: var(--text-dark);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
}

.newsletter-form button:hover {
    background: var(--text-white);
}

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

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

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

/* ========== Page Headers ========== */
.page-header {
    background: var(--gradient-hero);
    padding: 150px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/grid-pattern.svg') repeat;
    opacity: 0.05;
}

.page-header h1 {
    color: var(--text-white);
    font-size: 3rem;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.breadcrumb {
    background: transparent;
    justify-content: center;
    margin: 0;
    position: relative;
    z-index: 1;
}

.breadcrumb-item {
    color: rgba(255, 255, 255, 0.7);
}

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

.breadcrumb-item.active {
    color: rgba(255, 255, 255, 0.9);
}

.breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.5);
}

/* ========== Careers Section ========== */
.job-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 30px;
    margin-bottom: 25px;
    border: 1px solid rgba(0, 212, 255, 0.1);
    transition: var(--transition-normal);
}

.job-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--primary-cyan);
}

.job-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 15px;
}

.job-title h4 {
    margin-bottom: 5px;
}

.job-title span {
    color: var(--primary-cyan);
    font-size: 0.9rem;
}

.job-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.job-tag {
    padding: 5px 15px;
    background: var(--secondary-light);
    color: var(--primary-teal);
    border-radius: var(--radius-xl);
    font-size: 0.85rem;
    font-weight: 500;
}

.job-description {
    margin-bottom: 20px;
}

.job-details {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.job-detail {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-medium);
    font-size: 0.9rem;
}

.job-detail i {
    color: var(--primary-cyan);
}

/* ========== 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 float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

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

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

@keyframes slideIn {
    from {
        transform: translateX(-100%);
    }
    to {
        transform: translateX(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-15px);
    }
    60% {
        transform: translateY(-7px);
    }
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
    }
    50% {
        box-shadow: 0 0 40px rgba(0, 212, 255, 0.6);
    }
}

/* Animation Classes */
.animate-fadeInUp {
    animation: fadeInUp 0.8s ease forwards;
}

.animate-fadeInDown {
    animation: fadeInDown 0.8s ease forwards;
}

.animate-fadeInLeft {
    animation: fadeInLeft 0.8s ease forwards;
}

.animate-fadeInRight {
    animation: fadeInRight 0.8s ease forwards;
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

.animate-pulse {
    animation: pulse 2s ease-in-out infinite;
}

.animate-glow {
    animation: glow 2s ease-in-out infinite;
}

/* Scroll Animation Classes */
.scroll-animate {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

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

.scroll-animate.delay-1 { transition-delay: 0.1s; }
.scroll-animate.delay-2 { transition-delay: 0.2s; }
.scroll-animate.delay-3 { transition-delay: 0.3s; }
.scroll-animate.delay-4 { transition-delay: 0.4s; }

/* ========== Responsive Styles ========== */
@media (max-width: 1200px) {
    h1 { font-size: 3rem; }
    h2 { font-size: 2.25rem; }
    .hero-content h1 { font-size: 3rem; }
}

@media (max-width: 992px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    .hero-content h1 { font-size: 2.5rem; }

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

    .hero-stats {
        gap: 30px;
    }

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

    .about-image {
        margin-bottom: 40px;
    }

    .about-image::before {
        display: none;
    }
}

@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.5rem; }

    .hero-content h1 { font-size: 2rem; }
    .hero-content p { font-size: 1rem; }

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

    .section-title {
        margin-bottom: 40px;
    }

    .hero-section {
        padding-top: 100px;
        text-align: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
        flex-wrap: wrap;
    }

    .stat-item {
        width: 45%;
        text-align: center;
    }

    .counter-item h3 {
        font-size: 2.25rem;
    }

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

    .page-header {
        padding: 120px 0 60px;
    }

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

    .contact-info-card,
    .contact-form-card {
        padding: 30px;
    }

    .job-header {
        flex-direction: column;
    }
}

@media (max-width: 576px) {
    .navbar-brand img {
        height: 40px;
    }

    .btn-primary-custom,
    .btn-secondary-custom {
        padding: 12px 25px;
        font-size: 0.9rem;
    }

    .hero-stats {
        gap: 20px;
    }

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

    .service-card,
    .why-us-card {
        padding: 30px 20px;
    }

    .testimonial-card {
        padding: 25px;
    }

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

    .footer h5::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-links a::before {
        display: none;
    }

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

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

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader-logo {
    width: 120px;
    height: auto;
    margin-bottom: 30px;
    animation: pulse 2s ease-in-out infinite;
}

.loader {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(0, 212, 255, 0.2);
    border-top-color: var(--primary-cyan);
    border-radius: 50%;
    animation: rotate 1s linear infinite;
}

.loader-text {
    margin-top: 20px;
    color: var(--primary-cyan);
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    animation: fadeInOut 1.5s ease-in-out infinite;
}

@keyframes fadeInOut {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

/* ========== Back to Top Button ========== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    font-size: 1.25rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
    z-index: 999;
    border: none;
}

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

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* ========== Custom Scrollbar ========== */
::-webkit-scrollbar {
    width: 10px;
}

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

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

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

/* ========== Selection Color ========== */
::selection {
    background: var(--primary-cyan);
    color: var(--text-dark);
}

::-moz-selection {
    background: var(--primary-cyan);
    color: var(--text-dark);
}
