/* Mary Angels Montessori School - Home Page CSS */

/* Hero Section */
.hero {
    background: linear-gradient(180deg, rgba(0, 0, 128, 1), rgba(255, 98, 0, 0.9)), url('../images/pattern-bg.png');
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.1' fill-rule='evenodd'/%3E%3C/svg%3E");
    background-size: contain;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}

.hero-content {
    text-align: left;
}

.hero h1 {
    font-size: 2.8rem;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero p {
    color: #fff;
    font-size: 1.3rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.primary-btn {
    background: linear-gradient(90deg, #FF7A7A, #FF9E54);
    color: white;
    border: none;
    padding: 0.8rem 2rem;
    font-weight: 700;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 122, 122, 0.3);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.primary-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 122, 122, 0.4);
    color: white;
}

.secondary-btn {
    background: rgb(255, 255, 255);
    color: #4A97D9;
    border: 2px solid rgba(0, 0, 128, 1);
    padding: 0.75rem 2rem;
    font-weight: 700;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.secondary-btn:hover {
    background: rgba(0, 0, 128, 1);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(74, 151, 217, 0.3);
}

.hero-image {
    position: relative;
}

.hero-image img {
    width: 100%;
    height: 400px;
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    transition: all 0.5s ease;
    border: 2px solid white;
    transform: rotate(2deg);
    object-fit: cover;
}
@media (max-width: 768px) {
    .hero-image img {
        height: 250px;
        width: 300px;
    }
}

.hero-image::before {
    content: "";
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.1' fill-rule='evenodd'/%3E%3C/svg%3E");
    background-size: contain;
    animation: float 4s ease-in-out infinite;
}

.hero-image::after {
    content: "";
    position: absolute;
    bottom: -10px;
    right: -10px;
    width: 60px;
    height: 60px;
    background: url('../images/doodle-circle.svg') no-repeat;
    background-size: contain;
    animation: float 3s ease-in-out infinite;
    animation-delay: 1s;
}

/* Highlights Section */
.highlights {
    padding: 5rem 0;
    background-color: #ffffff;
    position: relative;
    overflow: hidden;
}

.highlights::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/dots-pattern.svg');
    opacity: 0.05;
    pointer-events: none;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
}

.section-header h2 {
    font-size: 2.5rem;
    color: rgba(0, 0, 128, 1);
    position: relative;
    display: inline-block;
    margin-bottom: 1rem;
}

.section-header h2::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #FF7A7A, #FF9E54);
    border-radius: 2px;
}

.section-header p {
    font-size: 1.2rem;
    color: #555;
    max-width: 700px;
    margin: 0 auto;
}

.highlight-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.card {
    background: #fff;
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, #FFC744, #FF9E54);
    border-radius: 20px 20px 0 0;
    z-index: -1;
}

.card:hover {
    transform: translateY(-15px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.card-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #E3F5FF, #F0E6FF);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}

.card:nth-child(1) .card-icon {
    background: linear-gradient(135deg, #FFE8E8, #FFD6D6);
}

.card:nth-child(2) .card-icon {
    background: linear-gradient(135deg, #E8FFEA, #D6FFDA);
}

.card:nth-child(3) .card-icon {
    background: linear-gradient(135deg, #E8F4FF, #D6EBFF);
}

.card:nth-child(4) .card-icon {
    background: linear-gradient(135deg, #FFF8E8, #FFEED6);
}

.card:hover .card-icon {
    transform: scale(1.1) rotate(5deg);
}

.card-icon i {
    font-size: 2.5rem;
    color: #4A97D9;
}

.card:nth-child(1) .card-icon i {
    color: #FF7A7A;
}

.card:nth-child(2) .card-icon i {
    color: #73C36D;
}

.card:nth-child(3) .card-icon i {
    color: #4A97D9;
}

.card:nth-child(4) .card-icon i {
    color: #FFC744;
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #4A97D9;
}

.card:nth-child(1) h3 {
    color: #FF7A7A;
}

.card:nth-child(2) h3 {
    color: #73C36D;
}

.card:nth-child(3) h3 {
    color: #4A97D9;
}

.card:nth-child(4) h3 {
    color: #FFC744;
}

.card p {
    color: #555;
    line-height: 1.6;
}

/* Activities Section */
.activities {
    padding: 5rem 0;
    background: linear-gradient(135deg, #F9F7FF, #F0F8FF);
    position: relative;
}

.activities::before {
    content: "";
    position: absolute;
    top: -50px;
    left: 0;
    width: 100%;
    height: 50px;
    background: url('../images/cloud-border.svg') repeat-x;
    background-size: contain;
}

.activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.activity {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.activity::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    transition: all 0.3s ease;
}

.activity:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.activity img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: all 0.5s ease;
}

.activity:hover img {
    transform: scale(1.1);
}

.activity h3 {
    position: absolute;
    bottom: 20px;
    left: 20px;
    color: white;
    z-index: 2;
    font-size: 1.5rem;
    margin: 0;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
}

.activity:hover h3 {
    bottom: 30px;
}

.activity-cta {
    text-align: center;
    margin-top: 2rem;
}

/* Testimonials Section */



.carousel-container {
    max-width: 1000px;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
    margin-bottom: 50px;
}

.testimonial-carousel {
    display: flex;
    transition: transform 0.5s ease-in-out;
    
}

.testimonial {
    min-width: 100%;
    padding: 30px;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.testimonial-image {
    width: 120px;  /* Changed from 100% */
    height: 120px; /* Added fixed height */
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    background-color: #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 3px solid #2a3990; /* Added border */
}

.testimonial-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.quote {
    font-size: 18px;
    line-height: 1.6;
    color: #333;
    margin-bottom: 20px;
}

.author {
    font-weight: bold;
    font-size: 16px;
    color: #2a3990;
}

.role {
    font-size: 14px;
    color: #666;
    margin-bottom: 5px;
}

.star-rating {
    color: #ffc107;
    font-size: 20px;
    margin: 10px 0;
}

.controls {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.control-btn {
    background-color: #2a3990;
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    margin: 0 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
}

.control-btn:hover {
    background-color: #1a2770;
}

.indicators {
    display: flex;
    justify-content: center;
    margin-top: 15px;
}

.indicator {
    width: 10px;
    height: 10px;
    background-color: #ddd;
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.indicator.active {
    background-color: #2a3990;
}

@media (max-width: 768px) {
    .testimonial {
        padding: 20px;
    }
    
    .quote {
        font-size: 16px;
    }
    
    .testimonial-image {
        width: 60px;
        height: 60px;
    }
}

/* Registration CTA Section */
.registration-cta {
    padding: 5rem 0;
    background: linear-gradient(135deg, rgba(255, 98, 0, 0.9), rgba(0, 0, 128, 1));
    position: relative;
    overflow: hidden;
}
.registration-cta::before {
    content: "";
    position: absolute;
    bottom: 0px;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.1' fill-rule='evenodd'/%3E%3C/svg%3E");
    background-size: contain;
}

.registration-cta::before {
    content: "";
    position: absolute;
    top: -2px;
    left: 0;
    width: 100%;
    height: 50px;
    background: url('../images/wave-white-down.svg') repeat-x;
    background-size: contain;
}

.registration-cta .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}


.cta-content {
    max-width: 500px;
}

.cta-content h2 {
    font-size: 2.3rem;
    color: #ffffff;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.cta-content h2::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #FF7A7A, #FF9E54);
    border-radius: 2px;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: #ffffff;
}

.contact-numbers {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    margin-bottom: 2rem;
}

.contact-numbers a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #ffffff;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.contact-numbers a:hover {
    color: #dcd9d9;
    transform: translateX(5px);
}

.contact-numbers i {
    background: #4A97D9;
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.contact-numbers a:hover i {
    background: #FF7A7A;
}

.cta-image {
    position: relative;
}

.cta-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    border: 2px solid white;
    transform: rotate(-2deg);
}

.cta-image::before {
    content: "";
    position: absolute;
    top: -20px;
    right: -20px;
    width: 70px;
    height: 70px;
    background: url('../images/balloon.svg') no-repeat;
    background-size: contain;
    animation: float 4s ease-in-out infinite;
}

.cta-image::after {
    content: "";
    position: absolute;
    bottom: -15px;
    left: -15px;
    width: 60px;
    height: 60px;
    background: url('../images/doodle-flower.svg') no-repeat;
    background-size: contain;
    animation: float 3.5s ease-in-out infinite;
    animation-delay: 0.5s;
}

/* Decorative Elements */
.decorative-cloud {
    position: absolute;
    width: 150px;
    height: 80px;
    background: url('../images/cloud.svg') no-repeat;
    background-size: contain;
    opacity: 0.8;
    z-index: 1;
}


.decorative-cloud.top-left {
    top: 10%;
    left: 5%;
    animation: float 8s ease-in-out infinite;
}

.decorative-cloud.bottom-right {
    bottom: 15%;
    right: 5%;
    animation: float 10s ease-in-out infinite;
    animation-delay: 2s;
}

.decorative-element {
    position: absolute;
    width: 50px;
    height: 50px;
    z-index: 1;
    opacity: 0.7;
}

.decorative-star {
    background: url('../images/star.svg') no-repeat;
    background-size: contain;
    top: 20%;
    right: 10%;
    animation: rotate 20s linear infinite;
}

.decorative-circle {
    background: url('../images/circle.svg') no-repeat;
    background-size: contain;
    bottom: 20%;
    left: 10%;
    animation: float 7s ease-in-out infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero .container,
    .registration-cta .container {
        grid-template-columns: 1fr;
    }
    
    .hero-content,
    .cta-content {
        text-align: center;
        margin: 0 auto;
    }
    
    .hero-buttons,
    .contact-numbers {
        justify-content: center;
    }
    
    .contact-numbers {
        align-items: center;
    }
    
    .hero-image {
        margin-top: 2rem;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .cta-content h2::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .cta-image {
        margin-top: 2rem;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .highlight-cards,
    .activities-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    
    .activity img {
        height: 200px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero p,
    .section-header p {
        font-size: 1rem;
    }
    
    .highlight-cards,
    .activities-grid {
        grid-template-columns: 1fr;
    }
    
    .section-header h2,
    .cta-content h2 {
        font-size: 1.8rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .card {
        padding: 1.5rem;
    }
}


/* readmore========================================= */
.quote {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* Show only 3 lines */
    -webkit-box-orient: vertical;
    transition: all 0.3s ease;
}

.quote.expanded {
    -webkit-line-clamp: unset;
    max-height: none;
}

.read-more-btn {
    background: none;
    border: none;
    color: #007BFF;
    cursor: pointer;
    padding: 0;
    font-weight: bold;
    margin-top: 5px;
}


/* branches============================ */

.branches {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9ff 0%, #e8f2ff 100%);
    position: relative;
    overflow: hidden;
}

.branches::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 300px;
    height: 300px;
    background: rgba(74, 144, 226, 0.1);
    border-radius: 50%;
    z-index: 1;
}

.branches-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.branch-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(74, 144, 226, 0.1);
}

.branch-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #4a90e2, #ffb74d);
}

.branch-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

.branch-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #4a90e2, #357abd);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    box-shadow: 0 10px 25px rgba(74, 144, 226, 0.3);
}

.branch-icon i {
    font-size: 1.8rem;
    color: white;
}

.branch-card h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 25px;
}

.branch-details p {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: 1rem;
    color: #5a6c7d;
    line-height: 1.6;
}

.branch-details i {
    margin-right: 12px;
    width: 20px;
    color: #4a90e2;
    font-size: 1rem;
}

.address {
    font-weight: 600;
}

.phone, .email {
    cursor: pointer;
    transition: color 0.3s ease;
}

.phone:hover, .email:hover {
    color: #4a90e2;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .branches {
        padding: 60px 0;
    }
    
    .branches-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .branch-card {
        padding: 30px 25px;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
}