/* General Setup */
body {
    margin: 0;
    font-family: sans-serif; /* Use your desired font */
    color: #333;
    background-color: #f8f8f8;
}

/* --- 1. Header/Navigation (Flexbox) --- */
.header {
    display: flex;
    justify-content: space-between; /* Pushes logo, nav, and actions to the ends */
    align-items: center;
    padding: 15px 5%; /* Adjust padding as needed */
    background-color: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.5em;
    font-weight: bold;
    color: #e5395f; /* Doctio red/pink */
}

.main-nav ul {
    display: flex; /* Makes the navigation links horizontal */
    list-style: none;
    padding: 0;
    margin: 0;
}

.main-nav li {
    margin: 0 15px;
}

.main-nav a {
    text-decoration: none;
    color: #555;
    padding-bottom: 5px;
    transition: color 0.3s;
}

.main-nav a.active, .main-nav a:hover {
    color: #e5395f;
    border-bottom: 2px solid #e5395f;
}

.header-actions {
    display: flex;
    align-items: center;
}

.contact-btn {
    background-color: #e5395f;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    margin-left: 20px;
    transition: background-color 0.3s ease;
}

/* --- 2. Hero Section (Flexbox) --- */
.hero-section {
    display: flex;
    align-items: stretch; /* Stretches children to fill height */
    min-height: 80vh; /* Takes up most of the viewport height */
    background-color: #e6f0f5; /* Light blue/grey background */
    position: relative;
    overflow: hidden; /* Important for containing the image */
}

.hero-content {
    flex: 1.5; /* Takes up more space for the text */
    padding: 50px 0 50px 5%;
    display: flex;
    flex-direction: column;
    justify-content: center; /* Vertically centers the content */
    position: relative;
}

.hero-content h1 {
    font-size: 4em;
    line-height: 1.1;
    color: #2c3e50;
    font-weight: 700;
    margin: 10px 0 20px 0;
}

.greeting, .experience {
    font-size: 1.2em;
    margin: 5px 0;
}

.cta-buttons {
    display: flex;
    align-items: center;
    margin-top: 30px;
}

.primary-btn {
    background-color: #e5395f;
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 1.1em;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.play-btn {
    background-color: #5cb85c; /* Example green color */
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5em;
    margin-left: 20px;
    cursor: pointer;
    transition: transform 0.3s;
}

.hero-image-container {
    flex: 1; /* Takes up the remaining space for the image */
    position: relative;
    overflow: hidden;
}

.doctor-image {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures the image covers the container */
    position: absolute;
    top: 0;
    right: 0;
}

/* Navigation arrows (positioning) */
.nav-arrows {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #e5395f;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5em;
    cursor: pointer;
}

.left-arrow {
    left: -20px; 
}

.right-arrow {
    right: 20px; 
}


/* --- 3. 3D Animation (Example) --- */

/* Set up the 3D space */
.play-btn {
	
    /* Important for 3D perspective to work on the child element */
    transform-style: preserve-3d;
    transition: transform 0.5s ease-out;
}

/* 3D Rotate on Hover */
.play-btn:hover {
    /* Rotates the button slightly on the X and Y axis, creating a 3D effect */
    transform: rotateX(10deg) rotateY(10deg) scale(1.1);
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.3); /* Adds depth with a shadow */
}

/* A subtle 3D hover on the main Contact Us button */
.contact-btn {
    transform-style: preserve-3d;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.contact-btn:hover {
    /* TranslateZ moves it slightly closer to the viewer */
    transform: translateZ(10px) scale(1.05);
    box-shadow: 0 5px 15px rgba(229, 57, 95, 0.4);
}
/* General Section Styling */
.services-section {
    padding: 80px 5%;
    text-align: center;
    background-color: white;
    position: relative;
}

.section-header {
    margin-bottom: 50px;
}

.subtitle {
    color: #e5395f; /* Pink/Red color */
    font-size: 1.1em;
    font-weight: 600;
    margin-bottom: 5px;
}

.section-header h2 {
    font-size: 2.5em;
    color: #2c3e50;
    margin: 0;
}

.underline {
    width: 50px;
    height: 3px;
    background-color: #5cb85c; /* Green color example */
    margin: 10px auto 0;
}

/* --- Flexbox for the Card Layout --- */
.services-container {
    display: flex;
    justify-content: space-between; /* Spaces the cards evenly */
    gap: 30px; /* Space between the cards */
    max-width: 1200px;
    margin: 0 auto;
    perspective: 1000px; /* Establish 3D space for the container */
}

/* Service Card Styling */
.service-card {
    flex: 1; /* Each card takes equal space */
    min-width: 300px;
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);

    /* --- 3D Animation Setup --- */
    transition: transform 0.5s ease-out, box-shadow 0.5s ease-out;
    transform-style: preserve-3d; /* Allows child elements to be positioned in 3D */
    transform: translateZ(0); /* Fixes some rendering issues */
}

.image-wrapper {
    /* Ensures the image area covers the top part */
    height: 250px;
    overflow: hidden;
    position: relative;
}

.service-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.card-content h3 {
    font-size: 1.5em;
    color: #2c3e50;
    margin: 0 0 5px 0;
}

.card-content p {
    color: #777;
    margin: 0;
}

/* --- 3D Animation Implementation (Lift Effect) --- */
.service-card:hover {
    /* TranslateZ: Moves the card 30px closer to the viewer */
    /* translateY: Lifts the card up 10px */
    transform: translateZ(30px) translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2); /* Deeper shadow for "floating" effect */
}

.service-card:hover img {
    /* A subtle scale to add to the visual pull */
    transform: scale(1.05);
}

/* Scroll-to-top Button Styling (optional) */
.scroll-to-top {
    position: absolute;
    bottom: 20px;
    right: 5%;
    background-color: #e5395f;
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.5em;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}
/* --- About Section Structure (Flexbox) --- */
.about-doctio-section {
    padding: 80px 5%;
    background-color: white;
}

.about-container {
    display: flex;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center; /* Vertically center content */
}

.about-images-col {
    flex: 1; /* Takes up one part of the width */
    position: relative;
    /* Use for image positioning relative to this column */
    min-height: 500px;
}

.about-content-col {
    flex: 1.2; /* Takes up slightly more space for the text */
    text-align: left;
}

/* --- Text & Content Styling --- */
.subtitle {
    color: #e5395f; /* Pink/Red */
    font-weight: 600;
    margin-bottom: 5px;
}

.about-content-col h2 {
    font-size: 2.8em;
    color: #2c3e50;
    line-height: 1.2;
    margin-top: 0;
}

.underline {
    width: 80px;
    height: 3px;
    background-color: #5cb85c;
    margin-bottom: 20px;
}

.description {
    line-height: 1.7;
    color: #666;
}

.description a {
    color: #e5395f;
    text-decoration: none;
    font-weight: 600;
}

/* --- Actions and Phone Number --- */
.about-actions {
    display: flex;
    align-items: center;
    margin: 30px 0;
}

.click-here-btn {
    background-color: #e5395f;
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.1em;
    margin-right: 30px;
}

.phone-number {
    font-size: 1.5em;
    font-weight: bold;
    color: #2c3e50;
    display: flex;
    align-items: center;
}
.phone-number .icon {
    margin-right: 10px;
    color: #e5395f;
}

/* --- Icon Grid (Flexbox) --- */
.service-icons-grid {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    max-width: 500px; /* Constrain the width */
}

.icon-item {
    text-align: center;
}

.icon-item .icon {
    font-size: 2em;
    color: #e5395f;
    display: block;
    margin-bottom: 5px;
}

.icon-item p {
    font-size: 0.9em;
    margin: 0;
    color: #555;
}

/* --- Image Positioning (Complex Absolute/Relative) --- */

/* Note: Achieving the exact overlapping collage requires careful absolute positioning, 
   which is demonstrated below. You'll need to adjust 'top', 'left', 'width', etc., based on your images. */

.about-images-col {
    /* Define the 3D space for the content within the column */
    perspective: 1000px;
}

.circular-text-container {
    position: absolute;
    top: -50px;
    left: -50px;
    width: 150px;
    height: 150px;
    border: 1px solid #ddd;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.circular-text {
    /* Requires advanced CSS/SVG/JS for actual circular text path, 
       this is a structural placeholder. */
    font-size: 0.8em;
    color: #e5395f;
}

.img-left-bottom {
    position: absolute;
    top: 50px;
    left: 0;
    width: 45%;
    height: auto;
    z-index: 10;
    border-radius: 10px;
}
.img-right-top {
    position: absolute;
    top: 0;
    right: 0;
    width: 55%;
    height: auto;
    z-index: 5;
    border-radius: 10px;
}
.img-full-bottom {
    position: absolute;
    bottom: 0;
    left: 20%;
    width: 70%;
    height: auto;
    z-index: 15;
    border-radius: 10px;
}


/* --- 3D Animation: Perspective Tilt on Button --- */

.click-here-btn {
    /* Enable 3D transitions */
    transform-style: preserve-3d;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.click-here-btn:hover {
    /* Moves the button forward (Z-axis) and tilts it slightly on the X and Y axis */
    transform: translateZ(15px) rotateX(5deg) rotateY(5deg) scale(1.05);
    /* Enhances the 3D feel with a strong shadow */
    box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.4);
    background-color: #f15276; /* Slight color change */
}
:root {
    --accent-color: #e5677c; /* Red accent */
    --heading-color: #3d4a65;
    --text-color: #666;
    --card-width: 280px;
    --figure-overlap: 150px; /* Controls how much the cards overlap the center */
}

body {
    background-color: #f4f7fa;
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 50px 0;
    overflow-x: hidden; /* Prevents horizontal scrollbar from slight layout shifts */
}

/* --- 1. Header Styling --- */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header .sub-title {
    color: var(--accent-color);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9em;
}

.section-header h2 {
    font-size: 2.5em;
    color: var(--heading-color);
    margin: 5px 0 10px 0;
}

.section-header .underline {
    width: 60px;
    height: 3px;
    background-color: #88c99f; /* Light green line shown in image */
    margin: 0 auto;
}

/* --- 2. Main Grid Layout (Flexbox & Positioning) --- */

.service-grid {
    position: relative; 
    /* Set context for the doctor figure's absolute positioning */
    display: flex;
    flex-wrap: wrap; 
    justify-content: center; /* Centers the whole card group */
    width: 1200px;
    max-width: 90%;
    margin: 0 auto;
    /* Add space above and below for the cards to occupy the full area */
    padding: var(--figure-overlap) 0; 
}

/* 3. Central Doctor Image (Absolute Positioning) */
.doctor-figure {
    position: absolute;
    /* Centers the figure perfectly in the middle of the .service-grid area */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); 
    z-index: 10; /* Ensure it is layered above the cards */
    width: 380px; /* Adjust size to match the visible image scale */
    height: auto;
}

.doctor-figure img {
    display: block;
    width: 100%;
    height: auto;
}

/* 4. Service Card Styling and Positioning */

.service-card {
    /* Set the width and height based on the image proportion */
    width: var(--card-width); 
    height: 250px; /* Fixed height helps align the rows */
    background-color: white;
    padding: 30px 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin: 0 20px; /* Spacing between cards in the row */
    z-index: 5; 
    text-align: center; /* Looks like text is centered in the image */
    
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Apply negative margins to pull the rows together, creating the overlap */
.service-card:nth-child(1), .service-card:nth-child(2) {
    /* Top row pulls down */
    margin-bottom: calc( -1 * var(--figure-overlap)); 
}

.service-card:nth-child(4), .service-card:nth-child(5) {
    /* Bottom row pulls up */
    margin-top: calc( -1 * var(--figure-overlap)); 
}

/* Card Content Details */
.service-card i {
    font-size: 3em;
    color: var(--accent-color);
    margin-bottom: 15px;
}

.service-card h3 {
    color: var(--heading-color);
    font-size: 1.25em;
    margin: 5px 0 10px 0;
}

.service-card p {
    color: var(--text-color);
    font-size: 0.9em;
    line-height: 1.4;
    margin-bottom: 15px;
}

.service-card a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9em;
}

/* Subtle 3D-like Hover Effect */
.service-card:hover {
    transform: translateY(-5px); /* Lift */
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}:root {
    --primary-blue: #3d4a65;
    --accent-red: #e5677c;
    --green-btn: #88c99f;
    --text-light: #666;
}

body {
    background-color: #f4f7fa;
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 80px 0;
}

/* --- 1. Section Header Styling (Flexbox Centering) --- */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header .sub-title {
    color: var(--accent-red);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9em;
}

.section-header h2 {
    font-size: 2.5em;
    color: var(--primary-blue);
    margin: 5px 0 10px 0;
}

.section-header .underline {
    width: 60px;
    height: 3px;
    background-color: var(--green-btn);
    margin: 0 auto;
}

/* --- 2. Doctors Carousel Container --- */
.doctors-carousel {
    display: flex;
    align-items: center; /* Vertically centers arrows with the grid */
    justify-content: center;
    width: 100%;
    max-width: 1300px; /* Max width to contain the entire carousel */
    margin: 0 auto;
    padding: 0 50px; /* Padding for arrows to not touch edge */
    position: relative; /* For arrow positioning if needed */
}

/* --- 3. Doctors Grid (Flexbox for Cards) --- */
.doctors-grid {
    display: flex;
    justify-content: center;
    gap: 30px; /* Space between doctor cards */
    flex-wrap: wrap; /* Allows cards to wrap on smaller screens */
}

/* --- 4. Doctor Card Styling --- */
.doctor-card {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    width: 320px; /* Fixed width for cards */
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.doctor-card:hover {
    transform: translateY(-8px); /* Lift effect on hover */
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.doctor-image-container {
    position: relative;
    width: 100%;
    height: 350px; /* Fixed height for image area */
    overflow: hidden;
}

.doctor-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures image covers the area without distortion */
    display: block;
}

/* --- Explore More Overlay --- */
.explore-overlay {
    position: absolute;
    bottom: 20px; /* Position from bottom of image */
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--green-btn);
    border-radius: 50px; /* Pill shape */
    padding: 8px 25px;
    opacity: 0; /* Hidden by default */
    transition: opacity 0.3s ease;
    z-index: 2; /* Ensures it's above the image */
}

.doctor-image-container:hover .explore-overlay {
    opacity: 1; /* Visible on hover */
}

.explore-btn {
    color: white;
    text-decoration: none;
    font-size: 0.9em;
    font-weight: bold;
    white-space: nowrap; /* Prevents text wrap */
}

.doctor-info {
    padding: 20px 15px;
}

.doctor-info h3 {
    color: var(--primary-blue);
    font-size: 1.4em;
    margin: 0 0 5px 0;
}

.doctor-info p {
    color: var(--text-light);
    font-size: 0.95em;
    margin: 0;
}

/* --- Carousel Arrows Styling --- */
.carousel-arrow {
    background-color: var(--accent-red);
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5em;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease;
    flex-shrink: 0; /* Prevent arrows from shrinking */
}

.carousel-arrow:hover {
    background-color: #d14a5d; /* Darker red on hover */
}

.prev-arrow {
    margin-right: 30px; /* Space between arrow and cards */
}

.next-arrow {
    margin-left: 30px; /* Space between arrow and cards */
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .doctors-carousel {
        padding: 0 20px;
    }
    .prev-arrow { margin-right: 15px; }
    .next-arrow { margin-left: 15px; }
}

@media (max-width: 768px) {
    .doctors-carousel {
        flex-direction: column; /* Stack arrows and grid vertically */
        padding: 0;
    }
    .prev-arrow, .next-arrow {
        margin: 20px 0; /* Vertical spacing for arrows */
        order: -1; /* Place arrows above the cards when stacked */
    }
    .next-arrow { order: 1; } /* Next arrow below cards */
    .doctors-grid {
        gap: 20px;
    }
    .doctor-card {
        width: 90%; /* Make cards take more width on smaller screens */
        max-width: 320px; /* But don't exceed max card width */
    }
}
:root {
    --dark-bg: #1e2a3a;
    --red-accent: #e5677c;
    --green-form-bg: #88c99f;
    --white: #fff;
}

/* Base Styles */
.statistics-section {
    background-color: var(--dark-bg);
    color: var(--white);
    padding: 0 0 100px 0; /* Padding for the bottom section */
    font-family: Arial, sans-serif;
}

/* Announcement Bar */
.announcement-bar {
    background-color: var(--red-accent);
    color: var(--white);
    text-align: center;
    padding: 15px;
    font-size: 1em;
}

.announcement-bar strong {
    font-weight: 700;
}

/* --- 1. Main Flex Container --- */
.main-content-row {
    display: flex;
    justify-content: space-between;
    align-items: center; /* Vertically align items */
    max-width: 1200px;
    margin: 50px auto 0 auto;
    padding: 0 20px;
}

/* --- 2. Statistics Grid (Flexbox) --- */
.statistics-grid {
    display: flex;
    flex-wrap: wrap;
    width: 50%; /* Takes up half the row */
    padding: 20px;
    gap: 40px;
}

.statistic-item {
    width: calc(50% - 20px); /* Two columns */
    text-align: left;
    padding-left: 20px;
}

.statistic-item i {
    font-size: 2.5em;
    color: var(--green-form-bg);
    margin-bottom: 10px;
}

.statistic-item .number {
    display: block;
    font-size: 2.5em;
    font-weight: bold;
    color: var(--white);
    line-height: 1;
    margin-bottom: 5px;
}

.statistic-item p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9em;
    margin: 0;
}

/* --- 3. Appointment Form (3D Animation) --- */
.appointment-container {
    /* Set the 3D scene (perspective) for the form */
    perspective: 1500px; 
    width: 40%; 
    height: 500px; /* Set a fixed height for a clean 3D effect */
    display: flex;
    justify-content: flex-end; /* Align form to the right */
    
}

.appointment-form {
    position: relative;
    width: 400px; /* Fixed width for the form block */
    background-color: var(--green-form-bg);
    padding: 40px;
    border-radius: 10px;
    
    /* Key 3D properties */
    transform-style: preserve-3d;
    transition: transform 0.8s cubic-bezier(0.25, 0.1, 0.25, 1), box-shadow 0.8s;
    transform: rotateY(-10deg) translateZ(0); /* Initial subtle tilt */
    
    box-shadow: 10px 10px 30px rgba(0, 0, 0, 0.3);
    z-index: 20; /* Ensure form is above background elements */
}

/* 3D Hover Effect */
.appointment-container:hover .appointment-form {
    /* Straightens the tilt and moves it forward (lift) */
    transform: rotateY(0deg) translateZ(50px); 
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

/* Form Headings */
.appointment-form h4 {
    color: var(--white);
    font-size: 1.2em;
    margin: 0;
    opacity: 0.8;
}

.appointment-form h2 {
    color: var(--white);
    font-size: 2em;
    margin: 5px 0 30px 0;
    font-weight: bold;
}

/* Form Inputs */
.form-group {
    margin-bottom: 20px;
}

.appointment-form select, 
.appointment-form input[type="date"] {
    width: 100%;
    padding: 12px;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.5); /* Separator line */
    background-color: transparent;
    color: var(--white);
    font-size: 1em;
    outline: none;
    /* Apply a slight 3D translation to inputs for depth */
    transform: translateZ(10px); 
    transition: transform 0.3s;
}

.appointment-form select::placeholder,
.appointment-form input::placeholder {
    color: rgba(255, 255, 255, 0.8);
}

.submit-btn {
    width: 100%;
    padding: 15px;
    background-color: var(--dark-bg);
    color: var(--green-form-bg);
    border: 1px solid var(--green-form-bg);
    border-radius: 50px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 30px;
    /* Apply a larger 3D translation to the button to make it pop */
    transform: translateZ(20px); 
    transition: transform 0.3s, background-color 0.3s;
}

.submit-btn:hover {
    background-color: #3b4e63;
    transform: translateZ(25px);
}

/* Background Overlay (For the subtle doctor graphic) */
.form-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* You would use a background image here to place the semi-transparent doctor figure */
    /* Example: background-image: url('doctor-bg.png'); */
    opacity: 0.2; 
    z-index: 1;
}

/* Media Queries for Responsiveness */
@media (max-width: 992px) {
    .main-content-row {
        flex-direction: column; /* Stack vertically */
    }
    .statistics-grid {
        width: 100%;
        margin-bottom: 50px;
    }
    .appointment-container {
        width: 100%;
        height: auto;
        justify-content: center;
    }
    .appointment-form {
        width: 90%;
        max-width: 400px;
        /* Reset 3D transform for better mobile view */
        transform: none; 
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    }
    .appointment-container:hover .appointment-form {
        transform: none;
    }
}:root {
    --primary-blue: #3d4a65;
    --accent-red: #e5677c;
    --text-light: #666;
    --quote-color: #3b5998; /* Darker color for quotes */
}

/* Base Styles for Section */
.feedback-section {
    background-color: #fff;
    font-family: Arial, sans-serif;
    padding: 80px 0 100px 0;
    overflow: hidden; /* Important to hide potential overflow from 3D transforms */
}

/* --- 1. Header Styling --- */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header .sub-title {
    color: var(--accent-red);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9em;
}

.section-header h2 {
    font-size: 2.5em;
    color: var(--primary-blue);
    margin: 5px 0 10px 0;
}

.section-header .underline {
    width: 60px;
    height: 3px;
    background-color: var(--accent-red);
    margin: 0 auto;
}

/* --- 2. Carousel Container --- */
.feedback-carousel {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    
    /* Set 3D perspective for the cards within this carousel */
    perspective: 1200px; 
}

/* --- 3. Testimonial Grid (Flexbox) --- */
.testimonial-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    width: 100%;
    margin-bottom: 30px;
}

/* --- 4. Testimonial Card (with 3D Animation) --- */
.testimonial-card {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    width: 45%; /* Takes up just under half of the grid width */
    max-width: 500px;
    position: relative;
    
    /* Key 3D properties */
    transform-style: preserve-3d;
    transition: transform 0.6s ease, box-shadow 0.6s ease;
}

/* 3D Hover Effect: Subtle Y-axis rotation and lift */
.testimonial-card:hover {
    transform: rotateY(5deg) translateZ(20px); 
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.review-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.reviewer-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 20px;
}

.reviewer-details {
    display: flex;
    align-items: center;
}

.logo-icon {
    font-size: 1.5em;
    color: var(--accent-red);
    margin-right: 5px;
}

.logo-name {
    font-weight: bold;
    color: var(--quote-color);
    font-size: 1.1em;
}

.review-body {
    padding: 0 0 20px 0;
    border-bottom: 1px solid #eee;
}

.quote {
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
    font-style: italic;
    font-size: 0.95em;
}

.review-footer {
    position: relative;
    padding-top: 20px;
}

.quote-icon {
    position: absolute;
    top: 10px;
    left: 0;
    font-size: 2.5em;
    color: #eee;
    z-index: 0;
}

.reviewer-name {
    color: var(--primary-blue);
    font-size: 1.1em;
    font-weight: bold;
    margin: 0 0 2px 0;
    position: relative;
    z-index: 1;
}

.reviewer-title {
    color: var(--text-light);
    font-size: 0.85em;
    margin: 0;
    position: relative;
    z-index: 1;
}

/* --- 5. Navigation Arrows and Dots --- */

.carousel-nav {
    display: flex;
    justify-content: center;
}

.arrow {
    background-color: var(--accent-red);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    margin: 0 5px;
    cursor: pointer;
    font-size: 1.2em;
    transition: background-color 0.3s ease;
}

.arrows {
    position: absolute;
    top: -200px; /* Adjust based on exact position in image */
    right: 0;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 10px;
    height: 10px;
    background-color: #ccc;
    border-radius: 50%;
    margin: 0 5px;
    transition: background-color 0.3s;
}

.dot.active {
    background-color: var(--accent-red);
}:root {
    --primary-red: #e5677c;
    --secondary-green: #88c99f;
    --dark-bg: #1e2a3a;
    --white: #fff;
}

/* --- 1. Hero Banner Container --- */
.hero-banner {
    /* Use the uploaded image as the background */
    background-image: url('image_38b421.jpg');
    background-size: cover;
    background-position: center center;
    position: relative;
    height: 500px; /* Adjust height as needed */
    display: flex;
    align-items: center; /* Vertically center content */
    justify-content: flex-start; /* Align content to the left side */
    color: var(--white);
    overflow: hidden; /* Important for 3D perspective */
}

/* Dark Overlay for Readability */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Use a dark, semi-transparent color to deepen the background */
    background-color: rgba(0, 0, 0, 0.4); 
    z-index: 1;
}

/* --- 2. Banner Content (Flexbox Alignment) --- */
.banner-content {
    position: relative;
    z-index: 2;
    max-width: 500px;
    padding-left: 100px; /* Indentation on the left side */
}

.sub-title {
    color: var(--secondary-green);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9em;
    display: block;
    margin-bottom: 5px;
}

.banner-content h1 {
    font-size: 3em;
    line-height: 1.2;
    margin: 0 0 15px 0;
    font-weight: 800;
}

.banner-content p {
    font-size: 1em;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
}

/* --- 3. CTA Buttons (Flexbox Alignment & 3D Animation) --- */
.cta-buttons {
    display: flex;
    gap: 15px;
    
    /* Set 3D perspective for the buttons container */
    perspective: 1000px; 
}

.btn {
    display: inline-flex;
    align-items: center;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    letter-spacing: 0.5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    
    /* Key 3D properties for smooth animation */
    transform-style: preserve-3d; 
    transition: all 0.2s ease-out;
}

/* Primary (Red) Button Style */
.btn-primary {
    background-color: var(--primary-red);
    color: var(--white);
}

/* Secondary (Green) Button Style */
.btn-secondary {
    background-color: var(--secondary-green);
    color: var(--white);
}

/* 3D Hover/Active Effect: Pushes the button "into" the screen */
.btn:hover {
    transform: translateZ(5px); /* Lift slightly on hover */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.btn:active {
    /* Pushes the button deeper into the screen */
    transform: translateZ(-10px); 
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.btn-secondary i {
    margin-left: 8px;
}

/* --- 4. Play Button Circle --- */
.play-button-container {
    position: absolute;
    /* Position relative to the banner itself (or content row for more precise placement) */
    right: 35%; /* Adjust to sit beside the content */
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
}

.play-btn {
    background-color: var(--primary-red);
    border: 3px solid rgba(255, 255, 255, 0.5); /* Outer glow ring */
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.3s ease;
    
    /* Make the arrow smaller and centered */
    font-size: 1.2em;
    color: var(--white);
}

.play-btn i {
    /* Slight shift for visual center correction on the play triangle */
    transform: translateX(2px); 
}

.play-btn:hover {
    /* Subtle 3D scale on hover */
    transform: scale(1.1); 
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
}:root {
    --primary-blue: #3d4a65;
    --accent-red: #e5677c;
    --secondary-green: #88c99f;
    --text-light: #666;
}

.blog-section {
    background-color: #e0e0e0;
    font-family: Arial, sans-serif;
    padding: 80px 0 100px 0;
    perspective: 1200px; 
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header .sub-title {
    color: var(--accent-red);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9em;
}

.section-header h2 {
    font-size: 2.5em;
    color: var(--primary-blue);
    margin: 5px 0 10px 0;
}

.section-header .underline {
    width: 60px;
    height: 3px;
    background-color: var(--secondary-green);
    margin: 0 auto;
}

/* --- Blog Grid (Flexbox Container) --- */
.blog-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Blog Card Styling (With 3D Animation) --- */
.blog-card {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    width: calc(33.333% - 20px); /* Three columns with spacing */
    min-width: 300px;
    
    /* Key 3D properties */
    transform-style: preserve-3d;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

/* 3D Hover Effect: Lift and subtle rotation */
.blog-card:hover {
    /* Lift 15px off the screen and rotate slightly on the Y-axis */
    transform: translateZ(15px) translateY(-5px) rotateY(1deg); 
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.blog-image-container {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.blog-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    /* Subtle image scale on card hover for deeper visual effect */
    transition: transform 0.4s ease;
}

.blog-card:hover .blog-image-container img {
    transform: scale(1.05);
}

.blog-category {
    position: absolute;
    bottom: 0;
    left: 0;
    background-color: var(--accent-red);
    color: white;
    padding: 5px 15px;
    font-size: 0.8em;
    font-weight: bold;
    border-top-right-radius: 10px;
}

.blog-info {
    padding: 20px;
}

.blog-meta {
    display: block;
    color: var(--text-light);
    font-size: 0.85em;
    margin-bottom: 10px;
}

.blog-meta i {
    color: var(--accent-red);
    margin-right: 5px;
}

.blog-info h3 {
    color: var(--primary-blue);
    font-size: 1.25em;
    line-height: 1.4;
    margin: 0 0 15px 0;
}

.read-more {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9em;
    transition: color 0.3s;
}

.read-more:hover {
    color: var(--accent-red);
}

.read-more i {
    margin-left: 5px;
    transition: margin-left 0.3s;
}

.read-more:hover i {
    margin-left: 10px;
}:root {
    --dark-footer: #1e2a3a;
    --text-white: #fff;
    --text-muted: rgba(255, 255, 255, 0.7);
    --accent-red: #e5677c;
}

/* --- 1. Main Footer Container --- */
.main-footer {
    background-color: var(--dark-footer);
    color: var(--text-muted);
    padding: 80px 0 0 0;
    font-family: Arial, sans-serif;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- 2. Footer Columns (Flexbox) --- */
.footer-main {
    display: flex;
    flex-wrap: wrap; /* Allows columns to stack on small screens */
    justify-content: space-between;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-col {
    width: 23%; /* Distribute space evenly among 4 columns */
    min-width: 250px; /* Minimum width before wrapping */
    margin-bottom: 30px;
}

.footer-col h3 {
    color: var(--text-white);
    font-size: 1.3em;
    margin-bottom: 25px;
    position: relative;
}

/* Underline for headings */
.footer-col h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 40px;
    height: 3px;
    background-color: var(--accent-red);
}

/* --- Column 1: About/Logo --- */
.footer-logo .logo-text {
    font-size: 2em;
    font-weight: bold;
    color: var(--text-white);
    display: block;
    margin-bottom: 20px;
}

.col-about p {
    line-height: 1.6;
    margin-bottom: 25px;
}

.social-links a {
    color: var(--text-white);
    font-size: 1.1em;
    margin-right: 10px;
    width: 30px;
    height: 30px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    transition: background-color 0.3s;
}

.social-links a:hover {
    background-color: var(--accent-red);
}

/* --- Column 2: Quick Links --- */
.col-links ul {
    list-style: none;
    padding: 0;
}

.col-links li {
    margin-bottom: 10px;
}

.col-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s;
}

.col-links a:hover {
    color: var(--accent-red);
    padding-left: 5px; /* Subtle hover animation */
}

/* --- Column 3: Contact Info --- */
.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.contact-item i {
    color: var(--accent-red);
    margin-right: 15px;
    font-size: 1.2em;
    padding-top: 2px;
}

.contact-item p {
    margin: 0;
    line-height: 1.6;
}

/* --- Column 4: Newsletter --- */
.newsletter-form {
    display: flex;
    margin-top: 15px;
    position: relative;
}

.newsletter-form input {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background-color: transparent;
    color: var(--text-white);
    border-radius: 5px;
    outline: none;
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.newsletter-form button {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: var(--accent-red);
    font-size: 1.2em;
    cursor: pointer;
    padding: 5px;
}

/* --- 3. Copyright Bar --- */
.footer-copyright {
    text-align: center;
    padding: 20px 0;
    font-size: 0.9em;
}

.footer-copyright p {
    margin: 0;
}

@media (max-width: 768px) {
    .footer-col {
        width: 48%; 
    }
    .col-about, .col-newsletter {
        min-width: 100%;
    }
    .col-about {
        order: -1; 
    }
    .col-links, .col-contact {
        order: 0;
    }
}