/* Homepage Modern Layout Styles */

:root {
    --primary-color: #008080;
    --secondary-color: #3B64D7;
    --accent-orange: #FF6B35;
    --accent-green: #4CAF50;
    --accent-yellow: #FFC107;
    --text-dark: #333;
    --text-light: #666;
    --bg-light: #F5F5F5;
    --white: #FFFFFF;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', 'Roboto', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    padding-top: 140px; /* Adjust based on header height (top bar + nav bar) */
}

/* New header is handled by header_new.css */

@media (max-width: 768px) {
    body {
        padding-top: 100px; /* Smaller padding on mobile */
    }
}

/* Hide old header elements */
.cbp-row.wh-header.top.wh-sticky-header-enabled {
    display: none !important;
}

.header-mobile {
    display: none !important;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, #FFE5D9 0%, #FFB4A2 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 60px 0;
}

.hero-image-wrapper {
    position: relative;
    height: 100%;
    min-height: 500px;
}

.hero-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-logo-overlay {
    position: absolute;
    right: 50px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    background: white;
    border-radius: 50%;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    width: 150px;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-logo-overlay img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.hero-text {
    position: absolute;
    left: 50px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
}

.hero-text h1 {
    font-size: 4rem;
    font-weight: 900;
    color: var(--text-dark);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    text-transform: uppercase;
}

.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    transition: transform 0.3s;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

.whatsapp-float i {
    color: white;
    font-size: 30px;
}

/* Content Sections */
.content-section {
    padding: 60px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--text-dark);
    text-align: center;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    text-align: center;
    margin-bottom: 40px;
}

/* Info Cards Grid */
.info-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.info-card {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.info-card h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.info-card p {
    color: var(--text-light);
    font-size: 1rem;
}

/* Benefits Section */
.benefits-section {
    background: var(--bg-light);
    padding: 80px 0;
}

.benefits-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.benefits-list {
    list-style: none;
}

.benefits-list li {
    padding: 15px 0;
    font-size: 1.1rem;
    color: var(--text-dark);
    position: relative;
    padding-left: 30px;
}

.benefits-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent-green);
    font-weight: bold;
    font-size: 1.5rem;
}

.btn-primary-custom {
    background: var(--primary-color);
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: background 0.3s;
}

.btn-primary-custom:hover {
    background: #006666;
    color: white;
    text-decoration: none;
}

/* Services Section */
.services-section {
    padding: 80px 0;
    background: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-header {
    padding: 20px;
    color: white;
    font-weight: 700;
    font-size: 1.3rem;
    text-align: center;
}

.service-header.green {
    background: var(--accent-green);
}

.service-header.yellow {
    background: var(--accent-yellow);
}

.service-header.blue {
    background: var(--secondary-color);
}

.service-header.teal {
    background: var(--primary-color);
}

.service-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.service-content {
    padding: 20px;
}

.service-content p {
    color: var(--text-light);
    margin-bottom: 15px;
}

.service-logo {
    text-align: center;
    margin-top: 15px;
}

.service-logo img {
    max-width: 80px;
    height: auto;
}

/* Testimonials Section */
.testimonials-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.testimonials-carousel {
    position: relative;
    overflow: hidden;
    padding: 40px 0;
}

.testimonials-wrapper {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 20px 0;
}

.testimonial-card {
    min-width: 300px;
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.testimonial-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: var(--primary-color);
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-text {
    color: var(--text-light);
    font-style: italic;
    margin-bottom: 20px;
    min-height: 100px;
}

.testimonial-name {
    font-weight: 700;
    color: var(--text-dark);
    text-transform: capitalize;
}

.testimonial-role {
    color: var(--text-light);
    font-size: 0.9rem;
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary-color);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    z-index: 10;
    transition: background 0.3s;
}

.carousel-nav:hover {
    background: #006666;
}

.carousel-nav.prev {
    left: 10px;
}

.carousel-nav.next {
    right: 10px;
}

/* Admissions Section */
.admissions-section {
    padding: 60px 0;
    background: var(--primary-color);
    color: white;
    text-align: center;
}

.admissions-section h2 {
    color: white;
    margin-bottom: 20px;
    font-size: 34px;
}

.admissions-section p {
    font-size: 24px;
    margin-bottom: 18px;
    color: #fff !important;
}

.admissions-section a {
    background: #fff;
    color: #000;
    padding: 10px 20px;
    border-radius: 30px;
    box-shadow: 0px 4px 11px #ccc;
}

/* News Section */
.news-section {
    padding: 80px 0;
    background: var(--white);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.news-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.news-card:hover {
    transform: translateY(-5px);
}

.news-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.news-content {
    padding: 20px;
}

.news-date {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.news-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.news-excerpt {
    color: var(--text-light);
}

/* Image Strip/Slider */
.image-strip {
    padding: 40px 0;
    background: var(--bg-light);
}

.image-strip-wrapper {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
}

.image-strip-item {
    min-width: 300px;
    height: 200px;
    border-radius: 10px;
    overflow: hidden;
}

.image-strip-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .hero-text h2 {
        font-size: 1.8rem;
    }
    
    .hero-logo-overlay {
        width: 100px;
        height: 100px;
        right: 20px;
    }
    
    .benefits-content {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .info-cards-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .hero-section {
        min-height: 400px;
    }
    
    .hero-text {
        left: 20px;
    }
    
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .hero-text h2 {
        font-size: 1.5rem;
    }
    
    .content-section {
        padding: 40px 0;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
}

