
/* General Styling */
body {
    font-family: 'Arial', sans-serif;
    background-color: #f3f4f6;
    margin: 0;
    padding: 0;
}

/* Header Section */
header {
    background-image: url('images/header-bg.avif'); /* Background Image */
    background-size: cover;
    background-position: center;
    color: white;
    text-align: left;
    padding: 200px 50px;
    position: relative;
}

/* Dark Overlay */
header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
}

/* Header Content */
.header-content {
    position: relative;
    z-index: 1;
    max-width: 600px;
}

/* Sudha Murthy Name */
header h1 {
    font-size: 3.5rem;
    font-family: 'Playfair Display', serif;
    letter-spacing: 2px;
    font-weight: bold;
    margin-bottom: 10px;
    text-transform: uppercase;
    animation: fadeInLeft 1.5s ease-in-out;
}

/* Her Profession */
header p {
    font-size: 1.2rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
    margin-bottom: 20px;
    animation: fadeInLeft 1.5s ease-in-out;
}

/* Sudha Murthy's Quote */
header blockquote {
    font-size: 1.5rem;
    font-family: 'Dancing Script', cursive;
    font-style: italic;
    color: #ffe5b4;
    border-left: 5px solid #ffe5b4;
    padding-left: 15px;
    margin-top: 20px;
    animation: fadeInUp 1.5s ease-in-out;
}

/* Animation - Fade In Left */
@keyframes fadeInLeft {
    0% {
        transform: translateX(-50px);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Animation - Fade In Up */
@keyframes fadeInUp {
    0% {
        transform: translateY(50px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}


/* Navigation Bar */
nav {
    background-color: #6a045bb8;
    text-align: center;
    padding: 15px;
}
nav a {
    color: white;
    text-decoration: none;
    margin: 0 15px;
    transition: 0.3s;
}
nav a:hover {
    color: #ffeb3b;
}



/* Image Card Section */
.image-cards {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 50px 0;
    flex-wrap: wrap;
}

/* Individual Card */
.image-cards .card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.4s, box-shadow 0.4s;
    max-width: 300px;
}

/* Card Image */
.image-cards .card img {
    width: 100%;
    height: 250px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    object-fit: cover;
    transition: transform 0.5s;
}

/* Card Content */
.image-cards .card h3 {
    font-size: 1.5rem;
    margin: 15px 0 10px;
    text-align: center;
    color: #6a045bb8;
    font-family: 'Poppins', sans-serif;
}

/* Card Description */
.image-cards .card p {
    font-size: 1rem;
    color: #777;
    padding: 0 15px 20px;
    text-align: center;
}

/* Image Zoom Effect on Hover */
.image-cards .card:hover img {
    transform: scale(1.1);
    border-radius: 10px;
}

/* Card Hover Effect */
.image-cards .card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

/* Add a subtle glow effect on hover */
.image-cards .card:hover {
    border: 2px solid #ff6b6b;
}

/* Responsive Cards */
@media (max-width: 1000px) {
    .image-cards {
        flex-wrap: wrap;
    }

    .image-cards .card {
        width: 90%;
        margin-bottom: 20px;
    }
}

/* Image Carousel */
.carousel {
    width: 40%;
    height : 60%;
    margin: auto;
    background-color: #ae0779b1;
}
.swiper-slide img {
    width: 100%;
    height: 300px;
    
}

/* About Section Styling */
#about {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 80px 0;
}

/* Professional Card Design */
.about-card {
    background-color: #ffffff;
    border-radius: 15px;
    padding: 40px;
    max-width: 900px;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s, box-shadow 0.4s;
    animation: fadeIn 1.5s ease-in-out;
    border: 1px solid transparent;
}

/* Title */
.about-card h2 {
    font-size: 2rem;
    font-family: 'Poppins', sans-serif;
    color: #6a045bb8;
    text-align: center;
    margin-bottom: 20px;
}

/* Text Content */
.about-card p {
    font-size: 1.1rem;
    color: #444;
    line-height: 1.8;
    font-family: 'Roboto', sans-serif;
    text-align: justify;
}

/* Emphasize Strong Elements */
.about-card p strong {
    color: #6a045bb8;
}

/* Download Button */
.about-card .download-btn {
    background-color: #6a045bb8;
    color: white;
    text-decoration: none;
    padding: 12px 30px;
    border-radius: 5px;
    font-size: 1rem;
    display: block;
    text-align: center;
    margin-top: 20px;
    font-family: 'Poppins', sans-serif;
    transition: background-color 0.4s, transform 0.4s;
}

/* Button Hover Effect */
.about-card .download-btn:hover {
    background-color: #ff4b5c;
    transform: scale(1.05);
    box-shadow: 0 15px 30px rgba(255, 75, 92, 0.3);
}

/* Card Hover Effect */
.about-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
    border: 1px solid #ff4b5c;
}

/* Smooth Fade-in Effect */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .about-card {
        padding: 30px;
        max-width: 100%;
    }

    .about-card p {
        font-size: 1rem;
    }
}


/* Download Button */
.download-btn {
    background-color: #512da8;
    color: white;
    padding: 10px 25px;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    transition: 0.3s;
}
.download-btn:hover {
    background-color: #673ab7;
    transform: scale(1.05);
}

/* Cards Section */
.cards {
    display: flex;
    justify-content: center;
    gap: 20px;
}
.card {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: 0.3s;
}
.card:hover {
    transform: translateY(-10px);
}

/* Awards Section */
#awards ul {
    list-style-type: none;
}
#awards li {
    padding: 10px;
}

/* Footer */
footer {
    background-color: #6a045bb8;
    color: white;
    text-align: center;
    padding: 15px 0;
}


/* Work Section */
#work {
    text-align: center;
    padding: 50px 0;
    background-color: #f9f9f9;
}

/* Section Title */
#work h2 {
    font-size: 2.5rem;
    color: #6a045bb8;
    margin-bottom: 40px;
    font-family: 'Poppins', sans-serif;
}

/* Cards Container */
#work .cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    justify-content: center;
    padding: 0 50px;
}

/* Single Card */
#work .card {
    background-color: #ffffff;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s, box-shadow 0.4s;
    text-align: center;
    border: 1px solid transparent;
    animation: fadeIn 1.5s ease-in-out;
}

/* Card Icon */
#work .card i {
    font-size: 40px;
    color: #6a045bb8;
    margin-bottom: 15px;
    transition: color 0.3s;
}

/* Card Title */
#work .card h3 {
    font-size: 1.4rem;
    color: #6a045bb8;
    font-family: 'Roboto', sans-serif;
    margin-bottom: 10px;
}

/* Card Text */
#work .card p {
    font-size: 1rem;
    color: #444;
    font-family: 'Poppins', sans-serif;
}

/* Card Hover Effect */
#work .card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border: 1px solid #ff4b5c;
}

#work .card:hover i {
    color: #ff4b5c;
}

/* Responsive Design */
@media (max-width: 992px) {
    #work .cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    #work .cards {
        grid-template-columns: 1fr;
    }
}

/* Smooth Fade-in Effect */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Books Section */
#books {
    text-align: center;
    padding: 60px 0;
    background-color: #f9f9f9;
}

/* Section Title */
#books h2 {
    font-size: 2.5rem;
    color: #6a045bb8;
    margin-bottom: 40px;
    font-family: 'Poppins', sans-serif;
}

/* Books Container */
.books-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    padding: 0 50px;
}

/* Book Card */
.book-card {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s, box-shadow 0.4s;
    border: 1px solid transparent;
    animation: fadeIn 1.5s ease-in-out;
    cursor: pointer;
}

/* Book Image */
.book-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s;
}

/* Book Title */
.book-card h3 {
    font-size: 1.4rem;
    color: #6a045bb8;
    margin-top: 15px;
    font-family: 'Roboto', sans-serif;
}

/* Book Description */
.book-card p {
    font-size: 1rem;
    color: #444;
    font-family: 'Poppins', sans-serif;
    margin-top: 10px;
}

/* Zoom Effect on Hover */
.book-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border: 1px solid #ff4b5c;
}

/* Zoom Image Effect */
.book-card:hover img {
    transform: scale(1.05);
}

/* Responsive Design */
@media (max-width: 992px) {
    .books-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .books-container {
        grid-template-columns: 1fr;
    }
}

/* Smooth Fade-in Effect */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* Awards Section */
#awards {
    text-align: center;
    padding: 60px 0;
    background-color: #f9f9f9;
}

/* Section Title */
#awards h2 {
    font-size: 2.5rem;
    color: #6a045bb8;
    margin-bottom: 40px;
    font-family: 'Poppins', sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Awards Container */
.awards-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    padding: 0 50px;
    animation: fadeIn 1.5s ease-in-out;
}

/* Award Card */
.award-card {
    background-color: #fff;
    border: 2px solid #6a045bb8;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s, box-shadow 0.4s;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

/* Award Card Hover Effect */
.award-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 50px rgba(106, 4, 91, 0.3);
    border: 2px solid #ff4b5c;
}

/* Award Card Heading */
.award-card h3 {
    font-size: 1.5rem;
    color: #6a045bb8;
    margin-bottom: 10px;
    font-family: 'Roboto', sans-serif;
}

/* Award Card Description */
.award-card p {
    font-size: 1rem;
    color: #444;
    font-family: 'Poppins', sans-serif;
}

/* Glowing Border Effect */
.award-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 3px solid transparent;
    background-image: linear-gradient(45deg, #ff4b5d8d, #6a045ba0);
    border-radius: 10px;
    opacity: 0;
    transition: opacity 0.4s;
}

/* Glow Effect On Hover */
.award-card:hover::before {
    opacity: 1;
    z-index: -1;
    box-shadow: 0 0 40px rgba(255, 75, 92, 0.5);
}

/* Smooth Fade-in Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 992px) {
    .awards-container {
        grid-template-columns: 1fr;
    }
}



/* ========================
   Contact Section (Row-Based Layout)
=========================== */
#contact {
    text-align: center;
    padding: 60px 0;
    background-color: #f9f9f9;
    font-family: 'Poppins', sans-serif;
}

/* Section Title */
#contact h2 {
    font-size: 2.5rem;
    color: #6a045bb8;
    margin-bottom: 30px;
    text-transform: uppercase;
}

/* Contact Row (Horizontal Layout) */
.contact-row {
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
    gap: 20px;
    text-align: left;
    max-width: 1200px;
    margin: auto;
}

/* Individual Contact Item */
.contact-row div {
    flex: 1;
    min-width: 200px;
    max-width: 250px;
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

/* Hover Effect */
.contact-row div:hover {
    transform: translateY(-5px);
    background-color: #f4f4f4;
}

/* Contact Links */
.contact-row a {
    text-decoration: none;
    color: #6a045bb8;
    font-weight: bold;
    border-bottom: 2px solid transparent;
    transition: border-bottom 0.3s;
}

/* Link Hover Effect */
.contact-row a:hover {
    border-bottom: 2px solid #6a045bb8;
    color: #ff4b5c;
}

/* Responsive Design */
@media (max-width: 768px) {
    .contact-row {
        flex-direction: column;
        text-align: center;
    }
}
