/* Reset e base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Google Sans', 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fafafa;
    overflow-x: hidden;
    overflow-y: auto;
    opacity: 1;
}


.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========================================
   HEADER SECTION
   ======================================== */
header {
    background: #fff;
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
    position: static;
    width: 100%;
    z-index: 1000;
}

/* Top Utility Bar */
.top-utility-bar {
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    padding: 0.4rem 0;
}

.utility-links {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 1.5rem;
}

.utility-links a {
    color: #64748b;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.utility-links a:hover {
    color: #1e3a8a;
}

.language-selector {
    background: transparent;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    padding: 0.2rem 0.4rem;
    font-size: 0.85rem;
    color: #64748b;
    cursor: pointer;
}

/* Main Header */
.main-header {
    padding: 1.5rem 0 1rem 0;
    border-bottom: 3px solid #1e3a8a;
}

.header-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    padding: 0 2rem 0 6rem;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    max-width: 1100px;
}

.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo-image {
    height: 120px;
    width: auto;
    object-fit: contain;
}

.institutional-info {
    flex: 0 0 auto;
    padding-left: 1.5rem;
    border-left: 2px solid #e2e8f0;
    width: 380px;
}

.institutional-info p {
    color: #64748b;
    font-size: 0.75rem;
    line-height: 1.1;
    margin: 0;
    font-style: italic;
    text-align: left;
    max-width: 350px;
}

/* Main Navigation */
.main-navigation {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 50%, #f1f5f9 100%);
    border-bottom: none;
    padding: 0;
    margin: 0;
    position: relative;
    overflow: visible;
    z-index: 1000;
}

.main-navigation .container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 0.5rem;
    overflow: visible;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0;
    justify-content: center;
    flex-wrap: nowrap;
    max-width: 100%;
}

.nav-item {
    position: relative;
    flex-shrink: 0;
}

.nav-link {
    display: block;
    padding: 0.5rem 0.6rem;
    color: #374151;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.8125rem;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
    white-space: nowrap;
    text-align: center;
}

.nav-link:hover,
.nav-link.active {
    color: #1e3a8a;
    background: #f8fafc;
    border-bottom-color: #1e3a8a;
}

/* Dropdown Menu */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 200px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    z-index: 1002;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    list-style: none;
    margin: 0;
    padding: 0.5rem 0;
    display: none;
}

.dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    display: block;
}


.dropdown-menu li {
    margin: 0;
}

.dropdown-menu a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: #64748b;
    text-decoration: none;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.dropdown-menu a:hover {
    background: #f8fafc;
    color: #1e3a8a;
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    background: #f1f5f9;
    color: #333333;
    padding: 0;
    margin-top: 0;
    overflow: hidden;
}

.hero-container {
    display: flex;
    align-items: stretch;
    max-width: 100%;
    margin: 0;
    min-height: 500px;
}

.hero-content-wrapper {
    display: flex;
    align-items: stretch;
    width: 100%;
    position: relative;
}

.hero-text-content {
    flex: 0 0 50%;
    padding: 40px 40px 60px 60px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    background: #f1f5f9;
    position: relative;
    margin-top: 8rem;
}

.hero-text-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23f3f4f6" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="%23f3f4f6" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="%23f3f4f6" opacity="0.1"/><circle cx="10" cy="60" r="0.5" fill="%23f3f4f6" opacity="0.1"/><circle cx="90" cy="30" r="0.5" fill="%23f3f4f6" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
    pointer-events: none;
}

.hero-image {
    flex: 0 0 50%;
    position: relative;
    min-height: 500px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    margin-top: 8rem;
}

.hero-image img {
    width: 90%;
    height: auto;
    max-width: 600px;
    max-height: 450px;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}

.hero-main-title {
    font-size: 3.5rem;
    font-weight: 300;
    color: #1e40af;
    margin: 0;
    line-height: 1.1;
    letter-spacing: -0.08em;
    font-style: italic;
    width: 100%;
    text-align: center;
    position: absolute;
    top: 7%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    padding: 0 2rem;
    text-shadow: 0 2px 4px rgba(30, 64, 175, 0.1);
}

.hero-main-title::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 3px;
    background: linear-gradient(90deg, transparent, #1e40af, transparent);
    opacity: 0.4;
    border-radius: 2px;
}


.hero-text {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: #6b7280;
    font-weight: 400;
    max-width: 90%;
}

.hero-text strong {
    font-weight: 700;
    color: #1e3a8a;
}

.hero-text a {
    color: #1e3a8a;
    text-decoration: underline;
}

/* ========================================
   PAGE CONTENT STYLES
   ======================================== */
.page-content {
    background: #f8fafc;
    padding: 80px 0;
    min-height: 60vh;
}

.page-title {
    font-size: 3rem;
    font-weight: 300;
    color: #1e40af;
    text-align: center;
    margin-bottom: 3rem;
    letter-spacing: -0.08em;
    font-style: italic;
    text-shadow: 0 2px 4px rgba(30, 64, 175, 0.1);
    position: relative;
    z-index: 1;
}

.page-title::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 3px;
    background: linear-gradient(90deg, transparent, #1e40af, transparent);
    opacity: 0.4;
    border-radius: 2px;
}

.content-section {
    background: #fff;
    padding: 3rem;
    margin-bottom: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 1px solid #f1f5f9;
}

/* Special styling for main title section */
.main-title-section {
    background: #fff;
    padding: 1rem 2rem;
    margin-bottom: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 1px solid #f1f5f9;
    text-align: center;
}

.main-title-section p {
    font-size: 1.2rem;
    font-weight: 400;
    color: #374151;
    margin: 0;
    letter-spacing: -0.025em;
}

.content-section h2 {
    font-size: 2rem;
    font-weight: 600;
    color: #1e40af;
    margin-bottom: 1.5rem;
    margin-top: 0;
}

.content-section h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 1rem;
    margin-top: 2rem;
}

.content-section p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #4b5563;
    margin-bottom: 1.5rem;
    text-align: justify;
}

/* ========================================
   GENERAL SECTION STYLES
   ======================================== */
section {
    padding: 80px 0;
}

section h2 {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 1rem;
    color: #1e40af;
    font-weight: 700;
    letter-spacing: -0.025em;
}

.section-description {
    text-align: center;
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 3rem;
    color: #64748b;
    font-weight: 400;
}

/* ========================================
   MEMBERSHIP SECTION - Diventa Socio
   ======================================== */
.membership {
    background: #fff;
}

.membership-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.membership-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.membership-card-link:hover {
    transform: none;
}

.membership-card {
    background: #fff;
    padding: 3rem 2.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 25px rgba(0,0,0,0.08), 0 0 0 1px rgba(30, 64, 175, 0.05);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #f1f5f9;
    position: relative;
    overflow: hidden;
}

.membership-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #1e40af);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.membership-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.15);
    border-color: #dbeafe;
}

.membership-card:hover::before {
    transform: scaleX(1);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
}

.membership-card h3 {
    color: #1e3a8a;
    margin-bottom: 1rem;
    font-size: 1.4rem;
    font-weight: 600;
}

.membership-card p {
    color: #64748b;
    line-height: 1.6;
    font-size: 1rem;
}

/* Status colors for course calendar */
.status-closed {
    color: #ef4444 !important; /* Bright red for closed */
    font-weight: 800 !important;
    font-size: 1.2em !important;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3) !important;
    background: linear-gradient(45deg, #fee2e2, #fecaca) !important;
    padding: 0.5rem 1rem !important;
    border-radius: 8px !important;
    border: 2px solid #dc2626 !important;
    display: inline-block !important;
}

.status-open {
    color: #1d4ed8 !important; /* Bright blue for open */
    font-weight: 800 !important;
    font-size: 1.2em !important;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3) !important;
    background: linear-gradient(45deg, #dbeafe, #bfdbfe) !important;
    padding: 0.5rem 1rem !important;
    border-radius: 8px !important;
    border: 2px solid #2563eb !important;
    display: inline-block !important;
}

/* Course calendar styles */
.course-calendar {
    margin-top: 2rem;
}

.course-item {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.course-item:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.course-header h3 {
    color: #1e3a8a;
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
}

.course-title {
    color: #059669;
    font-size: 1.2rem;
    font-weight: 600;
    display: block;
    margin-bottom: 1rem;
}

.course-details p {
    margin-bottom: 0.75rem;
    line-height: 1.6;
}

.course-details strong {
    color: #374151;
    font-weight: 600;
}

/* Company showcase styles */
.company-showcase {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2rem;
    align-items: center;
}

.company-logo {
    display: flex;
    justify-content: center;
    align-items: center;
}

.company-logo-image {
    max-width: 150px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.company-info h3 {
    color: #1e3a8a;
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.company-info p {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.company-info strong {
    color: #374151;
    font-weight: 600;
}

/* ========================================
   FIND COACH SECTION - Cerca Coach
   ======================================== */
.find-coach {
    background: #f8fafc;
}

.search-tools {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.search-card {
    background: #fff;
    padding: 2.5rem 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #f1f5f9;
}

.search-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.search-card h3 {
    color: #1e3a8a;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.search-card p {
    color: #64748b;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.search-button {
    background: #3b82f6;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-button:hover {
    background: #2563eb;
    transform: translateY(-1px);
}

/* ========================================
   COURSES SECTION - Corsi
   ======================================== */
.courses {
    background: #fff;
}

.courses-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.tab-button {
    padding: 12px 24px;
    border: 2px solid #e2e8f0;
    background: #fff;
    color: #64748b;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-button.active,
.tab-button:hover {
    background: #1e3a8a;
    color: white;
    border-color: #1e3a8a;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.course-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.course-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.course-card {
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 1px solid #f1f5f9;
    transition: all 0.3s ease;
}

.course-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.course-card h3 {
    color: #1e3a8a;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.course-card p {
    color: #64748b;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.course-meta {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.course-meta span {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.duration {
    background: #dbeafe;
    color: #1e40af;
}

.level {
    background: #fef3c7;
    color: #92400e;
}

/* ========================================
   COMPANIES SECTION - Aziende
   ======================================== */
.companies {
    background: #f8fafc;
}

.companies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.company-card {
    background: #fff;
    padding: 2.5rem 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #f1f5f9;
}

.company-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.company-card h3 {
    color: #1e3a8a;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.company-card p {
    color: #64748b;
    line-height: 1.6;
}

/* ========================================
   QUOTES SECTION - Citazioni
   ======================================== */
.quotes {
    background: #1e3a8a;
    color: white;
}

.quotes h2 {
    color: white;
}

.quotes-container {
    margin-top: 3rem;
}

.quotes-slider {
    position: relative;
    overflow: hidden;
}

.quotes-slider .quote-card {
    display: none;
    text-align: center;
    opacity: 0;
    transform: translateX(100%);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.quotes-slider .quote-card.active {
    display: block;
    opacity: 1;
    transform: translateX(0);
}

.quotes-navigation {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 2rem;
    gap: 1rem;
}

.quote-nav-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 10px 15px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 24px;
    transition: all 0.3s ease;
    min-width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quote-nav-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: scale(1.1);
}

.quote-indicators {
    display: flex;
    gap: 10px;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: background 0.3s ease;
}

.indicator.active {
    background: white;
}

.indicator:hover {
    background: rgba(255, 255, 255, 0.7);
}

.support-actions {
    text-align: center;
    margin-top: 2rem;
    margin-bottom: 3rem;
}

.btn-primary {
    display: inline-block;
    background: linear-gradient(135deg, #3b82f6, #1e40af);
    color: white;
    padding: 12px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #1e40af, #1e3a8a);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3);
}

.quote-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 2.5rem 2rem;
    border-radius: 12px;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.quote-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-3px);
}

.quote-card blockquote {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.quote-card cite {
    font-size: 0.9rem;
    opacity: 0.8;
    font-weight: 500;
}

/* ========================================
   CITIZEN SUPPORT SECTION - Sportello Cittadino
   ======================================== */
.citizen-support {
    background: #fff;
}

.support-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.support-card {
    background: #fff;
    padding: 2.5rem 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #f1f5f9;
}

.support-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.support-card h3 {
    color: #1e3a8a;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.support-card p {
    color: #64748b;
    line-height: 1.6;
}

/* Services Section */
.services {
    padding: 80px 0;
}

.services h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2c3e50;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.service-card p {
    color: #666;
    line-height: 1.6;
}

/* ========================================
   CONTACT SECTION - Contatti
   ======================================== */
.contact {
    background: #f8fafc;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.contact-info h3 {
    color: #1e3a8a;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.contact-info p {
    color: #64748b;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.contact-details p {
    margin-bottom: 0.5rem;
    color: #374151;
}

.contact-details strong {
    color: #1e3a8a;
}

.contact-form {
    background: #fff;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 1px solid #f1f5f9;
}

.contact-form h3 {
    color: #1e3a8a;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    margin-bottom: 1rem;
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.contact-form textarea {
    height: 120px;
    resize: vertical;
}

.contact-form button {
    background: #1e3a8a;
    color: white;
    padding: 14px 28px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.contact-form button:hover {
    background: #1e40af;
    transform: translateY(-1px);
}

/* ========================================
   FOOTER SECTION
   ======================================== */
footer {
    background: #1e3a8a;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.footer-section h4 {
    color: #93c5fd;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.footer-section p {
    color: #cbd5e1;
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li {
    margin-bottom: 0.3rem;
}

.footer-section ul li a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: white;
}

.footer-logo-section {
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.footer-logo-section .footer-logo-image {
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-logo-section .footer-logo-image:hover {
    opacity: 1;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 1.5rem;
    text-align: center;
}

.footer-bottom p {
    color: #9ca3af;
    font-size: 0.9rem;
}

/* ========================================
   RESPONSIVE STYLES
   ======================================== */
@media (max-width: 1200px) {
    .nav-link {
        padding: 0.5rem 0.4rem;
        font-size: 0.8125rem;
    }
    
    .dropdown-menu {
        min-width: 180px;
    }
}

@media (max-width: 1024px) {
    .nav-link {
        padding: 0.5rem 0.3rem;
        font-size: 0.75rem;
    }
    
    .dropdown-menu {
        min-width: 160px;
    }
}

/* ========================================
   MOBILE HAMBURGER MENU
   ======================================== */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1100;
}

.mobile-menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #1e3a8a;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

@media (max-width: 768px) {
    /* Hide utility bar */
    .top-utility-bar {
        display: none;
    }
    
    /* Header adjustments */
    .main-header {
        padding: 0.75rem 0;
    }
    
    .header-content {
        flex-direction: column;
        gap: 0.75rem;
        padding: 0 1rem;
    }
    
    .logo-section {
        flex-direction: column;
        gap: 0.5rem;
        align-items: center;
        max-width: 100%;
    }
    
    .logo {
        justify-content: center;
    }
    
    .logo-image {
        height: 70px;
    }
    
    .institutional-info {
        display: none;
    }
    
    /* Show hamburger menu */
    .mobile-menu-toggle {
        display: flex;
        position: absolute;
        right: 1rem;
        top: 1rem;
    }
    
    /* Navigation mobile styles */
    .main-navigation {
        position: relative;
    }
    
    .main-navigation .container {
        padding: 0;
    }
    
    .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        box-shadow: 0 4px 20px rgba(0,0,0,0.15);
        z-index: 1000;
        max-height: 70vh;
        overflow-y: auto;
    }
    
    .nav-menu.mobile-open {
        display: flex;
    }
    
    .nav-item {
        width: 100%;
        border-bottom: 1px solid #e2e8f0;
    }
    
    .nav-item.dropdown {
        position: relative;
    }
    
    .nav-link {
        display: block;
        padding: 1rem 1.5rem;
        font-size: 1rem;
        text-align: left;
        color: #1e3a8a;
    }
    
    .nav-link:hover {
        background: #f1f5f9;
    }
    
    /* Dropdown mobile */
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: hidden;
        transform: none;
        box-shadow: none;
        border: none;
        background: #f8fafc;
        margin-top: 0;
        display: none;
        min-width: 100%;
        padding: 0;
    }
    
    .dropdown-menu.show {
        display: block;
        visibility: visible;
    }
    
    .dropdown-menu li a {
        padding: 0.875rem 2rem;
        font-size: 0.9rem;
        border-bottom: 1px solid #e2e8f0;
    }
    
    .search-icon {
        display: none;
    }
    
    /* Hero Responsive */
    .hero-container {
        flex-direction: column;
        min-height: auto;
    }
    
    .hero-main-title {
        font-size: 1.5rem;
        top: 3%;
        padding: 0 1rem;
        position: relative;
        text-align: center;
        margin-bottom: 1rem;
    }

    .hero-main-title::after {
        width: 60%;
        height: 2px;
    }

    .hero-content-wrapper {
        flex-direction: column;
        padding: 1rem;
    }

    .hero-text-content {
        padding: 20px 15px;
        max-width: 100%;
        margin-top: 0;
    }
    
    .hero-text {
        font-size: 0.9rem;
        line-height: 1.5;
    }

    .hero-image {
        min-height: 250px;
        width: 100%;
        padding: 20px;
        margin-top: 0;
    }

    .hero-image img {
        width: 90%;
        max-width: 300px;
        max-height: 200px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }
    
    .cta-button {
        width: 100%;
        max-width: 280px;
        padding: 0.875rem 1.5rem;
        font-size: 0.9rem;
    }

    /* Page Content Responsive */
    .page-content {
        padding: 1.5rem 0;
    }
    
    .page-content .container {
        padding: 0 1rem;
    }
    
    .page-title {
        font-size: 1.75rem;
        margin-bottom: 1.5rem;
        padding: 0 0.5rem;
    }

    .page-title::after {
        width: 60%;
        height: 2px;
    }

    .content-section {
        padding: 1.25rem 1rem;
        margin-bottom: 1rem;
    }

    .main-title-section {
        padding: 0.75rem 1rem;
        margin-bottom: 1rem;
    }

    .main-title-section p {
        font-size: 0.9rem;
        line-height: 1.5;
    }

    .content-section h2 {
        font-size: 1.4rem;
        margin-bottom: 1rem;
    }

    .content-section h3 {
        font-size: 1.15rem;
    }

    .content-section p {
        font-size: 0.9rem;
        line-height: 1.6;
    }
    
    /* Grids responsive */
    .membership-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .search-tools,
    .course-grid,
    .companies-grid,
    .quotes-grid,
    .support-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .membership-card,
    .search-card,
    .course-card,
    .company-card,
    .quote-card,
    .support-card {
        padding: 1.5rem 1rem;
    }
    
    .membership-card h3,
    .search-card h3 {
        font-size: 1.1rem;
    }
    
    .membership-card p,
    .search-card p {
        font-size: 0.85rem;
    }
    
    .card-icon {
        font-size: 2.5rem;
        margin-bottom: 0.75rem;
    }
    
    /* Contact responsive */
    .contact-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .contact-form {
        padding: 1.5rem 1rem;
    }
    
    /* Courses tabs responsive */
    .courses-tabs {
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
    }
    
    .tab-button {
        width: 100%;
        padding: 0.75rem 1rem;
    }
    
    /* Footer responsive */
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1.5rem;
    }
    
    .footer-section {
        padding: 0.5rem 0;
    }
    
    .footer-bottom {
        padding: 1rem;
        font-size: 0.8rem;
    }
    
    /* Section titles */
    section h2 {
        font-size: 1.6rem;
        padding: 0 1rem;
    }
    
    .section-description {
        font-size: 0.95rem;
        padding: 0 1rem;
    }
    
    /* Tables responsive */
    table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
        font-size: 0.85rem;
    }
    
    /* Hide elements on mobile if needed */
    .desktop-only {
        display: none;
    }
}

@media (max-width: 480px) {
    .logo-image {
        height: 60px;
    }
    
    .hero-main-title {
        font-size: 1.25rem;
    }
    
    .page-title {
        font-size: 1.5rem;
    }
    
    .content-section {
        padding: 1rem 0.75rem;
    }
    
    .content-section h2 {
        font-size: 1.25rem;
    }
    
    .content-section p {
        font-size: 0.85rem;
    }
    
    .membership-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-button {
        font-size: 0.85rem;
        padding: 0.75rem 1rem;
    }
}
