/* Hero Section */



.colorsheet-hero {
    position: relative;
    background: url("../images/MAGADH ROOFING COLORSHEET.webp") center/cover no-repeat;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* Overlay */
.colorsheet-hero .hero-overlay {
    background: rgba(0, 0, 0, 0.5);
    padding: 30px 40px;
    border-radius: 12px;
    animation: fadeIn 2s ease-in-out;
}

/* Title */
.colorsheet-hero .hero-title {
    font-size: 42px;
    color: #fff;
}

.colorsheet-hero .hero-title span {
    color: #ee1d24;
    /* Magadh brand red */
}

/* Subtitle */
.colorsheet-hero .hero-subtitle {
    font-size: 18px;
    color: #ddd;
    margin-top: 10px;
}

/* Fade-in Animation */
@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Hero Section */

/* Tablets */
@media (max-width: 992px) {
    .colorsheet-hero {
        height: 50vh;
    }

    .colorsheet-hero .hero-title {
        font-size: 32px;
    }

    .colorsheet-hero .hero-subtitle {
        font-size: 16px;
    }
}

/* Mobile Phones */
@media (max-width: 768px) {
    .colorsheet-hero {
        height: 45vh;
        padding: 0 15px;
    }

    .colorsheet-hero .hero-title {
        font-size: 26px;
    }

    .colorsheet-hero .hero-subtitle {
        font-size: 14px;
    }
}

/* Small Mobile Screens */
@media (max-width: 480px) {
    .colorsheet-hero {
        height: 40vh;
    }

    .colorsheet-hero .hero-title {
        font-size: 22px;
    }

    .colorsheet-hero .hero-subtitle {
        font-size: 13px;
    }
}


/* Colorsheet Content Section */
.colorsheet-content {
    padding: 60px 6%;
    background: #fff;
}

.colorsheet-text {
    max-width: 900px;
    margin: 0 auto;
    text-align: justify;
}

.colorsheet-text h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--brand-blue);
    margin-bottom: 20px;
}

.colorsheet-text h2 span {
    color: var(--brand-red);
}

.colorsheet-text p {
    margin-bottom: 16px;
    line-height: 1.7;
    font-size: 16px;
    color: #444;
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
}

/* Staggered animation for paragraphs */
.colorsheet-text p:nth-child(2) {
    animation-delay: 0.2s;
}

.colorsheet-text p:nth-child(3) {
    animation-delay: 0.4s;
}

.colorsheet-text p:nth-child(4) {
    animation-delay: 0.6s;
}

.colorsheet-text p:nth-child(5) {
    animation-delay: 0.8s;
}

.colorsheet-text p:nth-child(6) {
    animation-delay: 1s;
}

/* Fade-in-up keyframes */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .colorsheet-text h2 {
        font-size: 24px;
    }

    .colorsheet-text p {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .colorsheet-text h2 {
        font-size: 20px;
    }

    .colorsheet-text p {
        font-size: 14px;
    }
}


/* Colorsheet Product Range Section */
.colorsheet-product-range {
    padding: 60px 6%;
    background: #f9f9f9;
}

.colorsheet-product-range h2 {
    text-align: center;
    font-size: 32px;
    color: #242176;
    margin-bottom: 20px;
}

.colorsheet-product-range h2 span {
    background: linear-gradient(45deg, #ff0000, #f12400);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.colorsheet-product-range p {
    text-align: center;
    font-size: 16px;
    color: #555;
    margin-bottom: 15px;
}

/* Grid Layout */
.sizes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

/* Individual Cards */
.size-card {
    background: linear-gradient(135deg, #242176, #242176);
    color: #fff;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    opacity: 0;
    transform: translateY(50px);
    animation: fadeInUp 0.6s forwards;
}

.size-card:nth-child(1) {
    animation-delay: 0.1s;
}

.size-card:nth-child(2) {
    animation-delay: 0.2s;
}

.size-card:nth-child(3) {
    animation-delay: 0.3s;
}

.size-card:nth-child(4) {
    animation-delay: 0.4s;
}

.size-card:nth-child(5) {
    animation-delay: 0.5s;
}

.size-card:nth-child(6) {
    animation-delay: 0.6s;
}

.size-card:nth-child(7) {
    animation-delay: 0.7s;
}

.size-card:nth-child(8) {
    animation-delay: 0.8s;
}

.size-card:nth-child(9) {
    animation-delay: 0.9s;
}

.size-card:nth-child(10) {
    animation-delay: 1s;
}

.size-card:nth-child(11) {
    animation-delay: 1.1s;
}

.size-card:nth-child(12) {
    animation-delay: 1.2s;
}

.size-card h3 {
    margin-bottom: 10px;
    font-size: 20px;
    text-align: center;
    color: rgb(255, 255, 255);
}

.size-card p {
    font-size: 14px;
    line-height: 1.5;
    color: #fff;
}

/* Hover Effect */
.size-card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 25px 40px rgba(0, 0, 0, 0.25);
    background: linear-gradient(135deg, #e63946, #1a3c6b);
}

/* Fade In Animation */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .colorsheet-product-range {
        padding: 40px 4%;
    }

    .size-card h3 {
        font-size: 18px;
    }

    .size-card p {
        font-size: 13px;
    }
}



.colorsheet-overview {
    padding: 60px 6%;
    background: linear-gradient(135deg, #e0f7fa, #f5f5f5);
}

.row {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    margin-bottom: 60px;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease forwards;
    opacity: 0;
}

.row.reverse {
    flex-direction: row-reverse;
}

.col {
    flex: 1;
    min-width: 300px;
}

.image-col img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    animation: zoomIn 1s ease forwards;
}

.content-col h2 {
    font-size: 32px;
    color: var(--brand-blue);
    margin-bottom: 20px;
}

.content-col h2 span {
    color: var(--brand-red);
}

.content-col p {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 25px;
    color: #444;
}

/* Cards */
.benefit-cards,
.application-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
}

.card {
    background: linear-gradient(135deg, #242176, #242176);
    color: #fff;
    padding: 15px 20px;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
    text-align: center;
    font-weight: 600;
    font-size: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

.card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 25px 40px rgba(0, 0, 0, 0.25);
    background: linear-gradient(135deg, #e63946, #1a3c6b);
}

/* Stagger animation for cards */
.benefit-cards .card:nth-child(1),
.application-cards .card:nth-child(1) {
    animation-delay: 0.1s;
}

.benefit-cards .card:nth-child(2),
.application-cards .card:nth-child(2) {
    animation-delay: 0.2s;
}

.benefit-cards .card:nth-child(3),
.application-cards .card:nth-child(3) {
    animation-delay: 0.3s;
}

.benefit-cards .card:nth-child(4),
.application-cards .card:nth-child(4) {
    animation-delay: 0.4s;
}

.benefit-cards .card:nth-child(5),
.application-cards .card:nth-child(5) {
    animation-delay: 0.5s;
}

.benefit-cards .card:nth-child(6),
.application-cards .card:nth-child(6) {
    animation-delay: 0.6s;
}

.benefit-cards .card:nth-child(7),
.application-cards .card:nth-child(7) {
    animation-delay: 0.7s;
}

.benefit-cards .card:nth-child(8),
.application-cards .card:nth-child(8) {
    animation-delay: 0.8s;
}

/* Animations */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes zoomIn {
    0% {
        opacity: 0;
        transform: scale(0.9);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Responsive */
@media (max-width: 991px) {
    .row {
        flex-direction: column !important;
        text-align: center;
    }

    .image-col img {
        max-width: 100%;
        margin-bottom: 20px;
    }

    .benefit-cards,
    .application-cards {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    }
}


/* Advantages Section */
.colorsheet-advantages {
    padding: 80px 6%;
    background: linear-gradient(160deg, #e3f2fd 0%, #fce4ec 100%);
}

.colorsheet-advantages h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 50px;
    color: #1a3c6b;
    /* Brand Blue */
    font-weight: 700;
}

.colorsheet-advantages h2 span {
    color: #e63946;
    /* Brand Red */
}

/* Grid layout */
.advantages-row {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    /* Desktop: 6 cards in one row */
    gap: 25px;
}

/* Cards */
.adv-card {
    background: linear-gradient(135deg, #242176, #242176);
    color: #fff;
    padding: 30px 20px;
    border-radius: 18px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    transform: translateY(30px) scale(0.95);
    opacity: 0;
    transition: all 0.5s ease, transform 0.3s ease;
    text-align: center;
}

.adv-card .icon {
    font-size: 45px;
    margin-bottom: 18px;
}

.adv-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.adv-card p {
    font-size: 15px;
    line-height: 1.6;
}

/* Hover effect with gradient animation */
.adv-card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 25px 40px rgba(0, 0, 0, 0.25);
    background: linear-gradient(135deg, #e63946, #1a3c6b);
}

/* Fade-in animation */
@keyframes fadeInUpScale {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Staggered animations */
.adv-card:nth-child(1) {
    animation: fadeInUpScale 0.6s forwards 0.1s;
}

.adv-card:nth-child(2) {
    animation: fadeInUpScale 0.6s forwards 0.2s;
}

.adv-card:nth-child(3) {
    animation: fadeInUpScale 0.6s forwards 0.3s;
}

.adv-card:nth-child(4) {
    animation: fadeInUpScale 0.6s forwards 0.4s;
}

.adv-card:nth-child(5) {
    animation: fadeInUpScale 0.6s forwards 0.5s;
}

.adv-card:nth-child(6) {
    animation: fadeInUpScale 0.6s forwards 0.6s;
}

/* Tablet: 3 columns, 2 rows */
@media (max-width: 992px) {
    .advantages-row {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .adv-card {
        padding: 25px 15px;
    }
}

/* Mobile: 2 columns, stacked nicely */
@media (max-width: 768px) {
    .advantages-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .adv-card {
        padding: 20px 12px;
    }

    .adv-card h3 {
        font-size: 18px;
    }

    .adv-card p {
        font-size: 14px;
    }

    .adv-card .icon {
        font-size: 38px;
        margin-bottom: 12px;
    }
}

/* Extra small screens: single column */
@media (max-width: 480px) {
    .advantages-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .colorsheet-advantages h2 {
        font-size: 28px;
        margin-bottom: 35px;
    }
}