/* Universal Styles */
:root {
    --primary-color: #5C6BC0; /* A pleasant blue/purple */
    --secondary-color: #8C9EFF; /* Lighter shade for accents */
    --dark-color: #263238; /* Dark text/background */
    --light-color: #ECEFF1; /* Light backgrounds */
    --text-color: #455A64; /* General text color */
    --white: #ffffff;
    --black: #000000;
    --hover-color: #3F51B5; /* Darker blue for hover */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--hover-color);
}

ul {
    list-style: none;
}

h1, h2, h3 {
    font-family: 'Playfair Display', serif;
    color: var(--dark-color);
    margin-bottom: 15px;
}

h1 {
    font-size: 3em;
    text-align: center;
}

h2 {
    font-size: 2.2em;
    text-align: center;
    margin-bottom: 30px;
}

h3 {
    font-size: 1.6em;
}

p {
    margin-bottom: 15px;
}

.btn-primary {
    display: inline-block;
    background: var(--primary-color);
    color: var(--white);
    padding: 12px 25px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    text-align: center;
}

.btn-primary:hover {
    background: var(--hover-color);
    color: var(--white);
}

/* Header */
header {
    background: var(--white);
    padding: 20px 0;
    border-bottom: 1px solid #ddd;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 100px;
    width: 200px;
    margin-right: 10px;
    border-radius: 50%; /* Make logo round if desired */
}

.logo b {
    font-family: 'Playfair Display', serif;
    font-size: 1.8em;
    color: var(--dark-color);
}

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 25px;
}

nav ul li a {
    color: var(--text-color);
    font-weight: 500;
    padding: 5px 0;
    position: relative;
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    left: 0;
    bottom: -5px;
    transition: width 0.3s ease-in-out;
}

nav ul li a:hover::after,
nav ul li a.active::after {
    width: 100%;
}

/* Hamburger Menu Icon */
.menu-toggle {
    display: none; /* Hidden by default on larger screens */
    flex-direction: column;
    cursor: pointer;
    padding: 10px;
}

.menu-toggle .bar {
    width: 25px;
    height: 3px;
    background-color: var(--dark-color);
    margin: 4px 0;
    transition: 0.4s;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(113, 105, 190, 0.5), rgba(167, 167, 175, 0.5)), url('../images/hero-bg.jpg') no-repeat center center/cover;
    color: var(--white);
    text-align: center;
    padding: 100px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
}

.hero-content {
    max-width: 800px;
}

.hero-content h1 {
    font-size: 4em;
    margin-bottom: 10px;
    color: var(--white);
}

.hero-content p {
    font-size: 1.5em;
    margin-bottom: 20px;
    color: rgba(255,255,255,0.8);
}

.hero-content h2 {
    font-size: 2.5em;
    margin-bottom: 30px;
    color: var(--secondary-color);
}

/* Features Section */
.features {
    padding: 60px 0;
    background-color: var(--white);
    text-align: center;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-item {
    background: var(--light-color);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.1);
}

.feature-item h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}


.icon-circle {
  background-color: rgb(162, 162, 228);
  width: 20px;
  height: 20px;
  margin: 0 auto 10px auto;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  position: relative;
}

.icon img {
  width: 40px;
  height: auto;
}

.icon {
  background-color: black;
  color: white;
  font-size: 12px;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  line-height: 28px;
  text-align: center;
  margin: 0 auto 5px auto;
}

.card{ 
    background: var(--light-color);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    
    
}
.card:hover{
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.1);
}

/* About Section */
.about-hero {
    background: linear-gradient(rgba(57, 57, 59, 0.6), rgba(140, 116, 226, 0.6)), url('../images/about-hero-bg.jpg') no-repeat center center/cover;
    color: var(--white);
    text-align: center;
    padding: 80px 20px;
}

.about-hero h1 {
    font-size: 3.5em;
    color: var(--white);
}

.about-content {
    padding: 60px 0;
    background-color: var(--white);
}

.about-content .container {
    display: flex;
    flex-wrap: wrap; /* Allows wrapping on smaller screens */
    gap: 40px;
    align-items: flex-start; /* Align items to the top */
}

.about-text {
    flex: 2; /* Takes more space */
    min-width: 300px; /* Minimum width before wrapping */
}

.about-text p {
    margin-bottom: 1em;
}

.about-image {
    flex: 1; /* Takes less space */
    min-width: 250px; /* Minimum width before wrapping */
    text-align: center;
}

.about-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Facilities Section (New) */
.facilities-hero {
    background: linear-gradient(rgba(148, 126, 230, 0.6), rgba(26, 25, 25, 0.6)), url('../images/facilities-hero-bg.jpg') no-repeat center center/cover;
    color: var(--white);
    text-align: center;
    padding: 80px 20px;
}

.facilities-hero h1 {
    font-size: 3.5em;
    color: var(--white);
}

.facilities-content {
    padding: 60px 0;
    background-color: var(--white);
}

.facilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.facility-item {
    background: var(--light-color);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    text-align: center;
}

.facility-item h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.facility-item p {
    font-size: 0.95em;
}

/* Contact Section */
.contact-hero {
    background: linear-gradient(rgba(119, 114, 114, 0.6), rgba(148, 123, 218, 0.6)), url('../images/contact-hero-bg.jpg') no-repeat center center/cover;
    color: var(--white);
    text-align: center;
    padding: 80px 20px;
}

.contact-hero h1 {
    font-size: 3.5em;
    color: var(--white);
}

.contact-content {
    padding: 60px 0;
    background-color: var(--white);
}

.contact-content .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
}

.contact-info, .contact-form {
    flex: 1;
    min-width: 300px;
    background: var(--light-color);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(125, 117, 199, 0.05);
}

.contact-info ul {
    margin-top: 20px;
}

.contact-info ul li {
    margin-bottom: 15px;
    font-size: 1.1em;
    display: flex;
    align-items: center;
}

.contact-info ul li strong {
    margin-right: 10px;
    color: var(--dark-color);
}

/* Contact Form */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--dark-color);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1em;
    font-family: 'Roboto', sans-serif;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form .btn {
    width: 100%;
    padding: 15px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    border: none;
    border-radius: 5px;
    background-color: var(--primary-color);
    color: var(--white);
    transition: background-color 0.3s ease;
}

.contact-form .btn:hover {
    background-color: var(--hover-color);
}

/* Footer */
footer {
    background: var(--dark-color);
    color: var(--white);
    padding: 40px 0;
    text-align: center;
    font-size: 0.9em;
}

footer .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

footer p {
    margin-bottom: 0;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px 40px;
    width: 100%;
}

.footer-links ul {
    display: flex;
    gap: 20px;
}

.footer-links ul li a {
    color: var(--light-color);
    font-weight: 400;
    position: relative;
}

.footer-links ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    background: var(--secondary-color);
    left: 0;
    bottom: -3px;
    transition: width 0.3s ease-in-out;
}

.footer-links ul li a:hover::after {
    width: 100%;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    color: var(--light-color);
    font-size: 1.1em;
    padding: 5px 10px;
    border: 1px solid var(--light-color);
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.social-links a:hover {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: var(--white);
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

.whatsapp-float i {
    color: var(--white); /* Ensure icon color is white */
}

/* --- Media Queries for Responsiveness --- */

/* Mobile devices (max-width: 768px) */
@media (max-width: 768px) {
    header .container {
        flex-wrap: wrap;
    }

    nav {
        order: 3; /* Push nav below logo and toggle */
        width: 100%;
        display: none; /* Hidden by default for hamburger menu */
        flex-direction: column;
        text-align: center;
        background: var(--white);
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        position: absolute;
        top: 90px; /* Adjust based on header height */
        left: 0;
        right: 0;
        padding: 20px 0;
    }

    nav.active {
        display: flex; /* Show when active */
    }

    nav ul {
        flex-direction: column;
        width: 100%;
    }

    nav ul li {
        margin: 10px 0;
        width: 100%;
    }

    nav ul li a {
        padding: 10px 0;
        display: block;
        width: 100%;
        color: var(--dark-color);
    }
    nav ul li a::after {
        display: none; /* Hide underline for mobile menu items */
    }

    .menu-toggle {
        display: flex; /* Show hamburger icon */
    }

    /* Animation for hamburger icon */
    .menu-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero-content h1 {
        font-size: 2.5em;
    }

    .hero-content p {
        font-size: 1.1em;
    }

    .hero-content h2 {
        font-size: 1.8em;
    }

    h2 {
        font-size: 1.8em;
    }

    .about-hero h1, .contact-hero h1, .facilities-hero h1 {
        font-size: 2.5em;
    }

    .about-content .container,
    .contact-content .container {
        flex-direction: column;
    }

    .contact-info, .contact-form {
        width: 100%;
    }

    .footer-links {
        flex-direction: column;
        gap: 20px;
    }

    .footer-links ul {
        flex-direction: column;
        gap: 10px;
    }

    .social-links {
        justify-content: center;
    }
}

/* Small tablets (max-width: 992px) - Adjust as needed */
@media (max-width: 992px) {
    nav ul li {
        margin-left: 15px;
    }

    .feature-grid, .facilities-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}


 