/* ============================================================
   Global Stylesheet
   ============================================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #800000;           /* Deep Maroon */
    --primary-light: #990000;
    --primary-dark: #4d0000;
    --secondary: #1565c0;         /* Navy Blue */
    --success: #2e7d32;           /* Green */
    --danger: #c62828;            /* Red */
    --warning: #f57f17;           /* Orange */
    --light: #f9f6f0;             /* Parchment */
    --gray: #555555;
    --dark: #222222;
    --border: #d4c5b9;
    --shadow: 2px 2px 5px rgba(0, 0, 0, 0.15);
    --shadow-lg: 4px 4px 10px rgba(0, 0, 0, 0.2);
    --radius: 4px;
    --transition: all 0.2s ease-in-out;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background: var(--light);
    color: var(--dark);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    color: var(--primary-dark);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

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

/* ═══ BUTTONS ═══ */
.btn {
    padding: 14px 35px;
    border: 2px solid transparent;
    border-radius: var(--radius);
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: inherit;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-primary {
    background: var(--warning);
    color: white;
}

.btn-primary:hover {
    background: #e67e00;
    box-shadow: 0 8px 20px rgba(245, 127, 23, 0.3);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: var(--primary);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* ═══ SECTIONS ═══ */
section {
    padding: 80px 20px;
}

section:nth-child(even) {
    background: white;
}

section:nth-child(odd) {
    background: var(--light);
}

.section-title {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 55px;
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -2px;
    margin-bottom: 50px;
    margin-left: auto;
    margin-right: auto;
    width: fit-content;
    max-width: 100%;
    text-align: center;
    color: var(--primary);
    position: relative;
    padding-bottom: 20px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 105%; /* Slightly wider than the text itself */
    height: 15px;
    background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 20' preserveAspectRatio='none'><path d='M 5 18 C 20 8, 50 4, 95 6' fill='none' stroke='%23f57f17' stroke-width='4' stroke-linecap='round'/></svg>") no-repeat center center;
    background-size: 100% 100%;
}

@media (max-width: 480px) {
    section {
        padding: 50px 15px;
    }
    .section-title {
        font-size: 45px;
        margin-bottom: 30px;
    }
}

.section-second-title {
    margin: 0 auto;
    font-size: 1.2rem;
    color: #ffffff;
}

/* ═══ FLOATING SOCIAL STRIP ═══ */
.social-sidebar {
    position: fixed;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    z-index: 1000;
}

.social-sidebar ul {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 0;
    margin: 0;
}

.social-sidebar ul li {
    list-style: none;
}

.social-sidebar ul li a {
    width: 50px;
    height: 50px;
    background-color: #fff;
    text-align: center;
    line-height: 50px;
    font-size: 24px;
    display: block;
    border-radius: 50%;
    position: relative;
    overflow: hidden;
    border: 2px solid var(--primary); /* Base theme color */
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    z-index: 1;
    text-decoration: none;
    transition: border-color 0.5s;
}

.social-sidebar ul li a .icon {
    position: relative;
    color: var(--primary);
    transition: .5s;
    z-index: 3;
}

.social-sidebar ul li a:hover .icon {
    color: #fff;
    transform: rotateY(360deg);
}

.social-sidebar ul li a:before {
    content: "";
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: #f00;
    transition: .5s;
    z-index: 2;
}

.social-sidebar ul li a:hover:before {
    top: 0;
}

/* Individual Brand Colors on Hover */
.social-sidebar ul li:nth-child(1) a:before { background: #1877F2; }
.social-sidebar ul li:nth-child(1) a:hover { border-color: #1877F2; }

.social-sidebar ul li:nth-child(2) a:before { background: #E1306C; }
.social-sidebar ul li:nth-child(2) a:hover { border-color: #E1306C; }

.social-sidebar ul li:nth-child(3) a:before { background: #FF0000; }
.social-sidebar ul li:nth-child(3) a:hover { border-color: #FF0000; }

/* Mobile View: Narrow Strip at the bottom */
@media (max-width: 768px) {
    .social-sidebar {
        top: auto;
        bottom: 0;
        right: 0;
        left: 0;
        transform: none;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        box-shadow: 0 -2px 20px rgba(0,0,0,0.1);
        padding: 10px 0;
        border-top: 1px solid rgba(0,0,0,0.05);
    }
    
    .social-sidebar ul {
        flex-direction: row;
        justify-content: center;
        gap: 15px;
    }
    
    .social-sidebar ul li a {
        width: 45px;
        height: 45px;
        line-height: 45px;
        font-size: 20px;
    }
}

