/* Color Palette from Logo Analysis */
:root {
    /* Primary Colors from Logo (adjust based on actual logo colors) */
    --primary-blue: #1a5f9e;
    --primary-teal: #00b4d8;
    --primary-purple: #7209b7;
    --primary-pink: #f72585;
    
    /* Gradient Colors */
    --gradient-primary: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-teal) 100%);
    --gradient-secondary: linear-gradient(135deg, var(--primary-purple) 0%, var(--primary-pink) 100%);
    --gradient-warm: linear-gradient(135deg, #ff6b6b 0%, #ffd93d 100%);
    --gradient-cool: linear-gradient(135deg, #4cc9f0 0%, #4361ee 100%);
    
    /* Neutral Colors */
    --dark-blue: #0a2463;
    --navy: #1d3557;
    --light-blue: #e9f5ff;
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --medium-gray: #6c757d;
    --dark-gray: #343a40;
    
    /* Accent Colors */
    --accent-yellow: #ffd166;
    --accent-green: #06d6a0;
    --accent-red: #ef476f;
    --accent-orange: #ff9e00;
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', 'Segoe UI', sans-serif;
    color: var(--dark-gray);
    line-height: 1.7;
    overflow-x: hidden;
    background-color: var(--light-gray);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.3;
}

/* Beautiful Gradient Backgrounds */
.gradient-bg {
    background: var(--gradient-primary);
    color: white;
}

.gradient-bg-secondary {
    background: var(--gradient-secondary);
    color: white;
}

.gradient-bg-warm {
    background: var(--gradient-warm);
    color: white;
}

.gradient-bg-cool {
    background: var(--gradient-cool);
    color: white;
}

/* Animated Gradient Text */
.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

/* Glass Morphism Effect */
.glass-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

/* Header & Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 10px 0;
    background: rgba(255, 255, 255, 0.98);
}

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

.logo-container {
    position: relative;
    width: 100px;
    height: 100px;
}

.logo-container::before {
    content: '';
    position: absolute;
    width: 90px;
    height: 90px;
    background: var(--gradient-primary);
    border-radius: 20px;
    transform: rotate(45deg);
    z-index: 0;
}

.logo-container img {
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-size: 1.8rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1;
}

.brand-tagline {
    font-size: 0.9rem;
    color: var(--primary-teal);
    font-weight: 500;
    letter-spacing: 1px;
}

.navbar-nav .nav-link {
    color: var(--navy) !important;
    font-weight: 600;
    padding: 8px 20px !important;
    margin: 0 5px;
    border-radius: 50px;
    transition: all 0.3s ease;
    position: relative;
}

.navbar-nav .nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 20px;
    right: 20px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 3px;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.navbar-nav .nav-link:hover::before,
.navbar-nav .nav-link.active::before {
    transform: scaleX(1);
}

.navbar-nav .nav-link:hover {
    color: var(--primary-blue) !important;
    transform: translateY(-2px);
}

.navbar-nav .nav-link.active {
    color: var(--primary-blue) !important;
    background: rgba(26, 95, 158, 0.1);
}

/* Hero Section - Beautiful Animated Gradient */
.hero-section {
    position: relative;
    padding: 150px 0 100px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(26, 95, 158, 0.9) 0%,
        rgba(0, 180, 216, 0.8) 25%,
        rgba(114, 9, 183, 0.7) 50%,
        rgba(247, 37, 133, 0.6) 75%,
        rgba(255, 209, 102, 0.5) 100%);
    background-size: 400% 400%;
    animation: gradientFlow 15s ease infinite;
    z-index: 1;
}

@keyframes gradientFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('images/hero.png');
    background-size: cover;
    background-position: center;
    opacity: 0.3;
    z-index: 0;
}

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

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 25px;
    text-shadow: 2px 2px 20px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 1.3rem;
    opacity: 0.9;
    margin-bottom: 35px;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-buttons {
    animation: fadeInUp 1s ease 0.4s both;
}

/* Animated Shape Background */
.shape-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    animation: float 20s infinite linear;
}

.shape:nth-child(1) {
    width: 300px;
    height: 300px;
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.shape:nth-child(2) {
    width: 200px;
    height: 200px;
    top: 60%;
    right: 10%;
    animation-delay: 5s;
    animation-direction: reverse;
}

.shape:nth-child(3) {
    width: 150px;
    height: 150px;
    bottom: 20%;
    left: 20%;
    animation-delay: 10s;
}

@keyframes float {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(180deg); }
    100% { transform: translateY(0px) rotate(360deg); }
}

/* Animated Buttons */
.btn {
    padding: 12px 35px;
    border-radius: 50px;
    font-weight: 600;
    border: none;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 8px 25px rgba(26, 95, 158, 0.3);
}

.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(26, 95, 158, 0.4);
}

.btn-secondary {
    background: var(--gradient-secondary);
    color: white;
    box-shadow: 0 8px 25px rgba(114, 9, 183, 0.3);
}

.btn-secondary:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(114, 9, 183, 0.4);
}

.btn-outline-light {
    border: 2px solid white;
    color: white;
    background: transparent;
}

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

/* Section Styles */
.section-padding {
    padding: 100px 0;
}

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

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

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

.section-title p {
    font-size: 1.2rem;
    color: var(--medium-gray);
    max-width: 700px;
    margin: 0 auto;
}

/* Feature Cards with Gradient Borders */
.feature-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    height: 100%;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: var(--gradient-primary);
    border-radius: 22px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    font-size: 36px;
    color: white;
    background: var(--gradient-primary);
    box-shadow: 0 10px 20px rgba(26, 95, 158, 0.2);
    transition: all 0.4s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    background: var(--gradient-secondary);
}

/* Training Cards with Color Coding */
.training-card {
    border: none;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    height: 100%;
}

.training-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

.card-header {
    background: var(--gradient-primary);
    color: white;
    padding: 25px;
    border-bottom: none;
}

.card-header.leadership {
    background: var(--gradient-primary);
}

.card-header.technology {
    background: var(--gradient-cool);
}

.card-header.data {
    background: var(--gradient-secondary);
}

.card-header.project {
    background: var(--gradient-warm);
}

.card-body {
    padding: 30px;
}

.category-badge {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: white;
}

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

.badge-technology {
    background: var(--gradient-cool);
}

.badge-data {
    background: var(--gradient-secondary);
}

.badge-project {
    background: var(--gradient-warm);
}

/* Video Section with Modern Design */
.video-section {
    position: relative;
    padding: 100px 0;
    background: var(--light-blue);
    overflow: hidden;
}

.video-container {
    position: relative;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
    transform-style: preserve-3d;
    transform: perspective(1000px) rotateX(2deg);
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-container:hover .video-overlay {
    opacity: 1;
}

.play-button {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 28px;
    cursor: pointer;
    transform: scale(0.8);
    transition: all 0.3s ease;
}

.video-container:hover .play-button {
    transform: scale(1);
}

/* Testimonials with Gradient Background */
.testimonial-section {
    position: relative;
    padding: 100px 0;
    background: var(--gradient-primary);
    color: white;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px;
    height: 100%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s ease;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.15);
}

.testimonial-text {
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 25px;
    position: relative;
    padding-left: 30px;
}

.testimonial-text::before {
    content: '"';
    position: absolute;
    left: 0;
    top: -15px;
    font-size: 60px;
    color: rgba(255, 255, 255, 0.3);
    font-family: Georgia, serif;
}

.client-info {
    display: flex;
    align-items: center;
}

.client-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: 3px solid white;
    margin-right: 20px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.client-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Service Cards with Icon Animation */
.service-card {
    position: relative;
    padding: 50px 30px;
    border-radius: 25px;
    text-align: center;
    height: 100%;
    transition: all 0.4s ease;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.service-card:hover::before {
    transform: translateX(100%);
}

.service-icon {
    font-size: 60px;
    margin-bottom: 30px;
    display: inline-block;
    transition: all 0.4s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.2) rotate(10deg);
}

.service-1 {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.service-2 {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
}

.service-3 {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: white;
}

.service-4 {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    color: white;
}

.service-5 {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    color: white;
}

.service-6 {
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
    color: var(--dark-gray);
}

/* Contact Form with Modern Design */
.contact-form {
    background: white;
    padding: 50px;
    border-radius: 25px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
}

.form-control {
    padding: 15px 20px;
    border: 2px solid #e9ecef;
    border-radius: 15px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-teal);
    box-shadow: 0 0 0 0.2rem rgba(0, 180, 216, 0.25);
    transform: translateY(-2px);
}

.contact-info {
    background: var(--gradient-primary);
    color: white;
    padding: 50px;
    border-radius: 25px;
    height: 100%;
}

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

.contact-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-right: 20px;
    flex-shrink: 0;
}

/* Footer with Gradient */
footer {
    background: linear-gradient(135deg, var(--navy) 0%, var(--dark-blue) 100%);
    color: white;
    padding-top: 100px;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--gradient-primary);
}

.footer-col h4 {
    color: white;
    margin-bottom: 30px;
    padding-bottom: 15px;
    position: relative;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--gradient-primary);
}

.footer-links {
    list-style: none;
    padding: 0;
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.footer-links a:hover {
    color: white;
    padding-left: 10px;
}

.footer-links a i {
    margin-right: 10px;
    width: 20px;
}

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

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    font-size: 20px;
    transition: all 0.3s ease;
}

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

.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    margin-top: 70px;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
}

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

.fade-in {
    animation: fadeInUp 1s ease;
}

/* Stats Section */
.stats-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

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

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 10px;
    background: linear-gradient(45deg, #fff, #f0f0f0);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.8rem;
    }
    
    .section-title h2 {
        font-size: 2.3rem;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-padding {
        padding: 70px 0;
    }
    
    .navbar-nav .nav-link {
        padding: 10px 15px !important;
        margin: 5px 0;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
    }
    
    .btn {
        padding: 10px 25px;
        font-size: 0.9rem;
    }
}

/* Additional Styles for New Pages */

/* About Page Styles */
.team-card {
    transition: all 0.4s ease;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

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

/* Services Page Styles */
.process-step {
    position: relative;
    width: 100px;
    height: 100px;
}

.step-number {
    width: 100px;
    height: 100px;
    background: white;
    color: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: 800;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.industry-card {
    transition: all 0.4s ease;
}

.industry-card:hover {
    transform: translateY(-10px);
}

.tech-card {
    transition: all 0.3s ease;
}

.tech-card:hover {
    transform: translateY(-5px) scale(1.05);
}

/* Training Page Styles */
.filter-btn {
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 600;
    background: white;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
    transition: all 0.3s ease;
}

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

.filter-btn:hover:not(.active) {
    background: var(--light-blue);
    transform: translateY(-2px);
}

.training-item {
    transition: all 0.4s ease;
}

.method-card {
    transition: all 0.4s ease;
}

.method-card:hover {
    transform: translateY(-10px);
}

.certificate-card {
    position: relative;
    overflow: hidden;
}

.certificate-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: rotate(45deg);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { transform: translateX(-100%) rotate(45deg); }
    100% { transform: translateX(100%) rotate(45deg); }
}

/* Contact Page Styles */
.map-container {
    position: relative;
}

.map-overlay {
    position: absolute;
    bottom: 30px;
    right: 30px;
    max-width: 300px;
    z-index: 10;
}

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

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

.fade-in-up {
    animation: fadeInUp 0.8s ease forwards;
}

/* Loading animation */
.loading {
    position: relative;
    overflow: hidden;
}

.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Hover effects for all interactive elements */
.btn, .nav-link, .card, .social-links a {
    transition: all 0.3s ease;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .map-overlay {
        position: relative;
        bottom: auto;
        right: auto;
        max-width: 100%;
        margin: 20px 0;
    }
    
    .process-step {
        width: 80px;
        height: 80px;
    }
    
    .step-number {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }
}