/* =========================================================
   SCL RRC - THE EXTRAORDINARY MASTER STYLESHEET
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;700;900&family=Inter:wght@400;500;600;700;800&family=Lora:ital,wght@0,400;0,500;0,600;1,400&display=swap');

:root {
    --primary-color: #6e0d19; 
    --primary-deep: #3b0309;
    --secondary-color: #c49a45; 
    --secondary-bright: #e8c06f;
    --text-dark: #0f0f0f; 
    --text-light: #ffffff;
    --bg-base: #fcfbf8; 
    --shadow-subtle: 0 8px 24px rgba(0,0,0,0.05);
}

body {
    margin: 0; padding: 0; font-family: 'Inter', sans-serif;
    background-color: var(--bg-base);
    background-image: radial-gradient(rgba(196, 154, 69, 0.1) 1px, transparent 1px);
    background-size: 25px 25px; color: var(--text-dark);
    -webkit-font-smoothing: antialiased; overflow-x: hidden; 
}

h1, h2, h3, h4 { font-family: 'Cinzel', serif; color: var(--primary-color); }

/* --- TOP BAR --- */
.top-bar {
    background: linear-gradient(90deg, var(--primary-deep), var(--primary-color));
    color: var(--text-light); padding: 14px 6%; display: flex;
    justify-content: space-between; align-items: center;
    font-size: 13px; letter-spacing: 1.5px; border-bottom: 3px solid var(--secondary-color);
}
.top-bar-title { font-family: 'Cinzel', serif; font-weight: 800; font-size: 15px; letter-spacing: 2.5px; color: var(--secondary-bright); }
.social-icons a { color: rgba(255, 255, 255, 0.85); margin-left: 25px; text-decoration: none; font-size: 16px; transition: all 0.3s ease; }
.social-icons a:hover { color: var(--secondary-bright); transform: translateY(-2px); }

/* --- NAVIGATION & DROPDOWN --- */
nav {
    background: rgba(255, 255, 255, 0.96); backdrop-filter: blur(12px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.03); position: sticky; top: 0;
    z-index: 1000; display: flex; justify-content: center; padding: 12px 0; align-items: center;
}
nav a, .dropbtn {
    text-decoration: none; color: #222; font-weight: 800; margin: 0 25px; font-size: 14px;
    letter-spacing: 1.5px; position: relative; padding-bottom: 4px; transition: color 0.3s ease; text-transform: capitalize; cursor: pointer;
}
nav a:hover, .nav-dropdown:hover .dropbtn { color: var(--primary-color); }

nav a::after, .dropbtn::after {
    content: ''; position: absolute; width: 0; height: 3px; bottom: 0; left: 50%;
    transform: translateX(-50%); background: var(--secondary-color); transition: width 0.3s ease; border-radius: 5px;
}
nav a:hover::after, .nav-dropdown:hover .dropbtn::after { width: 100%; }

.nav-dropdown { position: relative; display: inline-block; }

.nav-dropdown::after {
    content: ''; position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
    width: 220px; height: 25px; background: transparent; z-index: 1002;
}

.nav-dropdown-content {
    display: none; position: absolute; background-color: #ffffff; min-width: 220px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08); z-index: 1001; border-radius: 12px;
    overflow: hidden; top: calc(100% + 15px); left: 50%; transform: translateX(-50%);
    border: 1px solid rgba(0,0,0,0.05); margin-top: 0;
}
.nav-dropdown-content a {
    color: #333; padding: 16px 20px; text-decoration: none; display: block;
    text-align: center; margin: 0; border-bottom: 1px solid #f9f9f9;
    font-size: 13px; font-weight: 700; transition: all 0.3s ease;
}
.nav-dropdown-content a:last-child { border-bottom: none; }
.nav-dropdown-content a::after { display: none; }
.nav-dropdown-content a:hover { background-color: rgba(196, 154, 69, 0.08); color: var(--primary-color); transform: translateX(3px); }
.nav-dropdown:hover .nav-dropdown-content { display: block; animation: dropFade 0.3s ease; }
@keyframes dropFade { from { opacity: 0; transform: translate(-50%, -10px); } to { opacity: 1; transform: translate(-50%, 0); } }

/* --- SLIDESHOWS --- */
.slideshow-container, .scoop-slideshow-container {
    width: 96%; max-width: 1400px; margin: 15px auto 20px; border-radius: 16px;
    overflow: hidden; box-shadow: var(--shadow-subtle); background-color: #0b0b0e; position: relative;
}
.slide, .scoop-slide { position: absolute; top: 0; left: 0; width: 100%; opacity: 0; transition: opacity 1s ease-in-out; z-index: 1; pointer-events: none; }
.slide.active, .scoop-slide.active { position: relative; opacity: 1; z-index: 2; pointer-events: auto; }
.slide img, .scoop-slide img { width: 100%; height: auto; display: block; object-fit: contain !important; object-position: center !important;}

.slideshow-disclaimer { text-align: center; font-size: 13px; color: #888; font-style: italic; margin-top: 15px; margin-bottom: 30px; font-family: 'Inter', sans-serif; letter-spacing: 0.5px; padding: 0 15px; }

.slide-arrow {
    position: absolute; top: 50%; transform: translateY(-50%); background: rgba(0, 0, 0, 0.6);
    color: white; border: 2px solid rgba(255, 255, 255, 0.8); width: 45px; height: 45px; border-radius: 50%;
    font-size: 18px; cursor: pointer; z-index: 9999; display: flex; justify-content: center; align-items: center; transition: all 0.3s ease; pointer-events: auto;
}
.slide-arrow:hover { background: var(--primary-color); border-color: var(--primary-color); transform: translateY(-50%) scale(1.1); }
.slide-arrow.prev { left: 15px; }
.slide-arrow.next { right: 15px; }

/* --- GENERAL SECTIONS --- */
.section-container {
    max-width: 1250px; margin: 40px auto; padding: 35px 50px; background: var(--surface-white);
    border-radius: 16px; box-shadow: var(--shadow-subtle); border: 1px solid rgba(0,0,0,0.03); box-sizing: border-box; 
}
.section-header { text-align: center; margin-bottom: 25px; }
.section-header h2 { font-size: 42px; margin-bottom: 12px; font-weight: 800; }
.section-header .divider { height: 3px; width: 50px; background: var(--secondary-color); margin: 0 auto; border-radius: 5px; }
.about-text { font-size: 18px; line-height: 1.7; color: #333; text-align: center; font-family: 'Lora', serif; max-width: 1150px; margin: 0 auto; }
.about-text p { margin-top: 0; margin-bottom: 15px; }

/* --- CONTACT INFO --- */
.contact-item { display: flex; align-items: flex-start; margin-bottom: 35px; font-size: 17px; color: #444; font-weight: 600; }
.contact-item i { font-size: 26px; color: var(--secondary-color); margin-right: 25px; width: 30px; text-align: center; }
.contact-item strong { color: var(--primary-color); font-family: 'Cinzel', serif; font-size: 19px; letter-spacing: 1.5px; display: block; margin-bottom: 8px; font-weight: 900; }
.whatsapp-btn { display: inline-flex; align-items: center; background: #25D366; color: #fff; padding: 20px 40px; border-radius: 50px; text-decoration: none; font-weight: 800; letter-spacing: 1px; margin-top: 25px; box-shadow: 0 15px 35px rgba(37, 211, 102, 0.3); transition: all 0.4s ease; }
.whatsapp-btn:hover { transform: translateY(-5px); box-shadow: 0 20px 45px rgba(37, 211, 102, 0.4); }
#contact .contact-grid { display: flex !important; justify-content: center !important; align-items: center !important; padding-bottom: 40px; }
#contact .contact-info { flex: unset !important; max-width: 500px; margin: 0 auto; }

/* --- FOOTER --- */
footer { background: var(--primary-deep); color: rgba(255, 255, 255, 0.8); text-align: center; padding: 50px 20px; margin-top: 120px; font-size: 14px; letter-spacing: 2.5px; border-top: 5px solid var(--secondary-color); }

/* --- SCOOP --- */
.scoop-header-container { max-width: 1250px; margin: 25px auto 20px; text-align: center; padding: 0 20px; }
.scoop-title { font-size: 56px; color: var(--primary-deep); margin-bottom: 10px; font-family: 'Playfair Display', serif; font-weight: 900; position: relative; z-index: 2; }
.scoop-text-reveal { max-height: 0; opacity: 0; overflow: hidden; transform: translateY(-40px); transition: all 1.2s cubic-bezier(0.165, 0.84, 0.44, 1); z-index: 1; }
.scoop-text-reveal.active { max-height: 1000px; opacity: 1; transform: translateY(0); margin-bottom: 25px; }
.scoop-desc { font-size: 18px; color: #333; font-family: 'Lora', serif; max-width: 1150px; margin: 0 auto 15px; line-height: 1.7; }

/* --- SEARCH & APPLY BAR --- */
.action-bar { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 20px; margin-bottom: 60px; max-width: 800px; margin-left: auto; margin-right: auto; padding: 0 20px; }
.search-wrapper { flex: 1; min-width: 250px; position: relative; }
.search-input { width: 100%; padding: 20px 28px 20px 65px; border-radius: 50px; border: 1px solid rgba(196, 154, 69, 0.4); background: #ffffff; color: var(--text-dark); font-size: 16px; font-weight: 600; font-family: 'Inter', sans-serif; box-shadow: 0 15px 35px rgba(0,0,0,0.04); transition: all 0.4s ease; box-sizing: border-box; }
.search-input:focus { outline: none; border-color: var(--secondary-color); box-shadow: 0 15px 45px rgba(196, 154, 69, 0.15); }
.search-icon { position: absolute; left: 25px; top: 50%; transform: translateY(-50%); color: var(--secondary-color); font-size: 18px; }
.apply-btn { background: var(--primary-color); color: #fff; padding: 20px 45px; border-radius: 50px; font-weight: 800; text-decoration: none; box-shadow: 0 15px 30px rgba(110, 13, 25, 0.2); font-family: 'Inter', sans-serif; letter-spacing: 2px; text-transform: uppercase; transition: all 0.4s ease; white-space: nowrap; }
.apply-btn:hover { transform: translateY(-3px); background: var(--primary-deep); box-shadow: 0 20px 40px rgba(110, 13, 25, 0.3); }

/* --- THE NEW PREMIUM GRID CARDS --- */
.article-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 60px 40px; max-width: 1350px; margin: 0 auto 150px; padding: 0 20px; }
.article-card { background: #ffffff; border-radius: 20px; position: relative; cursor: pointer; box-shadow: 0 15px 35px rgba(0,0,0,0.04); border: 1px solid rgba(196, 154, 69, 0.2); transition: all 0.5s ease; display: flex; flex-direction: column; }
.article-card:hover { transform: translateY(-12px); border-color: var(--secondary-color); }
.article-code { position: absolute; top: -16px; left: 50%; transform: translateX(-50%); background: #ffffff; color: var(--primary-color); padding: 8px 24px; font-family: 'Inter', sans-serif; font-size: 13px; font-weight: 800; letter-spacing: 1.5px; border-radius: 40px; z-index: 10; box-shadow: 0 8px 20px rgba(0,0,0,0.08); border: 1px solid var(--secondary-color); text-transform: none; white-space: nowrap; transition: all 0.4s ease; }
.article-card:hover .article-code { background: var(--primary-color); color: #ffffff; border-color: var(--primary-color); }
.article-img-wrapper { background: linear-gradient(135deg, #fdfcf9, #f4f0e6); border-radius: 18px 18px 0 0; height: 320px; width: 100%; padding: 25px; box-sizing: border-box; border-bottom: 2px solid rgba(196, 154, 69, 0.15); overflow: hidden; display: flex; align-items: center; justify-content: center; position: relative; }
.article-img-wrapper::after { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; box-shadow: inset 0 0 20px rgba(0,0,0,0.04); pointer-events: none; }
.article-img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 15px 25px rgba(0,0,0,0.12)); transition: transform 0.7s ease; z-index: 1; }
.article-card:hover .article-img { transform: scale(1.06); }
.article-info { padding: 35px 25px 30px; text-align: center; background: #ffffff; border-radius: 0 0 20px 20px; position: relative; }
.article-name { font-family: 'Lora', serif; font-size: 24px; font-weight: 700; color: var(--primary-deep); margin: 0 0 12px 0; line-height: 1.3; text-transform: capitalize; }
.article-card:hover .article-name { color: var(--primary-color); }
.article-meta { display: flex; flex-direction: column; gap: 8px; font-family: 'Inter', sans-serif; font-size: 13.5px; font-weight: 600; color: #666666; }
.article-meta span { display: flex; align-items: center; justify-content: center; gap: 8px; }
.article-meta i { color: var(--secondary-color); font-size: 14px; }

/* =========================================================
   GENERATED ARTICLE PAGES 
   ========================================================= */
.article-page-container { max-width: 950px; margin: 35px auto 100px; padding: 60px 80px; background: #ffffff; border-radius: 12px; box-shadow: 0 30px 80px rgba(0,0,0,0.06); position: relative; border: 1px solid rgba(0,0,0,0.05); box-sizing: border-box; }
.article-page-container::before { content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 200px; height: 4px; background: var(--secondary-color); border-radius: 0 0 4px 4px; }
.article-page-title { text-align: center; font-size: 42px; margin-top: 20px; margin-bottom: 25px; color: var(--primary-color); font-family: 'Lora', serif; font-weight: 700; letter-spacing: 1px; line-height: 1.2; text-transform: capitalize; }
.meta-text { font-family: 'Inter', sans-serif !important; font-size: 14px !important; color: #444 !important; text-transform: none; letter-spacing: 1px; font-weight: 600 !important; text-align: center !important; margin: 0 auto 12px auto !important; background: transparent !important; padding: 0 !important; box-shadow: none !important; width: 100% !important; border-radius: 0 !important; line-height: 1.6; }
.meta-text:nth-of-type(1) { color: var(--primary-color) !important; font-weight: 800 !important; font-size: 14px !important; }
.meta-text:nth-of-type(3) { margin-bottom: 45px !important; padding-bottom: 30px !important; position: relative; }
.meta-text:nth-of-type(3)::after { content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 60px; height: 2px; background: var(--secondary-color); }
.article-text ~ .meta-text { display: none !important; }
.article-cover { display: block; width: 100%; height: auto; max-height: 550px; object-fit: contain; background: #fbfbfb; border: 1px solid rgba(0,0,0,0.05); padding: 15px; box-sizing: border-box; border-radius: 12px; margin: 0 0 50px 0; }
.article-text { font-size: 18.5px; line-height: 2.1; color: #222; text-align: justify; font-family: 'Lora', serif; margin-bottom: 30px; }
.drop-cap::first-letter { float: left; font-size: 4.8em; line-height: 0.85; margin: 0.05em 0.15em 0 0; color: var(--secondary-color); font-family: 'Cinzel', serif; font-weight: 900; }
.inline-image-right { float: right !important; width: 350px; max-width: 45% !important; border-radius: 12px; margin: 10px 0 25px 35px !important; box-shadow: 0 15px 35px rgba(0,0,0,0.08); object-fit: cover; clear: both !important; }
.inline-image-left { float: left !important; width: 350px; max-width: 45% !important; border-radius: 12px; margin: 10px 35px 25px 0 !important; box-shadow: 0 15px 35px rgba(0,0,0,0.08); object-fit: cover; clear: both !important; }
.qa-block { background: #fdfbf7; padding: 40px; border-radius: 16px; border: 1px solid rgba(196, 154, 69, 0.2); margin: 50px 0; clear: both; box-shadow: 0 10px 30px rgba(0,0,0,0.02); box-sizing: border-box; }
.question { font-weight: 800; color: var(--primary-deep); font-size: 20px; margin-bottom: 20px; font-family: 'Inter', sans-serif; line-height: 1.6; }
.gallery-title { text-align: center; color: var(--primary-color); font-family: 'Cinzel', serif; font-size: 28px; margin: 40px 0 30px; padding-top: 30px; clear: both; letter-spacing: 2px; font-weight: 900; border-top: 1px solid rgba(0,0,0,0.1); }
.photo-gallery { display: flex; flex-wrap: wrap; gap: 25px; justify-content: center; }
.gallery-img { width: auto; max-width: 100%; height: auto; max-height: 300px; object-fit: contain; border-radius: 8px; box-shadow: 0 10px 25px rgba(0,0,0,0.05); transition: all 0.3s ease; cursor: crosshair; background: #fff; padding: 5px; border: 1px solid rgba(0,0,0,0.05); }
.gallery-img:hover { transform: translateY(-5px); box-shadow: 0 15px 35px rgba(0,0,0,0.1); border-color: var(--secondary-color); }

/* =========================================================
   EXAMINATION REGISTRATION FORM (HIGH CONTRAST)
   ========================================================= */
.form-container {
    max-width: 900px; margin: 60px auto 100px; padding: 50px 70px;
    background: #ffffff; border-radius: 16px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.08); border: 1px solid rgba(0,0,0,0.1); position: relative;
}
.form-header { text-align: center; margin-bottom: 40px; position: relative; }
.form-header h2 { font-size: 38px; color: var(--primary-deep); margin-bottom: 10px; font-family: 'Cinzel', serif; font-weight: 900; }
.form-header p { color: #666; font-size: 16px; }

.clear-btn {
    background: transparent; color: #ff4444; border: 2px solid #ff4444; padding: 8px 20px; border-radius: 30px; font-size: 13px; font-weight: 700;
    cursor: pointer; text-transform: uppercase; letter-spacing: 1px; transition: all 0.3s ease; position: absolute; right: 0; top: 0;
}
.clear-btn:hover { background: #ff4444; color: #fff; box-shadow: 0 5px 15px rgba(255, 68, 68, 0.3); }

.form-section-title { font-family: 'Cinzel', serif; font-size: 24px; color: var(--primary-color); border-bottom: 2px solid var(--secondary-color); padding-bottom: 8px; margin: 40px 0 25px; font-weight: 800; }
.form-group { margin-bottom: 25px; position: relative; z-index: 1; }
.form-group label { display: block; margin-bottom: 8px; color: #222; font-weight: 700; font-size: 14px; }

/* Dynamic Inline Fee Display */
.inline-fee { color: var(--primary-color); font-weight: 800; font-size: 15px; margin-left: 10px; }
.highlight-fee { font-weight: bold !important; color: var(--primary-deep) !important; background: #fffbf0 !important; }

/* High Contrast Input Boxes */
.form-control {
    width: 100%; padding: 16px 20px; background: #f9f9f9; border: 2px solid #e0e0e0; color: #1a1a1a; border-radius: 8px; font-family: 'Inter', sans-serif; font-size: 15px; box-sizing: border-box; transition: all 0.3s ease;
}
.form-control:focus { outline: none; border-color: var(--secondary-color); background: #ffffff; box-shadow: 0 0 10px rgba(212, 175, 55, 0.2); }
.form-control:disabled, .form-control[readonly] { background: #eef0f2; color: #666; cursor: not-allowed; }

/* Form Hidden Logic */
.hidden-section { display: none; opacity: 0; transition: opacity 0.4s ease; }
.visible-section { display: block; opacity: 1; }

.checkbox-container {
    display: flex; align-items: center; gap: 10px; background: #fdfbf7; border: 2px solid var(--secondary-color);
    padding: 15px 20px; border-radius: 8px; margin-bottom: 25px; cursor: pointer; font-weight: 700; color: var(--primary-deep); font-size: 15px;
}
.checkbox-container input { width: 22px; height: 22px; accent-color: var(--primary-color); cursor: pointer; }

/* FIX: Dropdowns Interactive Layering */
.dropdown-suggestions {
    position: absolute; top: 100%; left: 0; right: 0; max-height: 220px; overflow-y: auto; background: #ffffff; border: 2px solid var(--secondary-color); border-top: none;
    border-radius: 0 0 8px 8px; z-index: 1005; display: none; box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

/* Modals (QR and PDF Syllabus) */
.qr-modal {
    display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.8); z-index: 10000; justify-content: center; align-items: center; backdrop-filter: blur(5px);
}
.qr-modal.active { display: flex; }
.qr-modal-content { background: #fff; padding: 30px; border-radius: 16px; text-align: center; position: relative; max-width: 90%; width: 350px; animation: popIn 0.3s ease-out; }

/* FIX: Ensure QR Code isn't massive */
.qr-modal-content img { max-width: 250px; width: 100%; height: auto; margin: 0 auto; border-radius: 8px; border: 2px solid var(--secondary-color); display: block; }

/* Massive PDF Syllabus Modal */
.pdf-modal-content {
    background: #fff; padding: 30px; border-radius: 16px; position: relative; width: 85%; max-width: 900px; height: 85vh; animation: popIn 0.3s ease-out; display: flex; flex-direction: column;
}
.pdf-modal-content iframe {
    flex-grow: 1; width: 100%; border: 2px solid #e0e0e0; border-radius: 8px; background: #f9f9f9;
}

.close-qr {
    position: absolute; top: -15px; right: -15px; background: #ff4444; color: #fff; border: none; width: 35px; height: 35px; border-radius: 50%; font-size: 18px; cursor: pointer; box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}
@keyframes popIn { from { transform: scale(0.8); opacity: 0; } to { transform: scale(1); opacity: 1; } }

/* Buttons */
.syllabus-btn {
    background: var(--secondary-color); color: #fff; border: none; padding: 12px 25px; border-radius: 8px; font-weight: 700; font-size: 15px; cursor: pointer; display: none; align-items: center; gap: 8px; transition: all 0.3s ease; margin-top: 15px;
}
.syllabus-btn:hover { background: var(--secondary-bright); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(196, 154, 69, 0.3); }
.syllabus-btn.active { display: inline-flex; }

.qr-btn {
    background: #25D366; color: #fff; border: none; padding: 12px 25px; border-radius: 8px; font-weight: 700; font-size: 15px; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; transition: all 0.3s ease; margin-bottom: 25px;
}
.qr-btn:hover { background: #20b858; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3); }

.payment-box { background: #faf8f5; border: 2px solid rgba(0,0,0,0.05); padding: 30px; border-radius: 12px; margin-top: 20px; text-align: center; }
.payment-box img { max-width: 220px; border: 2px solid var(--secondary-color); border-radius: 12px; margin-bottom: 15px; display: inline-block; }

.warning-text { margin-top: 0; color: #ff4444; font-weight: 700; font-size: 13px; margin-bottom: 10px; }
.bank-details { font-size: 15px; line-height: 1.8; color: #444; background: #fff; padding: 20px; border-radius: 8px; border: 1px dashed rgba(0,0,0,0.2); text-align: left; }

.submit-btn { width: 100%; padding: 20px; margin-top: 40px; background: var(--primary-color); color: #fff; border: none; font-size: 16px; font-weight: 800; border-radius: 50px; cursor: pointer; transition: all 0.3s ease; text-transform: uppercase; letter-spacing: 2px; }
.submit-btn:hover { background: var(--primary-deep); transform: translateY(-3px); box-shadow: 0 15px 30px rgba(110, 13, 25, 0.2); }

.iti { width: 100%; }
.iti__country-list { background-color: #fff !important; border: 2px solid #e0e0e0 !important; color: #333 !important; font-family: 'Inter', sans-serif; border-radius: 8px; z-index: 1005 !important; }
.iti__search-input { background-color: #f9f9f9 !important; color: #333 !important; border: 1px solid #ddd !important; }

/* =========================================================
   COMPREHENSIVE RESPONSIVE MEDIA QUERIES
   ========================================================= */
@media (max-width: 992px) {
    #contact .contact-grid { flex-direction: column !important; gap: 30px !important; }
    .contact-item { width: 100%; box-sizing: border-box; }
    .section-container { margin: 40px 5%; padding: 40px 5%; }
}

@media (max-width: 768px) {
    .top-bar { flex-direction: column; text-align: center; gap: 10px; padding: 15px; }
    .social-icons a { margin: 0 10px; }
    nav { flex-wrap: wrap; padding: 10px 5%; border-radius: 15px; }
    nav a, .dropbtn { margin: 5px; font-size: 13px; }
    .section-header h2 { font-size: 32px; }
    .about-text { font-size: 16px; }
    .form-container { padding: 40px 25px; margin: 30px 15px; }
    .form-header h2 { font-size: 32px; }
    .clear-btn { position: relative; display: inline-block; margin-top: 15px; }
    .slide-arrow { display: none; }
}

@media (max-width: 480px) {
    .top-bar-title { font-size: 12px; letter-spacing: 1px; }
    .section-container { padding: 30px 15px; }
    .contact-item i { font-size: 22px; }
    .contact-item strong { font-size: 17px; }
}