/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #1f2937;
    background-color: #ffffff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header */
.header {
    background: #ffffff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-text h1 {
    font-size: 20px;
    font-weight: 700;
    color: #059669;
    line-height: 1.2;
}

.logo-text p {
    font-size: 12px;
    color: #6b7280;
    font-weight: 500;
}

/* Desktop Navigation */
.desktop-nav {
    display: flex;
    gap: 32px;
    align-items: center;
}

.desktop-nav > a {
    text-decoration: none;
    color: #4b5563;
    font-weight: 500;
    font-size: 15px;
    transition: color 0.2s ease;
}

.desktop-nav > a:hover {
    color: #059669;
}

/* Desktop Dropdown */
.nav-dropdown {
    position: relative;
}

.dropdown-trigger {
    text-decoration: none;
    color: #4b5563;
    font-weight: 500;
    font-size: 15px;
    transition: color 0.2s ease;
    display: flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
}

.dropdown-trigger:hover {
    color: #059669;
}

.dropdown-arrow {
    font-size: 10px;
    transition: transform 0.2s ease;
}

.nav-dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 220px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    margin-top: 8px;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 12px 20px;
    color: #4b5563;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
}

.dropdown-menu a:hover {
    background: #f9fafb;
    color: #059669;
    border-left-color: #059669;
}

.desktop-portal {
    background: #059669;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.desktop-portal:hover {
    background: #047857;
}

/* Portal Dropdown System */
.portal-dropdown {
    position: relative;
}

.portal-dropdown .portal-btn {
    background: linear-gradient(135deg, #059669, #047857);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 2px 4px rgba(5, 150, 105, 0.2);
}

.portal-dropdown .portal-btn:hover {
    background: linear-gradient(135deg, #047857, #065f46);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(5, 150, 105, 0.3);
}

.portal-dropdown .dropdown-arrow {
    font-size: 10px;
    transition: transform 0.2s ease;
}

.portal-dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.portal-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    min-width: 280px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    border-radius: 12px;
    padding: 12px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    margin-top: 8px;
    border: 1px solid #e5e7eb;
}

.portal-dropdown:hover .portal-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.portal-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s ease;
    margin-bottom: 4px;
    border-left: 3px solid transparent;
}

.portal-link:last-child {
    margin-bottom: 0;
}

.portal-link.admin {
    color: #7c2d12;
}

.portal-link.admin:hover {
    background: #fef3f2;
    border-left-color: #dc2626;
    transform: translateX(4px);
}

.portal-link.teacher {
    color: #1e40af;
}

.portal-link.teacher:hover {
    background: #eff6ff;
    border-left-color: #3b82f6;
    transform: translateX(4px);
}

.portal-link.parent {
    color: #059669;
}

.portal-link.parent:hover {
    background: #f0fdf4;
    border-left-color: #059669;
    transform: translateX(4px);
}

.portal-icon {
    font-size: 24px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: #f9fafb;
}

.portal-link.admin .portal-icon {
    background: #fef3f2;
}

.portal-link.teacher .portal-icon {
    background: #eff6ff;
}

.portal-link.parent .portal-icon {
    background: #f0fdf4;
}

.portal-title {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 2px;
}

.portal-subtitle {
    font-size: 12px;
    opacity: 0.7;
}

/* Mobile Portals */
.mobile-portals-section {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px solid #e5e7eb;
}

.mobile-portals-title {
    text-align: center;
    font-weight: 600;
    color: #374151;
    margin-bottom: 16px;
    font-size: 16px;
}

.mobile-portals-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    padding: 0 16px;
}

.mobile-portal-card {
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 12px 6px;
    text-align: center;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    display: block;
}

.mobile-portal-card.admin {
    border-color: #fecaca;
    color: #7c2d12;
}

.mobile-portal-card.admin:hover {
    background: #fef3f2;
    border-color: #dc2626;
    transform: translateY(-2px);
}

.mobile-portal-card.teacher {
    border-color: #bfdbfe;
    color: #1e40af;
}

.mobile-portal-card.teacher:hover {
    background: #eff6ff;
    border-color: #3b82f6;
    transform: translateY(-2px);
}

.mobile-portal-card.parent {
    border-color: #bbf7d0;
    color: #059669;
}

.mobile-portal-card.parent:hover {
    background: #f0fdf4;
    border-color: #059669;
    transform: translateY(-2px);
}

.mobile-portal-icon {
    font-size: 24px;
    margin-bottom: 6px;
    display: block;
}

.mobile-portal-card.admin .mobile-portal-icon {
    background: transparent;
}

.mobile-portal-card.teacher .mobile-portal-icon {
    background: transparent;
}

.mobile-portal-card.parent .mobile-portal-icon {
    background: transparent;
}

.mobile-portal-content {
    /* Remove this as we're back to simple vertical layout */
}

.mobile-portal-title {
    font-weight: 600;
    font-size: 13px;
    margin-bottom: 2px;
    line-height: 1.1;
}

.mobile-portal-subtitle {
    font-size: 10px;
    opacity: 0.7;
    line-height: 1.1;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 32px;
    height: 32px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 1001;
}

.hamburger-line {
    width: 100%;
    height: 3px;
    background: #059669;
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile Navigation */
.mobile-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 24px 0;
    transform: translateY(-100%);
    transition: transform 0.3s ease;
    opacity: 0;
    visibility: hidden;
    max-height: calc(100vh - 80px);
    overflow-y: auto;
}

.mobile-nav.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.mobile-nav a {
    display: block;
    padding: 12px 24px;
    color: #4b5563;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    border-bottom: 1px solid #f3f4f6;
    transition: all 0.2s ease;
}

.mobile-nav a:hover {
    background: #f9fafb;
    color: #059669;
}

.mobile-portal-btn {
    margin: 16px 24px 0;
    background: #059669;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 16px;
    cursor: pointer;
    width: calc(100% - 48px);
    transition: background-color 0.2s ease;
}

.mobile-portal-btn:hover {
    background: #047857;
}

/* Mobile Dropdown */
.mobile-dropdown {
    border-bottom: 1px solid #f3f4f6;
}

.mobile-dropdown-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 24px;
    color: #4b5563;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    border-bottom: none;
    transition: all 0.2s ease;
    cursor: pointer;
}

.mobile-dropdown-trigger:hover {
    background: #f9fafb;
    color: #059669;
}

.mobile-dropdown-arrow {
    font-size: 12px;
    transition: transform 0.2s ease;
}

.mobile-dropdown.active .mobile-dropdown-arrow {
    transform: rotate(180deg);
}

.mobile-dropdown-menu {
    max-height: 0;
    overflow: hidden;
    background: #f9fafb;
    transition: max-height 0.3s ease;
}

.mobile-dropdown.active .mobile-dropdown-menu {
    max-height: 300px;
}

.mobile-dropdown-menu a {
    display: block;
    padding: 10px 24px 10px 48px;
    color: #6b7280;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    border-bottom: 1px solid #e5e7eb;
    transition: all 0.2s ease;
}

.mobile-dropdown-menu a:hover {
    background: #e5e7eb;
    color: #059669;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    padding: 80px 0;
    position: relative;
}

.hero-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text h2 {
    font-size: 48px;
    font-weight: 700;
    color: #1f2937;
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero-text p {
    font-size: 18px;
    color: #6b7280;
    margin-bottom: 32px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 16px;
}

.btn-primary {
    background: #059669;
    color: white;
    border: none;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-primary:hover {
    background: #047857;
    transform: translateY(-1px);
}

.btn-secondary {
    background: transparent;
    color: #059669;
    border: 2px solid #059669;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-secondary:hover {
    background: #059669;
    color: white;
    transform: translateY(-1px);
}

.hero-badge {
    display: flex;
    justify-content: center;
}

.badge {
    background: white;
    padding: 24px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.badge-title {
    display: block;
    font-size: 24px;
    font-weight: 700;
    color: #059669;
}

.badge-subtitle {
    display: block;
    font-size: 14px;
    color: #6b7280;
    margin-top: 4px;
}

/* Quick Access Cards */
.quick-access {
    background: #059669;
    padding: 0;
    margin-top: -1px;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0;
}

.access-card {
    background: #059669;
    color: white;
    padding: 20px 16px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.access-card:last-child {
    border-right: none;
}

.access-card:hover {
    background: #047857;
    transform: translateY(-2px);
}

.card-icon {
    font-size: 24px;
    margin-bottom: 8px;
    display: block;
}

.access-card h3 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 2px;
    line-height: 1.2;
}

.access-card p {
    font-size: 12px;
    opacity: 0.9;
    line-height: 1.2;
}

/* Excellence Section */
.excellence {
    padding: 80px 0;
    background: #f9fafb;
}

.excellence-content {
    text-align: center;
}

.excellence h2 {
    font-size: 32px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 16px;
}

.year-highlight {
    font-size: 72px;
    font-weight: 800;
    color: #059669;
    line-height: 1;
    margin-bottom: 8px;
}

.year-subtitle {
    font-size: 18px;
    color: #6b7280;
    margin-bottom: 40px;
}

.welcome-message {
    max-width: 800px;
    margin: 0 auto 60px;
}

.welcome-message p {
    font-size: 20px;
    color: #4b5563;
    line-height: 1.6;
    font-style: italic;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    max-width: 600px;
    margin: 0 auto;
}

.stat-number {
    font-size: 36px;
    font-weight: 700;
    color: #059669;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 16px;
    color: #6b7280;
}

/* Welcome Section */
.welcome {
    padding: 80px 0;
    background: white;
}

.welcome-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}

.welcome-image {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.welcome-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.welcome-text h2 {
    font-size: 36px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 24px;
    line-height: 1.2;
}

.welcome-text p {
    font-size: 16px;
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 20px;
}

.welcome-text p:last-child {
    margin-bottom: 0;
}

.welcome-text strong {
    color: #059669;
    font-weight: 600;
}

.achievement-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 32px;
}

.achievement-item {
    text-align: center;
    padding: 24px 16px;
    background: #f9fafb;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.achievement-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.achievement-icon {
    font-size: 32px;
    margin-bottom: 12px;
}

.achievement-number {
    font-size: 24px;
    font-weight: 700;
    color: #059669;
    margin-bottom: 8px;
}

.achievement-label {
    font-size: 14px;
    color: #6b7280;
    font-weight: 500;
}

/* News Section */
.news {
    padding: 80px 0;
    background: white;
}

.news h2 {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    color: #1f2937;
    margin-bottom: 60px;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.news-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.news-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.news-image {
    height: 200px;
    background: linear-gradient(135deg, #d1fae5, #a7f3d0);
}

.news-content {
    padding: 24px;
}

.news-date {
    font-size: 14px;
    color: #059669;
    font-weight: 600;
    margin-bottom: 8px;
}

.news-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 12px;
}

.news-card p {
    color: #6b7280;
    margin-bottom: 16px;
    line-height: 1.5;
}

.read-more {
    color: #059669;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: color 0.2s ease;
}

.read-more:hover {
    color: #047857;
}

/* Sports & Clubs Section */
.sports-clubs {
    padding: 80px 0;
    background: #f9fafb;
}

.sports-clubs h2 {
    font-size: 42px;
    font-weight: 700;
    text-align: center;
    color: #1f2937;
    margin-bottom: 16px;
}

.section-subtitle {
    text-align: center;
    font-size: 18px;
    color: #6b7280;
    margin-bottom: 60px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
}

.activity-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.activity-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.activity-image {
    height: 200px;
    overflow: hidden;
}

.activity-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.activity-card:hover .activity-image img {
    transform: scale(1.05);
}

.activity-content {
    padding: 24px;
    text-align: center;
}

.activity-icon {
    font-size: 32px;
    margin-bottom: 16px;
}

.activity-content h3 {
    font-size: 20px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 12px;
}

.activity-content p {
    color: #6b7280;
    line-height: 1.5;
    margin-bottom: 20px;
    font-size: 15px;
}

.learn-more-btn {
    background: #059669;
    color: white;
    border: none;
    padding: 12px 32px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 100%;
}

.learn-more-btn:hover {
    background: #047857;
    transform: translateY(-1px);
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: #059669;
    color: white;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.contact-item {
    display: flex;
    gap: 16px;
}

.contact-icon {
    font-size: 24px;
    width: 32px;
    flex-shrink: 0;
}

.contact-item h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 4px;
}

.contact-item p {
    opacity: 0.9;
    line-height: 1.5;
}

.contact-form {
    background: white;
    color: #1f2937;
    padding: 40px;
    border-radius: 12px;
}

.contact-form h3 {
    font-size: 24px;
    font-weight: 600;
    color: #059669;
    margin-bottom: 24px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #059669;
}

.contact-form input {
    margin-bottom: 16px;
}

.contact-form textarea {
    margin-bottom: 24px;
    resize: vertical;
}

/* Footer */
.footer {
    background: #1f2937;
    color: white;
    padding: 60px 0 24px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-logo h3 {
    font-size: 18px;
    font-weight: 700;
}

.footer-logo p {
    font-size: 12px;
    opacity: 0.7;
}

.footer-section h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-section a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-links a {
    background: #059669;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 14px;
    transition: background-color 0.2s ease;
}

.social-links a:hover {
    background: #047857;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 24px;
    text-align: center;
}

.footer-bottom p {
    opacity: 0.7;
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Hide desktop navigation and show mobile menu */
    .desktop-nav {
        display: none !important;
    }
    
    .portal-dropdown {
        display: none !important;
    }
    
    .mobile-menu-toggle {
        display: flex !important;
    }
    
    .mobile-nav {
        display: block !important;
    }
    
    /* Ensure dropdowns are hidden on mobile when not active */
    .nav-dropdown .dropdown-menu {
        display: none;
    }
    
    .portal-dropdown .portal-menu {
        display: none;
    }
    
    /* Hero adjustments */
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-text h2 {
        font-size: 36px;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    /* Quick access cards */
    .cards-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .access-card {
        padding: 18px 12px;
    }
    
    .access-card h3 {
        font-size: 13px;
    }
    
    .access-card p {
        font-size: 11px;
    }
    
    .card-icon {
        font-size: 22px;
        margin-bottom: 6px;
    }
    
    /* Other sections */
    .welcome-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
        margin-bottom: 60px;
    }
    
    .welcome-text h2 {
        font-size: 28px;
    }
    
    .achievement-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .activities-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .sports-clubs h2 {
        font-size: 32px;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .year-highlight {
        font-size: 48px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    /* Fixed Mobile Portal Layout - Force 3 columns on all mobile */
    .mobile-portals-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 8px;
        padding: 0 20px;
    }
    
    .mobile-portal-card {
        padding: 14px 8px;
        display: block;
        text-align: center;
    }
    
    .mobile-portal-icon {
        font-size: 26px;
        margin-bottom: 6px;
        display: block;
    }
    
    .mobile-portal-title {
        font-size: 14px;
        font-weight: 600;
        margin-bottom: 2px;
        line-height: 1.1;
    }
    
    .mobile-portal-subtitle {
        font-size: 11px;
        opacity: 0.8;
        line-height: 1.1;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .hero {
        padding: 60px 0;
    }
    
    .hero-text h2 {
        font-size: 28px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .welcome-text h2 {
        font-size: 24px;
    }
    
    .achievement-stats {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .achievement-item {
        padding: 20px 12px;
    }
    
    .sports-clubs h2 {
        font-size: 28px;
    }
    
    .activities-grid {
        grid-template-columns: 1fr;
    }
    
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .access-card {
        padding: 14px 8px;
    }
    
    .access-card h3 {
        font-size: 11px;
    }
    
    .access-card p {
        font-size: 10px;
    }
    
    .card-icon {
        font-size: 18px;
        margin-bottom: 4px;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    /* Small screen mobile portal adjustments - Force 3 columns */
    .mobile-portals-grid {
        padding: 0 12px;
        gap: 6px;
        grid-template-columns: repeat(3, 1fr) !important;
    }
    
    .mobile-portal-card {
        padding: 12px 4px;
        gap: 0;
        display: block;
        text-align: center;
    }
    
    .mobile-portal-icon {
        font-size: 20px;
        margin-bottom: 4px;
        display: block;
    }
    
    .mobile-portal-title {
        font-size: 11px;
        line-height: 1.1;
        margin-bottom: 2px;
        font-weight: 600;
    }
    
    .mobile-portal-subtitle {
        font-size: 8px;
        line-height: 1.1;
        opacity: 0.8;
    }
}