/* ===== HERO ===== */

@media (min-width: 1200px) {
    .header-container{
        max-width: 1200px;
    }
}
.agu-hero {
    position: relative;
    height: 80vh;
    overflow: hidden;
}

.agu-hero-slider img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease;
}

.agu-hero-slider img.active {
    opacity: 1;
}

.agu-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.65);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px;
    color: white;
}

.agu-hero-overlay h1 {
    font-size: 42px;
    font-weight: 700;
}

.agu-hero-overlay h3 {
    font-size: 22px;
    margin-top: 10px;
    color: #3B82F6;
}

.agu-hero-overlay p {
    max-width: 600px;
    margin-top: 15px;
    font-size: 17px;
}

/* ===== MODERN LINK CARDS SECTION ===== */
.agu-links {
    padding: 70px 0;
    background: linear-gradient(180deg, #f8fafc, #eef2f7);
}

/* Card base */
.agu-link-card {
    display: block;
    background: #ffffff;
    padding: 35px 20px;
    border-radius: 14px;
    text-decoration: none;
    color: #0F172A;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    transition: all 0.35s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
    text-align: center;
}

/* Decorative watermark circle */
.agu-link-card::before {
    content: "";
    position: absolute;
    top: -40px;
    right: -40px;
    width: 120px;
    height: 120px;
    background: rgba(59, 130, 246, 0.08);
    border-radius: 50%;
}

/* ===== Image/Icon Holder ===== */
.agu-card-image,
.agu-card-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* If using images */
.agu-card-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

/* If using FontAwesome icons */
.agu-card-icon {
    background: #3B82F6;
    border-radius: 50%;
}

.agu-card-icon i {
    color: #ffffff;
    font-size: 24px;
}

/* ===== Text ===== */
.agu-link-card h5 {
    font-weight: 600;
    margin-bottom: 6px;
    font-size: 17px;
}

.agu-link-card p {
    font-size: 14px;
    color: #64748B;
    margin: 0;
}

/* ===== Hover Effects ===== */
.agu-link-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

/* Icon background change on hover */
.agu-link-card:hover .agu-card-icon {
    background: #0F172A;
}

/* Image zoom on hover */
.agu-link-card:hover .agu-card-image img {
    transform: scale(1.1);
}

/* ===== Responsive ===== */
@media(max-width: 768px) {
    .agu-links {
        padding: 50px 0;
    }
}

/* ===== MODERN PLATFORM SECTION ===== */
.agu-platform {
    padding: 90px 0;
    background: linear-gradient(180deg, #ffffff, #f8fafc);
}

.agu-platform h2 {
    font-size: 38px;
    font-weight: 700;
    color: #0F172A;
}

.subtitle {
    color: #475569;
    margin-top: 12px;
    font-size: 16px;
}

/* Feature cards */
.agu-feature-card {
    background: linear-gradient(135deg, #ffffff, #f1f5f9);
    padding: 35px 25px;
    border-radius: 14px;
    height: 100%;
    text-align: center;
    border: 1px solid rgba(15, 23, 42, 0.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
    transition: 0.35s ease;
    position: relative;
    overflow: hidden;
}

/* Light background shape */
.agu-feature-card::before {
    content: "";
    position: absolute;
    top: -50px;
    right: -50px;
    width: 140px;
    height: 140px;
    background: rgba(59, 130, 246, 0.06);
    border-radius: 50%;
}

/* Icon */
.agu-feature-icon {
    width: 65px;
    height: 65px;
    background: #3B82F6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
}

.agu-feature-icon i {
    color: white;
    font-size: 24px;
}

/* Text */
.agu-feature-card h5 {
    font-weight: 600;
    margin-bottom: 8px;
}

.agu-feature-card p {
    font-size: 14px;
    color: #64748B;
    margin: 0;
}

/* Image holder instead of icon */
.agu-feature-image {
    width: 70px;
    height: 70px;
    margin: 0 auto 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.agu-feature-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

/* Image zoom on hover */
.agu-feature-card:hover .agu-feature-image img {
    transform: scale(1.12);
}


/* Hover effect */
.agu-feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.agu-feature-card:hover .agu-feature-icon {
    background: #0F172A;
}

/* ===== MODERN GALLERY ===== */
.agu-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    padding: 10px;
    background: #f8fafc;
}

/* Each item */
.agu-gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

/* Image */
.agu-gallery-item img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

/* Overlay text */
.agu-gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent, rgba(15, 23, 42, 0.8));
    display: flex;
    align-items: flex-end;
    padding: 15px;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    opacity: 0;
    transition: 0.6s ease;
}

/* Hover effects */
.agu-gallery-item:hover img {
    transform: scale(1.1);
}

.agu-gallery-item:hover .agu-gallery-overlay {
    opacity: 1;
}

/* Scroll reveal active */
.agu-gallery-item.show {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media(max-width:768px) {
    .agu-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* ===== MODERN INDEPENDENT SECTION ===== */
.agu-independent {
    padding: 90px 0;
    /* background: linear-gradient(135deg, #0F172A, #1E3A8A, #0F172A); */
    background: linear-gradient(135deg, #1E3A8A, #0EA5A4);
    color: white;
}

.agu-independent h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 18px;
}

.agu-independent p {
    font-size: 16px;
    line-height: 1.7;
    color: #CBD5E1;
}

/* Icon circle */
.agu-independent-icon {
    width: 140px;
    height: 140px;
    background: linear-gradient(135deg, #3B82F6, #1E40AF);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: auto;
    box-shadow: 0 0 40px rgba(59, 130, 246, 0.5);
    animation: pulseGlow 3s infinite;
}

.agu-independent-icon i {
    font-size: 50px;
    color: white;
}

/* Independent section image */
.agu-independent-image img {
    max-width: 280px;
    width: 100%;
    filter: drop-shadow(0 0 25px rgba(0, 8, 21, 0.5));
    animation: floatImage 4s ease-in-out infinite;
}

/* Floating animation */
@keyframes floatImage {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}


/* Soft glow animation */
@keyframes pulseGlow {
    0% {
        box-shadow: 0 0 25px rgba(59, 130, 246, 0.4);
    }

    50% {
        box-shadow: 0 0 45px rgba(59, 130, 246, 0.8);
    }

    100% {
        box-shadow: 0 0 25px rgba(59, 130, 246, 0.4);
    }
}

/* Responsive */
@media(max-width:768px) {
    .agu-independent {
        text-align: center;
    }

    .agu-independent-icon {
        margin-top: 30px;
    }
}


/* ===== RESPONSIVE ===== */
@media(max-width:768px) {
    .agu-hero-overlay h1 {
        font-size: 28px;
    }

    .agu-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Typing effect caret */
#heroTitle::after {
    content: "|";
    animation: blink 0.7s infinite;
    margin-left: 3px;
}

@keyframes blink {

    0%,
    50% {
        opacity: 1;
    }

    51%,
    100% {
        opacity: 0;
    }
}

/* Fade-in */
.fade-in {
    animation: fadeIn 1s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Slide-up */
.slide-up {
    animation: slideUp 1s ease forwards;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* PAGE HERO */
.agu-page-hero {
    position: relative;
    padding: 110px 0;
    overflow: hidden;
    color: white;
    background: linear-gradient(270deg, #0b1c3a, #1E3A8A, #0EA5A4);
    background-size: 400% 400%;
    animation: aguGradientMove 15s ease infinite;
}

/* Moving gradient */
@keyframes aguGradientMove {
    0% {background-position: 0% 50%;}
    50% {background-position: 100% 50%;}
    100% {background-position: 0% 50%;}
}

/* Floating light circles */
.agu-page-hero::before,
.agu-page-hero::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    animation: floatBubble 12s infinite ease-in-out;
}

.agu-page-hero::before {
    width: 180px;
    height: 180px;
    top: -40px;
    left: -40px;
}

.agu-page-hero::after {
    width: 260px;
    height: 260px;
    bottom: -60px;
    right: -60px;
    animation-delay: 3s;
}

@keyframes floatBubble {
    0%,100% {transform: translateY(0px);}
    50% {transform: translateY(-30px);}
}

/* Text fade-in */
.agu-page-hero h1,
.agu-page-hero p {
    opacity: 0;
    transform: translateY(20px);
    animation: textFade 1.2s forwards ease;
}

.agu-page-hero p {
    animation-delay: 0.3s;
}

@keyframes textFade {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.agu-page-hero::after {
    content:"";
    position:absolute;
    left:0;
    bottom:0;
    width:100%;
    height:60px;
    /* background:url('../images/wave.jpg') no-repeat bottom; */
    background-size:cover;
}

.agu-page-hero h1 {
    font-size: 40px;
    font-weight: 700;
}

.agu-page-hero p {
    color: #CBD5E1;
}

/* ABOUT ROWS */
.agu-about-row {
    padding: 80px 0;
}

.agu-about-row.bg-light {
    background: #f8fafc;
}

.agu-about-row.bg-dark {
    background: #171f2d;
}

.agu-about-row h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 15px;
}

.agu-about-row p,
.agu-about-row li {
    font-size: 16px;
    line-height: 1.7;
    color: #475569;
}

.agu-about-row.bg-dark p,
.agu-about-row.bg-dark li {
    color: #CBD5E1;
}

.agu-about-img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

/* ===== CPA HIGHLIGHT SECTION ===== */
.agu-cpa-highlight {
    padding: 90px 0;
    background: linear-gradient(135deg, #2563EB, #0EA5A4);
    color: white;
    position: relative;
    overflow: hidden;
}

/* Soft glowing background shapes */
.agu-cpa-highlight::before,
.agu-cpa-highlight::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    animation: cpaFloat 16s infinite ease-in-out;
    
    /* ✅ FIX: prevent blocking clicks */
    pointer-events: none;
}

.agu-cpa-highlight::before {
    width: 200px;
    height: 200px;
    top: -50px;
    left: -50px;
}

.agu-cpa-highlight::after {
    width: 280px;
    height: 280px;
    bottom: -70px;
    right: -70px;
    animation-delay: 5s;
}

@keyframes cpaFloat {
    0%,100% {transform: translateY(0);}
    50% {transform: translateY(-25px);}
}

/* Image */
.agu-cpa-img {
    width: 100%;
    border-radius: 14px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.25);
}

/* Text */
.agu-cpa-highlight h2 {
    font-size: 34px;
    font-weight: 700;
    margin-bottom: 15px;
}

.agu-cpa-highlight p {
    color: #E2E8F0;
    line-height: 1.7;
    font-size: 16px;
}

/* ===== Button ===== */
.agu-cpa-btn {
    display: inline-block;
    margin-top: 18px;
    padding: 13px 28px;
    background: linear-gradient(135deg, #0b1c3a, #132a52);
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    border-radius: 30px;
    border: 1px solid rgba(255,255,255,0.18);
    transition: all 0.35s ease;
    box-shadow: 0 6px 18px rgba(11,28,58,0.7);
    position: relative;
    overflow: hidden;

    /* ✅ FIX: keep button above layers */
    z-index: 5;
}

/* Light sweep hover */
.agu-cpa-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -120%;
    width: 60%;
    height: 100%;
    background: rgba(255,255,255,0.18);
    transform: skewX(-25deg);
    transition: 0.7s;
}

.agu-cpa-btn:hover::before {
    left: 140%;
}

.agu-cpa-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 26px rgba(11,28,58,1);
}

/* Responsive */
@media(max-width:768px) {
    .agu-cpa-highlight {
        text-align: center;
    }

    .agu-cpa-img {
        margin-bottom: 25px;
    }
}

/* Other About Sections Responsive */
@media(max-width:768px) {
    .agu-about-row {
        text-align: center;
    }
    .agu-about-img {
        margin-bottom: 20px;
    }
}


/* ===== CPA PAGE HERO ===== */
.agu-page-hero {
    padding: 90px 0;
    background: linear-gradient(135deg, #1E3A8A, #0EA5A4);
    color: white;
    text-align: center;
}

/* Intro */
.agu-cpa-intro {
    padding: 60px 0 20px;
    text-align: center;
}

.agu-cpa-intro h2 {
    font-weight: 700;
}

/* ===== CLUSTER GRID ===== */
.agu-cpa-clusters {
    padding: 60px 0 100px;
    background: #f8fafc;
}

.agu-cluster-card {
    display: block;
    background: white;
    padding: 30px;
    border-radius: 14px;
    text-decoration: none;
    color: #0F172A;
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
    transition: 0.3s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}

/* number badge */
.agu-cluster-number {
    font-size: 20px;
    font-weight: 600;
    color: #3B82F6;
    margin-bottom: 10px; 
}

.agu-cluster-card h5 {
    font-weight: 600;
    margin-bottom: 8px;
}

.agu-cluster-card span {
    font-size: 14px;
    color: #64748B;
}

/* hover */
.agu-cluster-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 14px 30px rgba(0,0,0,0.08);
}
/* ===== ASSOCIATION PAGE ===== */
.agu-association-content {
    padding: 90px 0;
    background: #ffffff;
}

.agu-association-content h2 {
    font-weight: 700;
    margin-bottom: 15px;
}

.agu-association-content p {
    color: #475569;
    line-height: 1.7;
}

.agu-association-content img {
    width: 100%;
    border-radius: 14px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}


/* ===== UNIVERSITY MEMBERSHIP PAGE ===== */

.agu-membership-intro,
.agu-membership-listing,
.agu-membership-engagement {
    padding: 90px 0;
    background: #ffffff;
}

.agu-membership-benefits {
    padding: 90px 0;
    background: #f8fafc;
}

.agu-membership-nature {
    padding: 80px 0;
    background: linear-gradient(135deg, #0b1c3a, #132a52);
    color: white;
}

.agu-membership-neutral {
    padding: 80px 0;
    background: #f8fafc;
}

.agu-membership-fee {
    padding: 90px 0;
    background: linear-gradient(135deg, #1E3A8A, #0EA5A4);
    color: white;
}

.agu-feature-card {
    background: white;
    padding: 22px;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.05);
    font-weight: 500;
}

.agu-list {
    list-style: none;
    padding: 0;
}

.agu-list li {
    margin: 8px 0;
}

.agu-list li::before {
    content: "✔ ";
    color: #38bdf8;
    font-weight: bold;
}

.agu-fee-box {
    display: inline-block;
    margin-top: 10px;
    padding: 14px 30px;
    background: linear-gradient(135deg, #0b1c3a, #132a52);
    border-radius: 30px;
    font-weight: 700;
    box-shadow: 0 8px 20px rgba(0,0,0,0.4);
}


/* DIRECTORY PAGES */
.agu-directory-intro {
    padding: 40px 0;
    background: #f8fafc;
}

.agu-directory-table {
    padding: 60px 0 100px;
}

.table th {
    background: #0b1c3a !important;
    color: white;
}

/* PROFILE PAGE */
.agu-profile-section {
    padding: 80px 0;
}

/* ENQUIRY PAGE */
.agu-enquiry-section {
    padding: 80px 0;
}

.agu-enquiry-form {
    background: #ffffff;
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,1);
}

.agu-faq-section {
    padding: 80px 0;
    background: #f8fafc;
}

.accordion-button {
    font-weight: 600;
}

.accordion-button:not(.collapsed) {
    background: #0b1c3a;
    color: white;
}

.accordion-body {
    color: #475569;
    line-height: 1.6;
}

.agu-list {
    list-style: none;
    padding: 0;
    margin: 15px 0;
}

.agu-list li {
    padding: 6px 0;
    position: relative;
    padding-left: 22px;
    color: #e6ebeb;
}

.agu-list li::before {
    content: "✔";
    position: absolute;
    left: 0;
    color: #0EA5A4;
    font-weight: bold;
}


/* CONTACT PAGE */
.agu-contact-section {
    padding: 80px 0;
}

.agu-contact-info p {
    margin-bottom: 8px;
    color: #475569;
}

.agu-enquiry-form h4 {
    margin-bottom: 15px;
}

/* NEWSLETTER PAGE */
.agu-newsletter-section {
    padding: 80px 0;
}

.agu-top5-section {
    background: #f8f9fa;
    padding: 60px 0;
}

.agu-top5-box {
    background: #ffffff;
    border: 1px solid #e2e2e2;
}

.agu-top5-box h2 {
    color: #0d6efd;
    font-weight: 600;
}
.agu-top5-form-section {
    padding: 60px 0;
}

.card-header {
    border-radius: 6px 6px 0 0;
}
.agu-recognition-programs {
    padding: 60px 0;
    background: #f9f9f9;
}

.agu-rec-card h5 {
    color: #0d6efd;
    font-weight: 600;
}
