/* ===========================
   PHOTONICS 4 CLINICS - CSS
   =========================== */

:root {
    --primary-color: #162a5d;
    --secondary-color: #58211e;
    --accent-color: #ff6b35;
    --light-bg: #f8f9fa;
    --dark-bg: #1a1a1a;
    --text-dark: #333333;
    --text-light: #ffffff;
    --border-color: #e0e0e0;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: var(--primary-color);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
    width: 100%;
    text-align: center;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
    border-radius: 2px;
}

p {
    font-size: 1rem;
    line-height: 1.8;
    color: #555;
}

.lead {
    font-size: 1.3rem;
    font-weight: 500;
}

/* ===== NAVBAR ===== */
.navbar {
    background: linear-gradient(135deg, #58211e 0%, #58211e 100%) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-size: 1.5rem;
    font-family: 'Playfair Display', serif;
    letter-spacing: 1px;
}

.navbar-nav .nav-link {
    margin: 0 10px;
    transition: all 0.3s ease;
    font-weight: 500;
    color:#fff;
}

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

.navbar-nav .btn-primary {
    background-color: var(--accent-color) !important;
    border-color: var(--accent-color) !important;
    transition: all 0.3s ease;
}

.navbar-nav .btn-primary:hover {
    background-color: #ff5a1f !important;
    transform: scale(1.05);
}

/* ===== HERO SECTION ===== */
.hero-section{
position:relative;
overflow:hidden;
}

/* Background carousel */
.hero-bg-carousel,
.hero-bg-carousel .carousel-inner,
.hero-bg-carousel .carousel-item{
height:445px;
}

.hero-bg{
height:445px;
background-size:cover;
background-position:center;
}

/* Overlay */
.hero-bg::after{
content:'';
position:absolute;
top:0;
left:0;
width:100%;
height:100%;
background:rgba(0,0,0,0.55);
}

/* Text content */
.hero-content-wrapper{
position:absolute;
top:0;
left:0;
width:100%;
height:100%;
z-index:2;
display:flex;
align-items:center;
}

/* Details */
.hero-details{
display:flex;
gap:25px;
font-size:18px;
}

/* Dark overlay for better text visibility */
.hero-section .overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgb(0 0 0 / 62%);
  top: 0;
  left: 0;
}

/* Content should be above overlay */
.hero-section .container {
  position: relative;
  z-index: 2;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="15" fill="rgba(255,107,53,0.1)"/><circle cx="80" cy="80" r="20" fill="rgba(255,107,53,0.05)"/><path d="M0,50 Q25,25 50,50 T100,50" stroke="rgba(255,107,53,0.08)" fill="none" stroke-width="2"/></svg>');
    background-size: 200px 200px;
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(20px); }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    animation: slideInUp 1s ease-out;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-section h1 {
    color: var(--text-light);
    font-size: 4rem;
    font-weight: 800;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-section .lead {
    color: #e0e0e0;
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.hero-details {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.detail-box {
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem 1.5rem;
    border-radius: 8px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.detail-box:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.detail-box i {
    color: var(--accent-color);
    font-size: 1.3rem;
}

.hero-section .btn {
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.95rem;
}

.hero-section .btn-primary {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
}

.hero-section .btn-primary:hover {
    background-color: #ff5a1f;
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.4);
}

.hero-section .btn-outline-light:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: var(--text-light);
}

/* ===== COUNTDOWN SECTION ===== */
.countdown-section {
    background: linear-gradient(135deg, var(--light-bg) 0%, #ffffff 100%);
    padding: 4rem 0;
}

.countdown-box {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-top: 4px solid var(--secondary-color);
}

.countdown-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.countdown-box h3 {
    font-size: 3rem;
    color: var(--accent-color);
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.countdown-box p {
    font-size: 1.1rem;
    color: var(--primary-color);
    font-weight: 600;
    margin: 0;
}

/* ===== WELCOME SECTION ===== */
.welcome-section {
    background: white;
    padding: 5rem 0;
}

.welcome-section p {
    font-size: 1.05rem;
    line-height: 1.9;
    color: #555;
}

/* ===== THEMES SECTION ===== */
.themes-section {
    background: linear-gradient(135deg, var(--light-bg) 0%, #f0f8f4 100%);
    padding: 5rem 0;
}

.theme-card {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-left: 5px solid var(--secondary-color);
    height: 100%;
}

.theme-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    border-left-color: var(--accent-color);
}

.theme-icon {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

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

.theme-card h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.theme-card p {
    color: #666;
    margin: 0;
}

/* ===== ATTEND SECTION ===== */
.attend-section {
    background: white;
    padding: 5rem 0;
}

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

.attend-list li {
    padding: 1rem 0;
    font-size: 1.1rem;
    color: #555;
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.attend-list li:last-child {
    border-bottom: none;
}

.attend-list li:hover {
    padding-left: 1rem;
    color: var(--secondary-color);
}

.attend-list i {
    color: var(--accent-color);
    font-size: 1.2rem;
}

/* ===== OUTCOMES SECTION ===== */
.outcomes-section {
    background: linear-gradient(135deg, var(--light-bg) 0%, #f0f8f4 100%);
    padding: 5rem 0;
}

.outcome-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    text-align: center;
}

.outcome-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.outcome-card h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.outcome-card i {
    color: var(--accent-color);
    font-size: 2rem;
}

.outcome-card p {
    color: #666;
    margin: 0;
}

/* ===== COMMITTEE SECTION ===== */
.committee-section {
    background: white;
    padding: 5rem 0;
}

.committee-list {
    display: grid;
    gap: 1.5rem;
}

.committee-member {
    padding: 1.5rem;
    border-left: 4px solid var(--secondary-color);
    background: var(--light-bg);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.committee-member:hover {
    border-left-color: var(--accent-color);
    background: #f0f8f4;
    transform: translateX(10px);
}

.committee-member h5 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.committee-member .role {
    color: var(--secondary-color);
    font-weight: 600;
    margin: 0;
}

/* ===== VENUE SECTION ===== */
.venue-section {
    background: linear-gradient(135deg, var(--light-bg) 0%, #f0f8f4 100%);
    padding: 5rem 0;
}

.venue-content {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.venue-content h4 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.venue-details {
    display: grid;
    gap: 2rem;
}

.detail-item {
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-top: 4px solid var(--secondary-color);
}

.detail-item:hover {
    transform: translateY(-5px);
    border-top-color: var(--accent-color);
}

.detail-item h5 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.detail-item i {
    color: var(--accent-color);
    font-size: 1.3rem;
}

.detail-item p {
    color: #666;
    margin: 0;
}

/* ===== ACKNOWLEDGEMENT SECTION ===== */
.acknowledgement-section {
    background: white;
    padding: 5rem 0;
}

.funding-box {
    background: linear-gradient(135deg, var(--light-bg) 0%, #f0f8f4 100%);
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid var(--secondary-color);
    transition: all 0.3s ease;
}

.funding-box:hover {
    border-left-color: var(--accent-color);
    transform: translateX(10px);
}

.funding-box h5 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.funding-box i {
    color: var(--accent-color);
    font-size: 1.3rem;
}

.funding-box p {
    color: #666;
    margin: 0;
}

/* ===== CONTACT SECTION ===== */
.contact-section {
    background: linear-gradient(135deg, var(--light-bg) 0%, #f0f8f4 100%);
    padding: 5rem 0;
}

.contact-card {
    background: white;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-top: 5px solid var(--secondary-color);
}

.contact-card h4 {
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-size: 1.5rem;
    text-align: center;
}

.contact-item {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

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

.contact-item h5 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.contact-item i {
    color: var(--accent-color);
    font-size: 1.2rem;
}

.contact-item p {
    color: #666;
    margin: 0;
}

.contact-item a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 600;
}

.contact-item a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

/* ===== MODAL STYLES ===== */
.modal-content {
    border: none;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.modal-header {
    background: linear-gradient(135deg, #0b4177 0%, #72a9e1 100%);
    color: white;
    border: none;
    border-radius: 12px 12px 0 0;
}

.modal-header h5 {
    color: white;
    font-size: 1.5rem;
}

.modal-body {
    padding: 2rem;
}

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

.form-control,
.form-select {
    border: 2px solid var(--border-color);
    border-radius: 8px;
    padding: 0.75rem;
    transition: all 0.3s ease;
}

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

.modal .btn-primary {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    font-weight: 600;
    padding: 0.75rem;
    transition: all 0.3s ease;
}

.modal .btn-primary:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    transform: scale(1.02);
}

/* ===== FOOTER ===== */
.footer {
    background: linear-gradient(135deg, #58211e 0%, #58211e 100%) !important;
    color: var(--text-light);
    margin-top: 5rem;
}

.footer h5 {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer p {
    color: #d0d0d0;
    margin: 0;
}

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

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #d0d0d0;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

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

.footer hr {
    border-color: rgba(255, 255, 255, 0.2);
}

.footer a {
    color: #d0d0d0;
    text-decoration: none;
    transition: all 0.3s ease;
}

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

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }

    .hero-section .lead {
        font-size: 1.2rem;
    }

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

    .hero-details {
        gap: 1rem;
        flex-direction: column;
    }

    .detail-box {
        padding: 0.8rem 1rem;
    }

    .hero-section .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .countdown-box h3 {
        font-size: 2rem;
    }

    .theme-card,
    .outcome-card,
    .detail-item {
        margin-bottom: 1.5rem;
    }

    .navbar-nav .btn-primary {
        margin-top: 0.5rem;
        width: 100%;
    }

    .contact-card {
        padding: 2rem;
    }
}

@media (max-width: 576px) {
    .hero-section h1 {
        font-size: 2rem;
    }

    .hero-section .lead {
        font-size: 1rem;
    }

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

    .countdown-box h3 {
        font-size: 1.5rem;
    }

    .countdown-box p {
        font-size: 0.9rem;
    }

    .theme-card,
    .outcome-card {
        padding: 1.5rem;
    }

    .modal-body {
        padding: 1.5rem;
    }

    .hero-details {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* ===== SCROLL TO TOP BUTTON ===== */
.scroll-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--secondary-color);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.scroll-to-top:hover {
    background: var(--accent-color);
    transform: scale(1.1);
}

.scroll-to-top.show {
    display: flex;
}

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

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

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

.slide-in-left {
    animation: slideInLeft 0.8s ease-out;
}

/* ===== UTILITY CLASSES ===== */
.text-primary {
    color: var(--primary-color) !important;
}

.text-secondary {
    color: var(--secondary-color) !important;
}

.text-accent {
    color: var(--accent-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.bg-secondary {
    background-color: var(--secondary-color) !important;
}

.bg-accent {
    background-color: var(--accent-color) !important;
}

.shadow-sm {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08) !important;
}

.shadow-md {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1) !important;
}

.shadow-lg {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15) !important;
}


.page-banner{
background:#162a5d;
padding:80px 0;
}

table th{
background:#1A237E;
color:white;
}