/* --- Google Fonts & Root Variables --- */
:root {
    --primary-color: #0a2b4b; /* Deep Blue */
    --secondary-color: #cda45e; /* Gold */
    --dark-grey: #333;
    --light-grey: #f4f4f4;
    --white-color: #ffffff;
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Montserrat', sans-serif;
}

/* --- General & Reset --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--dark-grey);
    background: var(--white-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4 {
    font-family: var(--font-secondary);
    font-weight: 700;
    color: var(--primary-color);
}

a {
    text-decoration: none;
    color: var(--secondary-color);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.section-padding {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 40px auto;
}

.text-center { text-align: center; }
.bg-light { background-color: var(--light-grey); }

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--secondary-color);
    color: var(--white-color);
    border: 2px solid var(--secondary-color);
}
.btn-primary:hover {
    background-color: transparent;
    color: var(--secondary-color);
}

.btn-secondary {
    background-color: var(--primary-color);
    color: var(--white-color);
    border: 2px solid var(--primary-color);
}
.btn-secondary:hover {
    background-color: transparent;
    color: var(--primary-color);
}


/* --- Header & Navigation --- */
.header {
    background: var(--white-color);
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.nav-logo img {
    height: 40px;
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-link {
    color: var(--primary-color);
    font-weight: 600;
    transition: color 0.3s;
}

.nav-link:hover, .nav-link.active {
    color: var(--secondary-color);
}

.nav-social {
    display: flex;
    gap: 20px;
}
.nav-social a {
    font-size: 1.2rem;
    color: var(--primary-color);
    transition: color 0.3s;
}
.nav-social a:hover { color: var(--secondary-color); }

.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--primary-color);
    transition: all 0.3s ease-in-out;
}

/* --- Hero Slider --- */
.hero-slider {
    position: relative;
    height: calc(100vh - 80px);
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
}

.slide.active {
    opacity: 1;
}

.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 43, 75, 0.6); /* primary color overlay */
}

.slide-content {
    position: relative;
    z-index: 2;
    color: var(--white-color);
    text-align: left;
    max-width: 700px;
}

.slide-content h1 {
    font-size: 3.5rem;
    color: var(--white-color);
    margin-bottom: 20px;
}
.slide-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.slider-nav {
    position: absolute;
    bottom: 30px;
    right: 30px;
    z-index: 3;
}
.slider-nav button {
    background: rgba(255,255,255,0.2);
    border: 1px solid var(--white-color);
    color: var(--white-color);
    width: 50px;
    height: 50px;
    cursor: pointer;
    font-size: 1.5rem;
    transition: background 0.3s;
}
.slider-nav button:hover {
    background: var(--secondary-color);
}
.slider-nav .prev { border-radius: 5px 0 0 5px; }
.slider-nav .next { border-radius: 0 5px 5px 0; }

/* --- About Overview Section --- */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}
.about-image img {
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}
.reg-details {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}
.reg-details p {
    font-weight: 600;
    color: var(--primary-color);
}

/* --- Projects Section --- */
.project-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.project-card {
    background: var(--white-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s;
}
.project-card:hover {
    transform: translateY(-10px);
}
.project-card-content {
    padding: 25px;
}
.project-card-content h3 {
    margin-bottom: 10px;
}

/* --- Amenities Section --- */
.amenities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    text-align: center;
}
.amenity-item {
    background: var(--light-grey);
    padding: 30px;
    border-radius: 10px;
    transition: all 0.3s;
}
.amenity-item:hover {
    background: var(--primary-color);
    color: var(--white-color);
}
.amenity-item:hover i, .amenity-item:hover span {
    color: var(--white-color);
}
.amenity-item i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
    display: block;
}
.amenity-item span {
    font-weight: 600;
    color: var(--primary-color);
}

/* --- Gallery Section --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}
.gallery-grid img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}
.gallery-grid img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

/* --- Testimonials Section --- */
.testimonial-slider {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 200px;
}
.testimonial {
    position: absolute;
    width: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}
.testimonial.active {
    opacity: 1;
}
.testimonial p {
    font-size: 1.2rem;
    font-style: italic;
    margin-bottom: 20px;
}
.testimonial h4 {
    color: var(--secondary-color);
    margin-bottom: 5px;
}

/* --- Location Section --- */
.location-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    text-align: center;
}
.location-item {
    background: var(--white-color);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}
.location-item i {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
}
.location-item h3 {
    font-size: 1.3rem;
    margin-bottom: 5px;
}

/* --- Footer --- */
.footer {
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 60px 0 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}
.footer-col h4 {
    color: var(--white-color);
    margin-bottom: 20px;
    font-family: var(--font-secondary);
    position: relative;
    padding-bottom: 10px;
}
.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background: var(--secondary-color);
}
.footer-logo {
    height: 40px;
    margin-bottom: 20px;
    filter: brightness(0) invert(1);
}
.footer-col p {
    color: #ccc;
    line-height: 1.8;
}
.footer-col ul li {
    margin-bottom: 10px;
}
.footer-col ul li a {
    color: #ccc;
    transition: color 0.3s, padding-left 0.3s;
}
.footer-col ul li a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}
.footer-col p i {
    margin-right: 10px;
    color: var(--secondary-color);
}
.footer-social a {
    display: inline-block;
    height: 40px;
    width: 40px;
    background: rgba(255,255,255,0.1);
    color: var(--white-color);
    text-align: center;
    line-height: 40px;
    border-radius: 50%;
    margin-right: 10px;
    transition: background 0.3s;
}
.footer-social a:hover {
    background: var(--secondary-color);
}
.footer-bottom {
    border-top: 1px solid #444;
    text-align: center;
    padding: 20px 0;
}

/* --- Responsive Design --- */
@media(max-width: 992px) {
    .section-title { font-size: 2.2rem; }
    .slide-content h1 { font-size: 2.8rem; }
    .grid-2 { grid-template-columns: 1fr; text-align: center; }
    .about-image { margin-top: 30px; }
    .about-content { order: 2; }
    .about-image { order: 1; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

@media(max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background-color: var(--white-color);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    }
    .nav-menu.active {
        left: 0;
    }
    .nav-item {
        padding: 15px 0;
    }
    .hamburger {
        display: block;
    }
    .hamburger.active .bar:nth-child(2) { opacity: 0; }
    .hamburger.active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .hamburger.active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
    
    .nav-social { display: none; }
    .slide-content h1 { font-size: 2.2rem; }
    .slide-content p { font-size: 1rem; }
    .project-cards { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: 1fr; }
    .gallery-grid img { height: auto; }
}

/* --- Page Header (for About, Services, Contact) --- */
.page-header {
    padding: 80px 0;
    text-align: center;
    color: var(--white-color);
    background-size: cover;
    background-position: center;
    position: relative;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 43, 75, 0.7); /* primary color overlay */
}

.page-header h1, .page-header p {
    position: relative;
    z-index: 2;
    color: var(--white-color);
}
.page-header h1 {
    font-size: 3rem;
}

/* --- Services Page Styles --- */
.services-detail-section .service-item {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    margin-bottom: 50px;
}
.services-detail-section .service-item:last-child {
    margin-bottom: 0;
}
.service-icon {
    font-size: 3rem;
    color: var(--secondary-color);
    flex-shrink: 0;
    width: 80px;
    text-align: center;
}
.service-content h2 {
    font-size: 2rem;
    margin-bottom: 15px;
}
.service-content ul {
    list-style: none;
    margin-top: 20px;
    padding: 0;
}
.service-content ul li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}
.service-content ul li i {
    color: var(--secondary-color);
    margin-right: 15px;
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    text-align: center;
}
.feature-item i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
}
.feature-item h3 {
    margin-bottom: 10px;
}

/* --- About Page Styles --- */
.about-story-image img {
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}
.mission-vision .grid-2 {
    align-items: flex-start;
}
.mission-item {
    text-align: center;
    padding: 30px;
}
.mission-item i {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
}
.credential-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}
.credential-card {
    background: var(--light-grey);
    padding: 30px;
    border-radius: 10px;
    border-left: 5px solid var(--secondary-color);
}
.credential-card .reg-number {
    margin-top: 15px;
    font-weight: 700;
    font-family: var(--font-secondary);
    color: var(--primary-color);
    background-color: var(--white-color);
    padding: 10px;
    border-radius: 5px;
    display: inline-block;
}

/* --- Contact Page Styles --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: flex-start;
}
.contact-info .info-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 25px;
}
.contact-info .info-item i {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-top: 5px;
    width: 25px;
}
.contact-info .info-item h4 {
    margin-bottom: 5px;
}
.contact-info .info-item p {
    margin: 0;
    color: #555;
}
.email-btn {
    margin-top: 20px;
}
.contact-map iframe {
    border-radius: 10px;
    height: 500px;
}

/* --- Responsive Additions for New Pages --- */
@media(max-width: 992px) {
    .credential-cards {
        grid-template-columns: 1fr;
    }
}
@media(max-width: 768px) {
    .page-header h1 {
        font-size: 2.5rem;
    }
    .services-detail-section .service-item {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    .about-story .grid-2 {
        grid-template-columns: 1fr;
    }
    .about-story-image {
        margin-bottom: 30px;
    }
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .contact-map {
        margin-top: 40px;
        height: 350px;
    }
    .contact-map iframe {
        height: 100%;
    }
}
