/* ===================================
   CoE-AM Website Styles
   Center of Excellence - Additive Manufacturing
   =================================== */

/* Root Variables */
:root {
    --primary-color: #1e3a8a;
    --secondary-color: #0891b2;
    --accent-color: #f59e0b;
    --dark-color: #1f2937;
    --light-color: #f3f4f6;
    --white: #ffffff;
    --gradient-primary: linear-gradient(135deg, #1e3a8a 0%, #0891b2 100%);
    --gradient-accent: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Roboto', sans-serif;
    color: var(--dark-color);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
}

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

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

.bg-light {
    background-color: #f8f9fa;
}

.bg-gradient-light {
    background: linear-gradient(180deg, #f0f4f8 0%, #e8f0f7 100%);
}

/* Top Bar */
.top-bar {
    background: var(--primary-color);
    color: var(--white);
    padding: 10px 0;
    font-size: 14px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 99;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.top-bar.hidden {
    transform: translateY(-100%);
    opacity: 0;
}

.top-bar-left,
.top-bar-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.top-bar-right {
    justify-content: flex-end;
}

.top-bar a {
    color: var(--white);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.top-bar a:hover {
    color: var(--accent-color);
}

.top-bar i {
    color: var(--accent-color);
}

/* Navigation */
.navbar {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 40px;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: top 0.3s ease, box-shadow 0.3s ease;
}

.navbar.scrolled {
    top: 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.navbar-brand .brand-text {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 1px;
}

.navbar-nav {
    margin: 0 auto;
}

.navbar-nav .nav-link {
    color: #333;
    font-weight: 500;
    margin: 0 15px;
    position: relative;
    transition: var(--transition);
}

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

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: var(--transition);
}

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

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

.logo-img {
    height: 50px;
    width: auto;
    transition: var(--transition);
}

.navbar.scrolled .logo-img {
    height: 40px;
}

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

.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(30, 58, 138, 1)' 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;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0891b2 100%);
    overflow: hidden;
    padding: 120px 0 10px;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(8, 145, 178, 0.2) 0%, transparent 50%);
    z-index: 1;
}

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

.hero-content {
    color: var(--white);
    text-align: left;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.2;
    color: var(--white);
}

.hero-highlight {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--accent-color);
    margin-bottom: 25px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 0.95;
    line-height: 1.6;
}

.hero-buttons .btn {
    margin: 10px 10px 10px 0;
    padding: 15px 35px;
    font-size: 1.1rem;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
}

.hero-image-wrapper {
    position: relative;
    padding: 20px;
}

.hero-main-image {
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    transition: var(--transition);
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* Button Styles */
.btn-primary {
    background: var(--accent-color);
    border: none;
    color: var(--white);
}

.btn-primary:hover {
    background: #d97706;
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-outline-light {
    border: 2px solid var(--white);
    color: var(--white);
}

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

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

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    40% {
        transform: translateX(-50%) translateY(-10px);
    }

    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Section Headers */
.section-header {
    margin-bottom: 50px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.title-underline {
    width: 80px;
    height: 4px;
    background: var(--gradient-accent);
    margin: 0 auto 20px;
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #6b7280;
}

/* About Section */
.about-content h3 {
    color: var(--primary-color);
    font-weight: 700;
}

.about-content .lead {
    font-size: 1.1rem;
    color: var(--secondary-color);
    font-weight: 500;
}

.about-features {
    margin-top: 30px;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: 1.05rem;
}

.feature-item i {
    color: var(--secondary-color);
    margin-right: 12px;
    font-size: 1.2rem;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.stat-card {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

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

.stat-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
}

.stat-icon i {
    color: var(--white);
    font-size: 24px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 10px 0;
}

.highlight-box:hover {
    background: #e9ecef;
    transform: translateX(5px);
}

.highlight-box i {
    font-size: 28px;
    color: var(--primary-color);
    min-width: 35px;
}

.highlight-box h5 {
    margin: 0 0 5px 0;
    color: var(--primary-color);
    font-size: 1rem;
    font-weight: 600;
}

.highlight-box p {
    margin: 0;
    font-size: 0.9rem;
    color: #666;
    text-align: left;
}

/* Statistics Section */
.stats-section {
    background: var(--gradient-primary);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.stat-box {
    text-align: center;
    padding: 30px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
}

.stat-box:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-10px);
}

.stat-box .stat-icon {
    width: 70px;
    height: 70px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.stat-box .stat-icon i {
    font-size: 32px;
    color: var(--primary-color);
}

.stat-box .stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--white);
    margin: 15px 0 10px;
}

.stat-box p {
    color: var(--white);
    font-size: 1rem;
    margin: 0;
    opacity: 0.95;
}

/* Training Cards */
.training-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    height: 100%;
    border-top: 4px solid var(--secondary-color);
}

.training-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-top-color: var(--accent-color);
}

.training-card .card-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.training-card .card-icon i {
    color: var(--white);
    font-size: 36px;
}

.training-card h4 {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 15px;
    text-align: center;
}

.training-duration {
    text-align: center;
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.training-features {
    list-style: none;
    padding: 0;
}

.training-features li {
    padding: 10px 0;
    border-bottom: 1px solid var(--light-color);
}

.training-features li:last-child {
    border-bottom: none;
}

.training-features i {
    color: var(--secondary-color);
    margin-right: 10px;
}

/* Service Cards */
.service-card {
    background: var(--white);
    padding: 40px 25px;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    background: var(--gradient-primary);
    color: var(--white);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: var(--light-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--white);
}

.service-icon i {
    font-size: 32px;
    color: var(--secondary-color);
}

.service-card h5 {
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.service-card:hover h5 {
    color: var(--white);
}

.service-card p {
    color: #6b7280;
    margin: 0;
}

.service-card:hover p {
    color: rgba(255, 255, 255, 0.9);
}

/* About Section */
.about-content-box {
    background: var(--white);
    padding: 30px;
    height: 100%;
}

.about-content-box h3 {
    color: var(--primary-color);
    font-weight: 700;
}

.about-content-box .lead {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.8;
}

.about-content-box p {
    color: #666;
    line-height: 1.8;
}

.about-image-box {
    height: 100%;
    display: flex;
    align-items: center;
}

.about-image-box img {
    border-radius: 15px;
    transition: var(--transition);
    width: 100%;
    height: 100%;
    min-height: 600px;
    object-fit: cover;
}

.about-image-box img:hover {
    transform: scale(1.02);
}

/* Highlight Boxes */
.highlight-box {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
    transition: var(--transition);
}

/* Infrastructure Cards */
.infra-card {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border-left: 5px solid var(--secondary-color);
}

.infra-card:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-lg);
    border-left-color: var(--accent-color);
}

.infra-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.infra-header i {
    font-size: 36px;
    color: var(--secondary-color);
    margin-right: 15px;
}

.infra-header h4 {
    color: var(--primary-color);
    font-weight: 700;
    margin: 0;
}

.infra-list {
    list-style: none;
    padding: 0;
}

.infra-list li {
    padding: 12px 0;
    padding-left: 30px;
    position: relative;
    color: #4b5563;
}

.infra-list li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

/* Application Cards */
.application-card {
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    text-align: center;
    height: 100%;
}

.application-card:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

.application-card.highlight-card {
    border: 3px solid var(--accent-color);
    background: linear-gradient(135deg, #fff5e6 0%, #ffffff 100%);
}

.app-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.app-icon i {
    font-size: 36px;
    color: var(--white);
}

.application-card h4 {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 15px;
}

.app-description {
    color: #4b5563;
    margin-bottom: 15px;
}

.badge {
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
}

/* Event Highlight */
.event-highlight {
    background: var(--white);
    padding: 50px;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    position: relative;
    border: 2px solid var(--light-color);
}

.event-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-accent);
    color: var(--white);
    padding: 10px 30px;
    border-radius: 25px;
    font-weight: 700;
    box-shadow: var(--shadow-md);
}

.event-badge i {
    margin-right: 8px;
}

.event-title {
    color: var(--primary-color);
    font-weight: 700;
    margin-top: 20px;
    margin-bottom: 15px;
}

.event-date {
    color: var(--secondary-color);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.event-date i {
    margin-right: 8px;
}

.event-description {
    font-size: 1.1rem;
    color: #4b5563;
    line-height: 1.8;
}

.guest-list,
.partner-list {
    list-style: none;
    padding: 0;
}

.guest-list li,
.partner-list li {
    padding: 8px 0;
    color: #4b5563;
}

.partner-list i {
    color: var(--secondary-color);
    margin-right: 8px;
}

.session-card {
    background: var(--light-color);
    padding: 20px;
    border-radius: 10px;
    margin-top: 10px;
    border-left: 4px solid var(--secondary-color);
}

.session-card h6 {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 10px;
}

/* Contact Section */
.contact-info {
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    height: 100%;
}

.contact-info h4 {
    color: var(--primary-color);
    font-weight: 700;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid var(--light-color);
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
}

.contact-icon i {
    color: var(--white);
    font-size: 20px;
}

.contact-details h6 {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 5px;
}

.contact-details p {
    color: #4b5563;
    margin: 0;
}

.contact-details a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: var(--transition);
}

.contact-details a:hover {
    color: var(--accent-color);
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
}

.form-label {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.form-control,
.form-select {
    border: 2px solid var(--light-color);
    border-radius: 8px;
    padding: 12px 15px;
    transition: var(--transition);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 0.2rem rgba(8, 145, 178, 0.25);
}

.footer h5 {
    color: var(--white);
    font-weight: 700;
    margin-bottom: 20px;
}

.footer p {
    color: rgba(255, 255, 255, 0.7);
}

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

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

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

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

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

.social-icon:hover {
    background: var(--accent-color);
    transform: translateY(-5px);
}

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

.footer-bottom p {
    margin: 0;
    font-size: 0.9rem;
}

/* WhatsApp Button */

/* WhatsApp Button Animation */
@keyframes pulse-zoom {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

.whatsapp_btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    transition: var(--transition);
    animation: pulse-zoom 2s infinite ease-in-out;
}

.whatsapp_btn:hover {
    animation: none;
    transform: scale(1.15);
}

.whatsapp_btn img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    box-shadow: var(--shadow-lg);
}