 :root {
            --primary-color: #ffb400;/*#8d7053;*/
            --secondary-color: #ffb400; /*#b8a082;*/
            --accent-color: #eee;
            --text-dark: rgb(71,71,71);
            --text-light: #6b6b6b;
            --warm-gray: #e8e5e1;
            --dark-beige: #a0926d;
            --primary-color-but2:#e14f83;
            --secondary-color-but2:#e14f83;
            --primary-color-but:#ffb400;
            --secondary-color-but:#ffb400;
        }

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

        .navbar {
            background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        }

        .text-justify {
            text-align: justify;
        }

        .card {
            box-shadow: none !important;
        }

        #students .card,
        .bg-light .card {
            background: transparent;
        }

        .navbar-brand {
            font-weight: 600;
            font-size: 1.5rem;
        }

        .footer-bott {
            background-color: #3a3a3a;
            padding:3rem 0 1rem;
            color:white;
        }

        .card-border {
            border: 1px solid var(--primary-color);
            border-radius: 0 0 15px 15px !important
        }

        .nav-link {
            font-weight: 500;
            transition: color 0.3s ease;
            color: white;
            font-weight:bold;
        }

        .nav-link:hover {
            color: #e14f83 !important;
        }

        #hero, .herobg {
            position: relative;
            height: 75vh;

            overflow: hidden;
            display: flex;
            align-items: center;
            justify-content: center;
            /*
            background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
            */
        }

        .hero-background {
            position: absolute;
            top: 0;
            left: 0;
            width: 100vw;
            height: 75vh;
            background: url('./images/main.jpg') center/cover;
            animation: slideshow 15s infinite;
            opacity: 0.8;
        }

        @keyframes slideshow {
            0%, 33% { background-image: url('./images/main.jpg'); }
            34%, 66% { background-image: url('./images/main.jpg'); }
            67%, 100% { background-image: url('./images/main.jpg'); }
        }

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

        .hero-title {
            font-size: 3.5rem;
            font-weight: 700;
            margin-bottom: 1rem;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
        }

        .hero-subtitle {
            font-size: 1.3rem;
            font-weight: 400;
            margin-bottom: 2rem;
            text-shadow: 1px 1px 2px rgba(0,0,0,1);
        }

        .section-title {
            color: var(--primary-color);
            font-weight: 600;
            margin-bottom: 3rem;
            text-align: center;
            position: relative;
        }

        .section-title::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
            width: 60px;
            height: 3px;
            background: var(--dark-beige);
            border-radius: 2px;
        }

        .card {
            border: none;
            border-radius: 15px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.08);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            margin-bottom: 2rem;
            background: white;
        }

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

        .card-header {
            background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
            color: white;
            border-radius: 15px 15px 0 0 !important;
            border: none;
            font-weight: 600;
        }

        .float-end.imgshadow {
            margin: 0 0 10px 10px;
            max-width: 30vw;
        }
        .float-start.imgshadow {
            margin: 0 10px 10px 0;
            max-width: 30vw;
        }

        .gallery-item {
            position: relative;
            overflow: hidden;
            border-radius: 10px;
            margin-bottom: 1rem;
        }

        .gallery-item img {
            transition: transform 0.3s ease;
        }

        .gallery-item:hover img {
            transform: scale(1.05);
        }

        .contact-info {
            background: var(--accent-color);
            padding: 2rem;
            border-radius: 15px;
            margin-bottom: 2rem;
            border: 1px solid var(--warm-gray);
            height:100%;
        }

        .card-form {
            margin-bottom:0;
        }

        .contact-item {
            display: flex;
            align-items: center;
            margin-bottom: 1rem;
        }

        .contact-item i {
            color: var(--primary-color);
            width: 30px;
            text-align: center;
            margin-right: 1rem;
            font-size: 1.1rem;
        }

        footer {
            background: linear-gradient(135deg, var(--text-dark), #5a5a5a);
            color: white;
            padding: 3rem 0 1rem;
        }

        .footer-section {
            margin-bottom: 2rem;
        }

        .footer-title {
            color: var(--secondary-color);
            font-weight: 600;
            margin-bottom: 1rem;
        }

        .btn-primary {
            background: linear-gradient(135deg, var(--primary-color-but), var(--secondary-color-but));
            border: none;
            border-radius: 25px;
            padding: 10px 30px;
            font-weight: 500;
            transition: transform 0.3s ease;
        }

        .btn-primary:hover {
            transform: translateY(-2px);
            background: linear-gradient(135deg, var(--primary-color-but2), var(--secondary-color-but2));
        }

        .useful-links a,
        a.link-underline {
            color: var(--primary-color);
            text-decoration: none;
            transition: color 0.3s ease;
        }

        .useful-links a:hover,
        a.link-underline:hover {
            color: var(--secondary-color-but2);
            text-decoration: underline;
        }

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

        @media (max-width: 768px) {
            .hero-title {
                font-size: 2.5rem;
            }
            
            .hero-subtitle {
                font-size: 1.1rem;
            }

            .nav-item {
                margin: 0.5em 0;
            }

            .navbar-brand {
                max-width: 80%;
                overflow: hidden;
            }
        }

        .back-to-top,
        .back-to-top:hover {
    cursor: pointer;
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: none;
    border-radius: 50%;
    background-color: var(--primary-color-but);
    color: white;
    z-index: 900;
}

.py-5 {
    padding-top: 6rem !important;
}
/*
#ext-photo .modal-dialog { 
    max-width:95vw;
    max-height:80vh;
}

#ext-photo .modal-body { 
    text-align:center;
}

#ext-photo img { 
    max-width:100%;
    max-height:80vh;
}
*/
#ext-photo .modal-content {
    background-color: rgba(0,0,0,0);
    border:0 none;
} 


#ext-photo img  {
    width:auto;
    max-width: 100%;
    max-height: 90vh;
    width: auto\9; /* ie8 */
  }
  
 #ext-photo  .modal-body{
    text-align: center;
    height: auto;
  }

  #ext-photo .modal-header {
    border: 0 none;
    position:absolute;
    z-index:2000;
  }

    #ext-photo .modal-header button {
        color:white;
        --bs-btn-close-color:white;
    }

    #ext-photo .modal-dialog {
        margin:0;
    }
  @media (min-width: 768px){
  #ext-photo .modal-dialog {
    width: auto;      
    max-width: 100%;

  }
}

.modal-backdrop {
    --bs-backdrop-opacity: 0.75;
}

.gallery-item img {
    cursor: pointer;
}