*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body {
    background-color: #181C14;
}

.hero-section {
    position: relative;
    max-width: 100vw;
    height: 60vh;
    overflow: hidden;
}

.hero-section .hero-img {
    width: 100%;
    height: 100%;
}

.hero-section .hero-img img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures the image fills the container while maintaining aspect ratio */
    display: block;
}

.hero-section .hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 20;
    width: 80%;
}

.hero-img::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 10;
    height: 60vh;
    width: 100vw;
}

.hero-content h1, .hero-content p {
    color: #ffffff;;
    text-align: center;
    line-height: 1.2;
    text-shadow: 5px 5px 20px rgba(0, 0, 0, 1), -5px -5px 20px rgba(0, 0, 0, 1);
}

/* Background Color */
.images {
    background-color: #697565;
}

/* Ensure images are responsive */
.images img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

/* Section Background & Title */
.vision-mission {
    background-color: #3C3D37;
    padding: 50px 0;
}

.section-title {
    color: #FFD700;
    text-align: center;
    margin-bottom: 40px;
}

/* Flip Card Container */
.flip-card {
    background-color: transparent;
    width: 100%;
    height: 300px; /* Ensures uniform height */
    perspective: 1000px;
}

/* Flip Card Inner */
.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.6s;
}

/* Front & Back Sides */
.flip-card-front,
.flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    background: white;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    padding: 20px;
}

/* Front Styling */
.flip-card-front {
    background: #2A2B27;
    color: white;
}

.flip-card-front h5 {
    color: #FFD700;
}

/* Back Styling */
.flip-card-back {
    background: #f8f9fa;
    color: #333;
    transform: rotateY(180deg);
}

/* Flip Effect */
.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

/* Responsive Fix */
@media (max-width: 768px) {
    .flip-card {
        height: 350px;
    }
}

@media (max-width: 1040px) {
    .flip-card {
        height: 450px;
    }
}


.key-area-section .key-area {
    background-color: #181C14;
    color: #FFD700;
    text-align: center;
}

/* Card Container */
.half-card {
    background-color: #2A2B27;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
}

/* Flexbox Layout */
.half-card-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 100%;
}

/* Left Side - Theory Content */
.half-card-left {
    width: 50%;
    padding: 20px;
    color: #ffffff;
}

.half-card-left h2 {
    color: #FFD700;
    margin-bottom: 10px;
}

/* Right Side - Image */
.half-card-right {
    width: 50%;
    overflow: hidden;
}

.half-card-right img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures proper image scaling */
}

/* Responsive: Stack on small screens */
@media (max-width: 768px) {
    .half-card-content {
        flex-direction: column;
    }

    .half-card-left, .half-card-right {
        width: 100%;
        text-align: center;
    }
}


