/* ============================
🔥 Global Styles & Setup
============================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #F8FAFC;
    line-height: 1.6;
}

/* ============================
🌟 Hero Section - Premium Look
============================ */
.hero-container {
    width: 100%;
    background: linear-gradient(135deg, #E0F7FA, #B3E5FC, #90CAF9);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}


/* Floating Glow Animation */
@keyframes floatGlow {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* Hero Text Styles */
.hero-text {
    font-size: 36px;
    font-weight: bold;
    color: #4A5568;
    text-shadow: 0 4px 10px rgba(255, 255, 255, 0.9);
    z-index: 2;
    animation: fadeIn 1.2s ease-in-out;
}

/* Hero Subtext */
.hero-subtext {
    font-size: 18px;
    color: #718096;
    margin-top: 12px;
    text-shadow: 0 2px 6px rgba(255, 255, 255, 0.7);
    z-index: 2;
    animation: fadeIn 1.5s ease-in-out;
}

/* ============================
🎨 Contact Section - Modern Look
============================ */
.contact-section {
    margin: 1% auto;
    padding: 40px 5%;
    background: linear-gradient(135deg, #ECFDF5, #FDEFF9);
    border-radius: 20px;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

/* Contact Row Layout */
.contact-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    justify-content: center;
    margin-left: 100px;
}

/* Contact Card */
.contact-card {
    background: #FFFFFF;
    padding: 25px;
    text-align: center;
    border-radius: 15px;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 8px 20px rgba(121, 215, 241, 0.622);
    position: relative;
    margin: 20px;
}

/* Card Hover Effect */
.contact-card:hover {
    transform: translate3d(5px, -10px, 10px);

    box-shadow: 0 12px 28px rgb(121, 215, 241);
}

/* Contact Icon */
.contact-icon {
    font-size: 45px;
    color: #4A90E2;
    margin-bottom: 12px;
}

/* Contact Title */
.contact-title {
    font-size: 22px;
    font-weight: bold;
    color: #0B5478;
}

/* Contact Description */
.contact-desc {
    font-size: 15px;
    color: #555;
    margin-top: 10px;
}

/* Contact Links */
.contact-link {
    display: inline-flex;
    align-items: center;
    font-size: 16px;
    color: #0B5478;
    margin-top: 12px;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease-in-out;
}

/* Contact Link Hover */
.contact-link:hover {
    color: #007BFF;
}

/* ============================
🌐 Connect Section - Elegant UI
============================ */
.connect-section {
    margin: 2% auto;
    padding: 50px 5%;
    background: linear-gradient(135deg, #FDEFF9, #ECFDF5);
    text-align: center;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/*  q Title */
.connect-title {
    font-size: 38px;
    color: #3A3983;
    margin-bottom: 40px;
    font-weight: bold;
}

/* Connect Row Layout */
.connect-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    justify-content: center;
}

/* Individual Connect Card */
.connect-card {
background: #fff;
padding: 25px;
text-align: center;
border-radius: 15px;
box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
opacity: 0;
transform: translateY(40px);
transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.connect-card.visible {
opacity: 1;
transform: translateY(0);
}
/* Platform Icon */
.connect-icon {
    font-size: 48px;
    margin-bottom: 12px;
}

/* Different Platform Colors */
.connect-card:nth-child(1) .connect-icon {
    color: #3b5998; /* Facebook */
}

.connect-card:nth-child(2) .connect-icon {
    color: #0077B5; /* LinkedIn */
}

.connect-card:nth-child(3) .connect-icon {
    color: #FF0000; /* YouTube */
}

/* Platform Title */
.connect-platform {
    font-size: 24px;
    color: #0B5478;
    font-weight: bold;
}

/* Platform Description */
.connect-desc {
    font-size: 16px;
    color: #555;
    margin-top: 8px;
    line-height: 1.6;
}

/* Call-to-Action Button */
.connect-btn {
    display: inline-block;
    margin-top: 12px;
    font-size: 16px;
    padding: 10px 20px;
    background-color: #0B5478;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    transition: background 0.3s ease;
}

/* Button Hover Effect */
.connect-btn:hover {
    background-color: #0077B5;
}

/* ============================
🎯 Responsive Design - Better UX
============================ */

/* Tablet Screens (768px - 991px) */
@media screen and (max-width: 991px) {
    .hero-container {
        height: 320px;
        background: linear-gradient(135deg, #FDF2F8, #EDFDFD);
    }
    .hero-text {
        font-size: 30px;
    }
    .hero-subtext {
        font-size: 16px;
    }
    .contact-row,
    .connect-row {
        grid-template-columns: 1fr 1fr;
    }
}

/* Mobile Screens (up to 767px) */
@media screen and (max-width: 767px) {
    .hero-container {
        height: 280px;
        background: linear-gradient(135deg, #FFF7ED, #ECFDF5);
    }
    .hero-text {
        font-size: 24px;
    }
    .hero-subtext {
        font-size: 14px;
    }
    .contact-row,
    .connect-row {
        grid-template-columns: 1fr;
    }
    .contact-card,
    .connect-card {
        padding: 20px;
    }
}

/* Large Desktop Screens (1200px and above) */
@media screen and (min-width: 1200px) {
    .hero-container {
        height: 420px;
        background: linear-gradient(135deg, #FDEFF9, #ECFDF5);
    }
    .hero-text {
        font-size: 40px;
    }
    .hero-subtext {
        font-size: 20px;
    }
}
