/* Global Styles and Reset */
:root {
    --primary-color: #c3922e;
    --secondary-color: #FFC000;
    --text-color-dark: #333333;
    --text-color-light: #ffffff;
    --background-dark: #605b72;
    --section-bg-light: #f7f7f7;
    --font-family: 'Poppins', sans-serif;
    --container-width: 1100px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: var(--text-color-dark);
}

ul {
    list-style: none;
}

/* Reusable Components */
.subtitle {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 10px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.section-heading h2 {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 40px;
}

.section-heading h2 span {
    color: var(--primary-color);
}



/* ---------------------------------------------------- */
/* Hero Section */
/* ---------------------------------------------------- */
.hero-section {
    background-color: var(--background-dark);
    color: var(--text-color-light);
    padding: 80px 0;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero-text {
    width: 50%;
    padding-right: 40px;
}

.hero-text .since {
    font-size: 1rem;
    font-weight: 500;
    color: var(--secondary-color);
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-text h1 span {
    color: var(--primary-color);
}

.hero-text p {
    font-size: 1.1rem;
    font-weight: 300;
    margin-bottom: 30px;
    color: #ccc;
}

.hero-image-area {
    width: 50%;
    position: relative;
}

.hero-image-area .image-wrapper {
    background: #ffffff;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    position: relative;
}

.hero-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 5px;
    background-image: url(images/with\ heroin.webp);
    background-size: cover;
    background-position: top;
}

/* Hero Section Responsive */
@media (max-width: 992px) {
    .hero-section {
        padding: 60px 0;
    }
    .hero-text h1 {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
    }
    .hero-text {
        width: 100%;
        padding-right: 0;
        margin-bottom: 40px;
    }
    .hero-text h1 {
        font-size: 2.5rem;
    }
    .hero-image-area {
        width: 80%; /* Smaller width on tablets */
    }
    .hero-image {
        height: 300px;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 40px 0;
    }
    .hero-text h1 {
        font-size: 2rem;
    }
    .hero-image-area {
        width: 100%;
    }
    .hero-image {
        height: 250px;
    }
}

/* ---------------------------------------------------- */
/* Features Section */
/* ---------------------------------------------------- */
.features-section {
    padding: 60px 0;
}

.features-grid {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #b7b7b7;
}

.feature-item {
    display: flex;
    align-items: center;
    width: calc(33.333% - 20px);
}

.feature-icon {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-right: 15px;
}

.feature-text h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.feature-text p {
    font-size: 0.9rem;
    color: #777;
}

/* Features Section Responsive */
@media (max-width: 992px) {
    .features-grid {
        flex-wrap: wrap; /* Allow items to wrap */
        gap: 20px;
    }
    .feature-item {
        /* Two items per row on tablet landscape */
        width: calc(50% - 10px); 
    }
}

@media (max-width: 768px) {
    .features-grid {
        flex-direction: column; /* Stack vertically on small tablets/mobile */
        align-items: center;
    }
    .feature-item {
        width: 80%; /* Wider single column */
        max-width: 400px; /* Max size for readability */
        padding: 10px 0;
    }
}

/* ---------------------------------------------------- */
/* About Us Section */
/* ---------------------------------------------------- */
.about-us-section {
    padding: 80px 0;
}

.about-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.about-years {
    width: 40%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.years-box {
    background-color: var(--background-dark);
    color: var(--text-color-light);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    width: 300px;
    height: 350px;
    overflow: hidden;
}

.years-number {
    font-size: 7rem;
    font-weight: 800;
    color: var(--secondary-color);
    line-height: 1;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
}

.years-text {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    font-size: 1.2rem;
    font-weight: 500;
    z-index: 3;
    color: var(--text-color-light);
    white-space: nowrap;
}

.about-info {
    width: 55%;
}

.about-info .service-tag { /* Reusing existing class for subtitle style */
    color: var(--primary-color);
}

.about-info h2 span {
    color: var(--primary-color);
    
}
.about-info h2{
    font-size: 2rem;
    margin-bottom: 20px;
}

.about-info p {
    font-size: 1rem;
    color: #555;
    margin-bottom: 30px;
}

.stats-grid {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
}

.stat-item {
    text-align: center;
    width: 30%;
}

.stat-item .number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.stat-item .label {
    font-size: 0.9rem;
    color: #777;
}

.ceo-signature {
    border-top: 1px solid #b9b9b9;
    padding-top: 20px;
}

.ceo-signature .signature {
    font-family: cursive;
    font-size: 2rem;
    color: var(--text-color-dark);
    display: block;
    margin-bottom: 5px;
}

.ceo-signature .title {
    font-size: 0.9rem;
    color: #777;
}

/* About Us Section Responsive */
@media (max-width: 992px) {
    .about-us-section {
        padding: 60px 0;
    }
    .about-content {
        flex-direction: column;
    }
    .about-years {
        width: 100%;
        margin-bottom: 40px;
    }
    .about-info {
        width: 90%;
        text-align: center;
    }
    .stats-grid {
        justify-content: space-around;
        gap: 15px;
    }
    .stat-item {
        width: auto;
    }
    .ceo-signature {
        text-align: left; /* Keep signature centered if needed, but text left align works for context */
        margin: 0 auto;
        max-width: 400px;
    }
}

@media (max-width: 576px) {
    .about-us-section {
        padding: 40px 0;
    }
    .years-box {
        width: 250px;
        height: 300px;
        padding: 30px;
    }
    .years-number {
        font-size: 6rem;
    }
    .about-info {
        width: 100%;
    }
    .stats-grid {
        flex-wrap: wrap; /* Allow stats to wrap */
        justify-content: center;
    }
    .stat-item {
        width: 45%;
        margin-bottom: 20px;
    }
}


/* ---------------------------------------------------- */
/* Services Section */
/* ---------------------------------------------------- */
.services-section {
    background-color: var(--background-dark);
    padding: 80px 0;
    color: var(--text-color-light);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.section-header .title-group {
    max-width: 60%;
}

.section-header .subtitle {
    color: var(--secondary-color);
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.3;
}

.section-header h2 span {
    color: var(--primary-color);
}

.services-grid {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 60px;
}

.service-card {
    background: #ffffff;
    color: var(--text-color-dark);
    width: calc(33.333% - 20px);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.service-card-image {
    height: 200px;
    width: 100%;
    overflow: hidden;
    position: relative;
}

.service-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
    opacity: 0.8;
}

.service-card-image:hover img {
    transform: scale(1.05);
    opacity: 1;
}

.card-overlay-icon {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: var(--secondary-color);
    color: var(--text-color-dark);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
}

.service-card-content {
    padding: 20px;
}

.service-card-content h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.service-card-content p {
    font-size: 0.9rem;
    color: #777;
}

.category-tags {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 60px;
}

.category-tags .tag {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-color-light);
    display: flex;
    align-items: center;
    text-align: center;
}

.category-tags .tag span {
    color: var(--secondary-color);
    margin: 0 10px;
}

/* Services Section Responsive */
@media (max-width: 992px) {
    .services-section {
        padding: 60px 0;
    }
    .section-header {
        flex-direction: column;
        text-align: center;
    }
    .section-header .title-group {
        max-width: 100%;
        margin-bottom: 20px;
    }
    .section-header h2 {
        font-size: 2rem;
    }
    .services-grid {
        flex-wrap: wrap;
        justify-content: center;
    }
    .service-card {
        width: calc(50% - 15px); /* Two cards per row */
    }
    .category-tags {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
}

@media (max-width: 576px) {
    .services-section {
        padding: 40px 0;
    }
    .section-header h2 {
        font-size: 1.8rem;
    }
    .services-grid {
        gap: 20px;
    }
    .service-card {
        width: 100%; /* Single card per row */
        max-width: 400px; /* Optional max width */
    }
    .category-tags .tag {
        font-size: 0.9rem;
    }
}



.awards-section {
    padding: 80px 0;
    background-color: var(--section-bg-light);
    text-align: center;
}

.awards-section .section-heading h2 {
    font-size: 2.2rem;
    margin-bottom: 10px;
}

.awards-section .section-heading h2 span {
    color: var(--primary-color);
}

.awards-section .service-tag {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #95a5a6;
    margin-bottom: 5px;
}

.award-list {
    display: grid;
    /* Desktop: 4 Columns */
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.award-item {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    /* Enhanced initial shadow */
    box-shadow: 0 6px 15px var(--shadow-color);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Springy transition */
    cursor: pointer;
    text-align: left;
    border: 1px solid transparent; /* Prepare for border on hover */
}

/* IMPROVED HOVER EFFECT */
.award-item:hover {
    transform: translateY(-10px); /* Greater lift */
    /* Deep, noticeable shadow */
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color); /* Highlight with primary color */
}

.award-image {
    height: 180px;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.award-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures images cover the area without stretching */
    transition: transform 0.6s ease-in-out;
}

/* Image zoom on hover */
.award-item:hover .award-image img {
    transform: scale(1.1);
}

.award-info {
    padding: 20px 15px;
}

.award-info h4 {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-color-dark);
    margin-bottom: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.award-info p {
    font-size: 0.85rem;
    color: #7f8c8d;
    margin-bottom: 0;
}

/* --- Responsive Layout --- */

/* Tablets (992px and below) */
@media (max-width: 992px) {
    .award-list {
        /* 3 Columns */
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Small Tablets (768px and below) */
@media (max-width: 768px) {
    .award-list {
        /* 2 Columns */
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile Devices (576px and below) */
@media (max-width: 576px) {
    .awards-section {
        padding: 50px 0;
    }
    .award-list {
        /* 1 Column */
        grid-template-columns: 1fr;
    }
    .award-image {
        height: 220px;
    }
}





/* --- Lightbox/Modal Overlay Styles --- */

.image-overlay {
    /* Full screen fixed position */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Dark semi-transparent background */
    background-color: rgba(0, 0, 0, 0.9);
    /* Hidden by default */
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s, visibility 0.3s;
    z-index: 1000; /* Ensure it's above all other content */
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-overlay.active {
    visibility: visible;
    opacity: 1;
}

.overlay-content {
    position: relative;
    max-width: 90vw; /* Maximum width of the image area */
    max-height: 90vh; /* Maximum height of the image area */
    display: flex;
    flex-direction: column;
    align-items: center;
}

#overlay-image {
    max-width: 100%;
    max-height: 80vh; /* Allow space for caption */
    display: block;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
}

.overlay-controls {
    position: absolute;
    top: -40px; /* Position above the image */
    right: 0;
    display: flex;
    gap: 10px;
    z-index: 1001;
}

.control-btn {
    background: #fff;
    color: var(--primary-color, #3498db); /* Use a primary color or fallback */
    border: none;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1rem;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: background-color 0.2s, color 0.2s;
    text-decoration: none; /* For the download link */
}

.control-btn:hover {
    background-color: var(--primary-color, #3498db);
    color: #fff;
}

.overlay-caption {
    color: #fff;
    margin-top: 15px;
    font-size: 1.1rem;
    font-weight: 500;
    text-align: center;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .overlay-controls {
        top: 10px; 
        right: 10px;
        background: rgba(0, 0, 0, 0.5); /* Semi-transparent background for better visibility */
        padding: 5px;
        border-radius: 8px;
    }
}