/* Modern Gradient Color Scheme */
:root {
    --primary-dark: #16222A;
    --primary-gradient: linear-gradient(135deg, #94BBE9 0%, #EEAECA 100%);
    --secondary-gradient: linear-gradient(to right, #57C785, #EDDD53);
    --accent-gradient: linear-gradient(to right, #FF416C, #FF4B2B);
    --card-gradient: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
    --text-dark: #2c3e50;
    --text-light: #7f8c8d;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Base Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.7;
    color: var(--text-dark);
    background: #f9f9f9;
    margin: 0;
    padding: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.main-header {
    text-align: center;
    padding: 4rem 0 3rem;
    background: var(--primary-gradient);
    color: white;
    margin-bottom: 3rem;
    border-radius: 0 0 20px 20px;
    box-shadow: var(--shadow);
}

.main-header h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.main-header h1 span {
    background: var(--secondary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    font-weight: 300;
}

/* Subjects Grid */
.subjects-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 5rem;
}

.subject-card {
    background: var(--card-gradient);
    border-radius: 15px;
    width: 300px;
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.subject-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--secondary-gradient);
    transition: height 0.3s ease;
    z-index: -1;
}

.subject-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.subject-card:hover::before {
    height: 100%;
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.subject-card:hover .card-icon {
    color: white;
    transform: scale(1.1);
}

.subject-card h2 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.subject-card:hover h2 {
    color: white;
}

.subject-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    transition: color 0.3s ease;
}

.subject-card:hover p {
    color: rgba(255, 255, 255, 0.8);
}

.btn {
            display: inline-block;
            background-color: #3498db;
            color: white;
            padding: 0.8rem 1.5rem;
            border-radius: 5px;
            text-decoration: none;
            font-weight: bold;
            transition: all 0.3s ease;
            border: none;
            cursor: pointer;
            font-size: 1rem;
        }

        .btn:hover {
            background-color: #2980b9;
            transform: translateY(-2px);
            box-shadow: 0 3px 10px rgba(0,0,0,0.2);
        }

.subject-card .btn {
    background: white;
    color: var(--text-dark);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.subject-card:hover .btn {
    background: var(--accent-gradient);
    color: white;
    box-shadow: 0 4px 20px rgba(255, 75, 43, 0.4);
}

/* About Section */
.about-section {
    padding: 5rem 0;
    background: white;
    border-radius: 20px;
    margin-bottom: 3rem;
    box-shadow: var(--shadow);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

.divider {
    width: 80px;
    height: 4px;
    background: var(--accent-gradient);
    margin: 0 auto;
    border-radius: 2px;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    padding: 0 3rem;
}

.about-text p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

        /* Flexbox Hero Section */
        .hero-container {
            display: flex;
            justify-content: center;
            align-items: center;
            min-height: 70vh;
            padding: 2rem;
        }

        .hero-box {
            background: white;
            border-radius: 10px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
            padding: 3rem;
            text-align: center;
            max-width: 600px;
            width: 100%;
        }

        .hero-box h2 {
            color: #2c3e50;
            font-size: 1.8rem;
            margin-bottom: 1.5rem;
        }

        .hero-box p {
            color: #7f8c8d;
            margin-bottom: 2rem;
            font-size: 1.1rem;
        }
        /* Responsive Design */
        @media (max-width: 768px) {
            .hero-box {
                padding: 2rem 1.5rem;
            }
          
            
            .hero-box h2 {
                font-size: 1.5rem;
            }
        }

.signature {
    margin-top: 2rem;
    font-style: italic;
    color: var(--text-light);
}

/* Footer */
footer {
    background: var(--primary-gradient);
    color: white;
    padding: 3rem 0 2rem;
    text-align: center;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    align-items: center;
}

.footer-brand h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.footer-brand p {
    opacity: 0.8;
    font-size: 0.9rem;
}

.footer-disclaimer p {
    font-size: 0.85rem;
    opacity: 0.7;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: white;
    font-size: 1.2rem;
    margin: 0 0.5rem;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    transform: translateY(-3px);
    opacity: 0.9;
}

/* Responsive Design */
@media (max-width: 992px) {
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .main-header h1 {
        font-size: 2.2rem;
    }
    
    .subject-card {
        width: 100%;
        max-width: 350px;
    }
    
    .about-content {
        padding: 0 1rem;
    }
}

.adminActions {
  position: fixed;
  bottom: 35px;
  right: 35px;
  z-index: 9999; /* 👈 This ensures it's always on top */
}

  .adminButton {
    height: 60px;
    width: 60px;
    background-color: rgba(67, 83, 143, .8);
    border-radius: 50%;
    display: block;
    color: #fff;
    text-align: center;
    position: relative;
    z-index: 1;
  }

    .adminButton i {
      font-size: 22px;
    }

  .adminButtons {
    position: absolute;
    width: 100%;
    bottom: 120%;
    text-align: center;
  }

    .adminButtons a {
      display: block;
      width: 45px;
      height: 45px;
      border-radius: 50%;
      text-decoration: none;
      margin: 10px auto 0;
      line-height: 1.15;
      color: #fff;
      opacity: 0;
      visibility: hidden;
      position: relative;
      box-shadow: 0 0 5px 1px rgba(51, 51, 51, .3);
    }

      .adminButtons a:hover {
        transform: scale(1.05);
      }

      .adminButtons a:nth-child(1) {background-color: #ff5722; transition: opacity .2s ease-in-out .3s, transform .15s ease-in-out;}
      .adminButtons a:nth-child(2) {background-color: #03a9f4; transition: opacity .2s ease-in-out .25s, transform .15s ease-in-out;}
      .adminButtons a:nth-child(4) {background-color: #f44336; transition: opacity .2s ease-in-out .2s, transform .15s ease-in-out;}
      .adminButtons a:nth-child(3) {background-color: #4CAF50; transition: opacity .2s ease-in-out .15s, transform .15s ease-in-out;}

      .adminActions a i {
        position: absolute;
        top: 50%; left: 50%;
        transform: translate(-50%, -50%);
      }

  .adminToggle {
    -webkit-appearance: none;
    position: absolute;
    border-radius: 50%;
    top: 0; left: 0;
    margin: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
    background-color: transparent;
    border: none;
    outline: none;
    z-index: 2;
    transition: box-shadow .2s ease-in-out;
    box-shadow: 0 3px 5px 1px rgba(51, 51, 51, .3);
  }

    .adminToggle:hover {
      box-shadow: 0 3px 6px 2px rgba(51, 51, 51, .3);
    }

    .adminToggle:checked ~ .adminButtons a {
      opacity: 1;
      visibility: visible;
    }