
        :root {
            --primary: #003ea6;
            --dark: #1e293b;
            --light: #f8fafc;
            --text: #334155;
            --text--2: #003ea6;
            --primary--r: #972121;
        }

        * { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Verdana', sans-serif; }

        body {
            background-color: var(--light);
            background-image: url('../images/ddcv_bg3.gif');
            background-repeat: repeat;            
            color: var(--text);
            line-height: 1.6;
        }

        /* Top Bar */        
        .header-top {
            background: #fff;
            padding: 5px 5%;
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-size: 0.8rem;
            border-bottom: 1px solid #eee;
        }

        .header-top a { color: var(--text); text-decoration: none; margin-left: 15px; }

        /* Navigation */
        nav {
            background: #F3EEDF; /*white*/
            height: 70px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0 5%;
            position: sticky;
            top: 0;
            z-index: 1000;            
            box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        }

        .logo-text {
            font-size: 1.4rem;
            font-weight: 800;
            color: var(--primary);
            text-decoration: none; }
            
        /*.logo-text { font-size: 1.2rem; font-weight: bold; color: var(--primary); text-transform: uppercase; }*/
        .nav-links { display: flex; list-style: none; }
        .nav-links li { margin-left: 20px; }
        .nav-links a { text-decoration: none; color: var(--primary); font-weight: 600; font-size: 0.9rem; transition: 0.3s; }
        .nav-links a:hover, .nav-links a.active { color: var(--primary); text-decoration:underline; }

        .menu-toggle { display: none; font-size: 1.5rem; cursor: pointer; color: var(--primary); }

        /* Brand Bar - Updated height */
        .brand-bar {
            height: 240px; /* Fixed Height */
            background-image: url('../images/head_logo_2.jpg'); /* Default Desktop Image */
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 40px;
            border-bottom: 1px solid #ddd;
            position: relative;
            opacity: 1;
        }
        
        .brand-bar::before {
            content: '';
            position: absolute;
            top: 0; left: 0; right: 0; bottom: 0;
            background: rgba(255, 255, 255, 0); 
            z-index: 1;
        }

        .brand-bar img { height: 80%; width: auto; object-fit: contain; position: relative; z-index: 2; }

        /* Base link style */
        .custom-link {
          text-decoration: none; /* Removes underline */
          color: #005CE9;        /* Primary blue color */
          font-weight: 500;
          transition: color 0.3s ease; /* Smooth color transition */
        }

        /* Hover state */
        .custom-link:hover {
          color: #00225C; text-decoration: underline; /* Darker color on hover */
        }

        /* Optional: Active/Focus states for accessibility */
        .custom-link:focus {
          outline: 2px solid #3498db;
          outline-offset: 2px;
        }

        /* Background swap for screens wider than 1400px */
        @media (min-width: 1400px) {
            .brand-bar {
                background-image: url('../images/head_pecha1.jpg');
            }
        }

        /* Main Content */
        .container { max-width: 1100px; margin: 0 auto; padding: 40px 20px; }
        .welcome-grid { display: flex; gap: 40px; margin-bottom: 45px; background: rgba(255, 255, 255, 0.9); padding: 25px; border-radius: 8px; } /* flex-wrap: wrap; */

        .welcome-text { flex: 2; font-family: 'Georgia', "serif"; 

} /* padding-right: 20px; edit me */
        .practice-groups { flex: 1; background: #f3eedf; padding: 20px; border-radius: 8px; }
        /*.practice-groups { flex: 1; background: #e2e8f0; padding: 20px; border-radius: 8px; }*/

        .vmap { flex: 1; background: #f3eedf; padding: 20px; border-radius: 8px; }
        
/* Map Mobile View */
@media (max-width: 768px) {
    .welcome-text {
        flex: 1 1 100%; /* Allows the div to shrink and take full width on mobile */
        min-width: unset;
    }
    .vmap {
    max-width: 100%;
    overflow-wrap: break-word;
    word-wrap: break-word;
    box-sizing: border-box;
    padding: 0 15px; /* Prevents text touching screen edges on mobile */
}
    .vmap .wsite-map iframe {
    width: 100% !important; /* Forces iframe to container width */
}
}


    
    

        /* Main Content - Single Column Layout */
        .container { max-width: 1100px; margin: 0 auto; padding: 40px 20px; 
        }

        .welcome-grid-about { display: flex; 
            flex-direction: column; /* Stacks items vertically */
            gap: 40px; 
            margin-bottom: 45px; 
            background: rgba(255, 255, 255, 0.9); 
            padding: 25px; 
            border-radius: 8px; 
        }

        .welcome-text-about { 
            width: 100%; /* Ensures element spans full width */
            font-family: 'Georgia', "serif"; 
        }

        .practice-groups-about { 
            width: 100%; /* Ensures element spans full width */
            background: #f3eedf;     padding: 20px; 
            border-radius: 8px; 
        }
        /* end about grid */

        /* New Events  --------------------- */
        .new-event-section { text-align: center; background: white; padding: 40px 20px; border-radius: 12px; box-shadow: 0 4px 15px rgba(0,0,0,0.05); }
        .event-poster { max-width: 400px; width: 100%; height: auto; margin-bottom: 20px; border: 5px solid #fff; box-shadow: 0 0 10px rgba(0,0,0,0.1); }
        .event-details h2 { color: #972121; margin: 10px 0; }
        .event-details h3 { color: #008000; }
        .event-date { font-weight: bold; margin-top: 15px; margin-bottom: 20px; }
        .event-image {
            flex: 1;
            height: 300px;
            object-fit: cover;
            overflow: hidden;        }   
            
        .btn {
            display: inline-block;
            background: var(--primary);
            color: white;
            padding: 10px 25px;
            text-decoration: none;
            border-radius: 4px;
            font-weight: 600;
        }    
        /* End New Events  --------------------- */    
            
        /* Other Events -------------------------*/ 
        /* Past Events  --------------------- */
        .past-event-section { text-align: center; background: white; padding: 40px 20px; border-radius: 12px; box-shadow: 0 4px 15px rgba(0,0,0,0.05); }
        .past-event-poster { max-width: 400px; width: 100%; height: auto; margin-bottom: 20px; border: 5px solid #fff; box-shadow: 0 0 10px rgba(0,0,0,0.1); }
        .past-event-details h2 { color: #972121; margin: 10px 0; }
        .past-event-details h3 { color: #008000; }
        .past-event-date { font-weight: bold; margin-top: 15px; margin-bottom: 20px; }
        .past-event-image {
            flex: 1;
            height: 300px;
            object-fit: cover;
            overflow: hidden;        }   
            
        .btn {
            display: inline-block;
            background: var(--primary);
            color: white;
            padding: 10px 25px;
            text-decoration: none;
            border-radius: 4px;
            font-weight: 600;
        }    
        /* End Past Events  --------------------- */ 


        
        /* End Other Events ---------------------*/


        footer { background: var(--dark); color: white; text-align: center; padding: 30px; margin-top: 50px; font-size: 0.8rem;}


        /* Desktop Layout: Image floats left, text floats right and left-justified (> 768px) */
@media (min-width: 769px) {
    .new-event-section {
        text-align: left;
        overflow: hidden; /* Clearfix for floats */
        display: flex;
        align-items: center; /* Vertically centers text */
    }

    .event-poster {
        float: left;
        width: 40%;
        max-width: 400px;
        margin: 0 40px 3px 0;
    }

    .event-details {
        overflow: hidden; /* Text wraps beside floated image */
        text-align: left;
    }

    .event-details .btn {
        display: inline-block;
    }
}
    /* Space between new-event-section and oevents-container */
    .new-event-section {
        margin-bottom: 40px;
    }
            
         /* End Desktop Layout: Image floats left, text floats right and left-justified (> 768px) */   


		/* Mobile View Adjustments */
        @media (max-width: 768px) {
            .menu-toggle { display: block; }
            .nav-links {
                position: absolute; top: 70px; left: -100%; width: 100%;
                height: calc(100vh - 70px); background: white;
                flex-direction: column; align-items: center; padding-top: 50px; transition: 0.4s;
            }
            .nav-links.active { left: 0; }
            .nav-links li { margin: 15px 0; }
            
            /* Background Image Swap for Mobile */
            .brand-bar { 
                height: 240px; 
                padding: 0; 
                flex-direction: column; 
				background-position: center center;
				background-size: cover;
                background-image: url('../images/head_logo_s2.jpg'); 
            }
            .brand-bar img { height: 80px; }            
            .welcome-grid { flex-direction: column; }
            .header-top { flex-direction: column; background-position: center center; }
			
        }

/* Past Events Start */



.instructor-name {
    color: var(--primary);
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.event-title {
    color: #972121;
    margin-top: 0;
}

/* Mobile View */
@media (max-width: 768px) {

    
    
}
/* Past Events End */


