* {margin:0px;padding:0px;box-sizing:border-box;}

.cf:before,
.cf:after {
    content: " "; 
    display: table; 
}

.cf:after {
    clear: both;
}

/**
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */
.cf {
    *zoom: 1;
}

img {vertical-align: middle;max-width: 100%;}

body{
	font-family: "Roboto", sans-serif;
	font-size: 16px;
}


.roboto-<uniquifier> {
  font-family: "Roboto", sans-serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
  font-variation-settings:
    "wdth" 100;
}

ul {margin-bottom: 20px;margin-left: 20px; font-size: 16px !important;
	line-height: 23px;}
p {
	margin-bottom: 20px;
	font-size: 16px !important;
	line-height: 23px;
}

p:last-child {
	margin-bottom: 0 !important;
}

a {
	color: #000;
	text-decoration: none !important;
  color: inherit;
}


a:hover {
  text-decoration: underline;
}


.block{
    padding: 30px 0 60px 0;
    height: auto;
}

.header{
	background: #62a0eb;
	height: 100px;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 1000;
}

.logo {
    color: #fff;
    font-weight: 700;
    font-size: 38px;
	line-height: 52px;
    margin: 10px;
	font-weight: 900; 

}

.logo span {
	opacity: 0.5;
}
.header ul {
	margin: 0px;
	display: inline-block;
}
.header ul li{
	float: left;
	list-style: none;

}

.header #menu a {
    text-decoration: none;
    color: #fff;
    display: block;
    padding: 0px 10px;
    line-height: 28px;
    margin-right: 8px;
    background: rgba(0,0,0,0.3);
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

#header{
	position: fixed;
	display: block;
	top: 0px;
	width: 100%;
	z-index: 1000;
}

.header #menu li.active a{
	background: rgba(0,0,0,0.5);
}

.phone{
	float: right;
	color: #fff;
	display: inline-block;
}

.phone {
  display: flex;
  align-items: center;
}

.phone i {
  margin-right: 0;
}

.phone a {color: white;text-decoration: none;}


.indent {
    float: right;
    width: 73%;
    height: 100px;
    display: none;
}  

.bg_1 {
   
}


.bg_2 {
    background: url('https://worldwidedigitalmedia.co.uk/images/third.jpg') no-repeat bottom;
    width: 100%;
    height: 700px;
}

.bg_3 {
    background: url('https://worldwidedigitalmedia.co.uk/images/fifth.jpg') no-repeat center center;
	background-size: cover;
	height: 972px;
}

.bg_4 {
    background: url('https://worldwidedigitalmedia.co.uk/images/sixth.jpg') no-repeat center center;
	background-size: cover;
	height: 972px;
}

.bg_5 {
    background: url('https://worldwidedigitalmedia.co.uk/images/seventh.jpg') no-repeat center center;
	background-size: cover;
	height: 1005px;
}
#section0{
	background-image: url(images/first.jpg);
	background: url(images/first.jpg) no-repeat center center;
    background-size: contain;
	background-size: 100%;
    background-attachment: absolute;
	background-position: center top !important;
}
#section2{
	background-image: url('https://worldwidedigitalmedia.co.uk/images/third_ext.jpg');
} 

#section5 .fp-tableCell,
#section4 .fp-tableCell,
#section2 .fp-tableCell {
    vertical-align: bottom;
}

#section3{
	background-image: url('https://worldwidedigitalmedia.co.uk/images/fifth.jpg');
	padding: 5% 0 0 0;
}
#section4{
	background-image: url('https://worldwidedigitalmedia.co.uk/images/sixth.jpg');
}
#section5{
	background-image: url('https://worldwidedigitalmedia.co.uk/images/seventh.jpg');
	color: #fff;	
}

#section6 {
    height: auto;
    min-height: 500px !important;
    max-height: 100vh;
    width: 100%;
    background-size: auto 43%;
    background-position: left bottom;
    background-repeat: no-repeat;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    overflow: visible;
    padding: 0 !important;
    margin: 0 !important;
}

#section6 .content {
    margin-left: 600px;
}


#section6 h2 {
	margin-top: 15px;	
}

button#submit_btn {
    border: 0;
    background: #62a0eb;
    padding: 10px;
    color: white;
    font-weight: bold;
    cursor: pointer;
    font-size: 16px;
}

button#submit_btn:hover {
    background: #4787d4;
}

address {

}

.error {
	margin-top: 10px;
	float: left;
	padding: 10px;
    color: #a94442;
    background-color: #f2dede;
    border-color: #ebccd1;
}

.success {
	margin-top: 10px;
	float: left;
	padding: 10px;
   	color: #3c763d;
    background-color: #dff0d8;
    border-color: #d6e9c6;
    max-width: 250px;
} 

.bg_2 .content {
    padding-top: 300px;
}

.header_content,
.content{
	max-width: 1170px;
	margin: 0 auto;
}

.text_block {
    max-width: 400px;
    padding: 25px;
    background: rgba(0,0,0,0.5);
    color: white;
	margin: 31px 0;
}

.fp-tableCell {
    display: table-cell;
    vertical-align: middle;
    width: 100%;
    height: 100%;
}

.image{
	float: left;
	padding-right:25px;
}

.myHUB ul {float: left;}
.bg_3 .text_block{
	background: none;
	opacity: 1;
	
}

.bg_4 .content{
	padding-top: 775px;
}

.bg_5 .content{
	padding-top: 775px;
	color: #fff;
}

.section {
	position: relative;
	background-size: cover;
	background-attachment: fixed;
	background-position: center;
}
 
input, textarea{
	padding: 5px 10px;
	width: 300px;
	border: 1px solid #dedede;
	margin: 5px 0px;
}

textarea{
	height: 150px;
}

.text{
	padding: 25px;
}
#section2 .text {padding-bottom: 60px;} 

#section5 .text,
#section4 .text {
	margin-bottom: 25px;
}

.white{
	background: rgba(255,255,255,0.7);
}

.black{
	background: rgba(0,0,0,0.7);
}
 
h2.heading{
	margin-bottom: 7px;
	font-weight: 900;
	color: #84acdd;
	font-size: 30px;
}

h2.heading.big {
font-size: 73px;
color: white; 
} 

#section0 h2.heading {color: #fff;}

.mobile_ctrl {
	display: none;
	float: right;
}
.mb_image {display: none;}

#terms  {
	width: 100%;
	float: left;
	padding: 25px;
	margin-top: 100px;
}

#fullpage .fp-section:first-child {
    padding-top: 80px; /* Adjust based on navbar height */
}

/* Text styles for bottom-aligned sections */
.text.white, 
.text.black {
    padding: 25px;
    margin-bottom: 0;
    max-width: 100%;
}

.text.white {
    background: rgba(255,255,255,0.7);
}

.text.black {
    background: rgba(0,0,0,0.7);
    color: white;
}

#section2 .text {
    padding-bottom: 60px;
}

#section4 .text,
#section5 .text {
    margin-bottom: 25px;
}


@media all and (min-width: 1001px){
#menu,.phone {display: inline-block !important;}
}

@media all and (min-width: 1001px) and (max-width: 1200px){
.phone {margin-right: 10px;}

 
}


@media all and (max-width: 1440px){
#section2 .text {
    padding-bottom: 35px;
}
}

@media all and (max-width: 1000px) {
    #section6 {
        background: none !important; /* Removes background image */
        position: relative;
        display: flex;
        flex-direction: column; /* Stacks content with image above */
        align-items: center; /* Centers horizontally */
        justify-content: flex-start; /* Keeps natural content flow */
        text-align: center; /* Ensures text remains left-aligned */
        height: auto; /* Adapts to content height */
    }

    .fp-tableCell {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        width: 100%;
    }

    .mb_image {
        text-align: center;
        width: 100%;
    }

    .mb_image img {
        max-width: 100%;
        height: auto;
    }

    #section6 .content {
        margin-left: 0;
        width: 100%;
    }


	#section5 .text,
	#section4 .text {
		margin-bottom: 0px;
		color: #000;
	}

	.mb_image {display: block;}
	.mb_image img {max-width: 100%;}

	.indent {display: none;}

	#menu,.phone {display: none;}

	.phone {
		position: absolute;
	    left: 0;
	    right: 0;
		top: 54px;
		line-height: 32px;
	    background: #4787d4;
	    text-align: center;
	}
	#menu {
	    position: absolute;
	    left: 70%;
	    right: 0;
	    top: 54px;
	    background: #62a0eb;
	}

	#menu li {float: none;}
	.header #menu li a {border-radius: 0px;line-height: 32px;border-top: 1px solid rgba(255,255,255,0.1);}
	.header #menu li:first-child a {border-top: 0px solid rgba(255,255,255,0.1);}

	.mobile_ctrl {display: block;}
	.mobile_ctrl span {

		line-height: 54px;
		font-size: 30px;
		color: white;
		margin-right: 15px;
	}
	.header {
	    height: 54px;
	}

	.logo {
	    font-size: 24px;
	    float: left;
	    line-height: 34px;
	}

	.content {
	    max-width: 1170px;
	    margin: 0px auto 0;
	}


	#section0 .content {
	    margin: auto 0;
		padding: 0;
	}

	.image {
	    padding-right: 25px;
	    float: left;
	}

	#section3 .mb_image,
	#section0 .mb_image {
	    max-height: 500px;
	    overflow: hidden;
	}

	#section0 .mb_image img {
	    position: relative;
	    top: -100px;
	}

	.text {
	    position: relative;
	    bottom: 0;
	    max-width: 1170px;
	}

	.myHUB,.text {
		padding: 10px 25px;
	}

	.text_block {
	    max-width: 100%;
	    padding: 25px;
	    background: #222;
	    color: white;
	    margin-top: 0;
	}

	.section {
	    background: #fff !important;
	    height: auto !important;
	    padding-top: 0px !important;
	}

	.fp-tableCell {
	    height: auto !important;
	}
	
	#section2 .content, #section4 .content, #section5 .content {
    padding-bottom: 0;
	margin-bottom: 0 !important;
}
	
	#section2 .text, #section5 .text, #section4 .text, #section5 .text {
    margin-bottom: 0;
	color: #000 !important;
}

    #section2 .text, #section4 .text, #section5 .text {
        background-color: #fff;
    }

}


@media all and (max-width: 950px){

	#section0 .mb_image img {
	    top: -50px;
	}

}

@media all and (max-width: 850px){

	#section0 .mb_image img {
	    top: 0px;
	}

	.image {
	    padding-right: 0px;
	    float: none; 
	}

	#section1 .image  {
		max-height: 500px;
		overflow: hidden;
		
	}

	#section1 .image img {
		width: 100%;
		top: -100px;
		position: relative;
	}

#terms  {
	margin-top: 50px;
}

}

@media all and (max-width: 640px){

	#section1 .image img {
		top: 0px;
	}

	.big {
	    font-size: 51px;
	}

	.header {
	    height: 61px;
	}

	#menu {
	    left: 0;
	    top: 61px;
	}

	.logo {
	    font-size: 23px;
	    line-height: 28px;
	}
	.logo span {
	    font-size: 19px;
	    display: block;
	    position: relative;
	}
	.mobile_ctrl span {
	    line-height: 61px;
	}

	input, textarea {
	    width: 100%;
	}

}

@media (max-width: 400px){

	.big {
	    font-size: 40px;
	}

	.logo {
	    font-size: 16px;
	    line-height: 22px;
	}

	.logo span {
	    font-size: 14px;
	    top: -2px;
	}
}

@media (max-height: 750px) and (min-width: 1001px){

.text_block {
    max-width: 500px;
}
#section1 .image img {
    max-height: 550px;
}

	
}	

@media (max-height: 700px) and (min-width: 1001px){

.text_block {
    font-size: 12px;
}
#section1 .image img {
    max-height: 480px;
}

	
}	

@media (max-height: 750px){

.indent {
    height: 50px;
    width: 68%;
}

#section2 {
    background-position: center -140px;
}

#section2 .text {padding-bottom: 20px;}   

}

@media (max-width: 575.98px) {
h2.heading.big{
font-size: 56px;
}

.main-content {
    margin-top: 60px !important;
}

}

#mti_wfs_colophon {display: none !important;}
/* MOBILE NAVIGATION */
@media all and (max-width: 1000px) {
    #menu {
        display: none; /* Hide menu by default */
        position: absolute;
        top: 54px;
        left: 0;
        width: 100%;
        background: #62a0eb;
        z-index: 999;
        text-align: left;
    }

    #menu li {
        display: block;
        padding: 10px 0;
        border-bottom: 1px solid rgba(255,255,255,0.2);
        float: none;
    }

    .header #menu li a {
        display: block;
        padding: 15px;
        font-size: 18px;
        border-radius: 0;
        margin-right: 0;
    }

    .mobile_ctrl {
        display: block;
        float: right;
        cursor: pointer;
        padding: 6px 4px 0 0;
    }

    .mobile_ctrl span {
        font-size: 30px;
        color: white;
        line-height: 54px;
    }

    .mobile_ctrl.active span:before {
        content: "\f00d"; /* FontAwesome "X" icon */
    }
    
    .header {
        height: 68px;
    }
    
    .main-content {
        margin-top: 60px;
    }
    
    .logo {
        font-size: 24px;
        line-height: 23px;
        margin: 12px;
    }
    
    .section {
        padding: 20px 0;
    }
    
    .content {
        padding: 0;
    }
    
    .text_block {
        max-width: 100%;
        margin: 0;
    }
    
    .mb_image {
        display: block;
    }
    
    .mb_image img {
        width: 100%;
        height: auto;
    }
    
    .image {
        float: none;
        padding-right: 0;
        margin-bottom: 20px;
    }
    
    .image img {
        width: 100%;
        height: auto;
    }
}

@media all and (min-width: 1001px) {
    #menu, .phone {
        display: inline-block !important;
    }
}

@media screen and (min-width: 1001px) {
    #section6 {
        height: auto !important;
        min-height: 100vh;
        overflow-y: auto !important;
    }
}

/* Main content styles */
.main-content {
    margin-top: 100px; /* Match the header height */
}

.section {
    position: relative;
    padding: 0 0;
    min-height: 100vh;
    box-sizing: border-box;
}

/* Ensure content is fully visible */
.content {
    width: 100%;
    max-width: 1170px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Background images for sections */
#section0 {
    background: url(images/first.jpg) no-repeat center center;
    background-size: contain;
    background-size: 100%;
    background-attachment: fixed;
}

/* Section 1 - myHUB - Centered vertically */
#section1 {
    display: flex;
    align-items: center;
    justify-content: center;
}

#section1 .content {
    display: block;
    position: relative;
}

#section1 .image {
    float: left;
    padding-right: 25px;
    max-width: 100%;
}

#section1 .myHUB {
    overflow: hidden;
}

#section2 {
    background-image: url('https://worldwidedigitalmedia.co.uk/images/third_ext.jpg');
    background-attachment: fixed;
    background-size: cover;
    background-position: center center;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding-bottom: 0;
}

/* Section 3 - Delivering Digital Content - Centered vertically */
#section3 {
    background-image: url('https://worldwidedigitalmedia.co.uk/images/fifth.jpg');
    background-attachment: fixed;
    background-size: cover;
    background-position: center center;
    display: flex;
    align-items: center;
    justify-content: center;
}

#section3 .content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#section4 {
    background-image: url('https://worldwidedigitalmedia.co.uk/images/sixth.jpg');
    background-attachment: fixed;
    background-size: cover;
    background-position: center center;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding-bottom: 0;
}

#section5 {
    background-image: url('https://worldwidedigitalmedia.co.uk/images/seventh.jpg');
    color: #fff;
    background-attachment: fixed;
    background-size: cover;
    background-position: center center;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding-bottom: 0;
}

#section6 {
    background-image: url('https://worldwidedigitalmedia.co.uk/images/eighth.jpg');
    background-size: 43%;
    background-position: left bottom;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
    padding: 0 !important;
    margin: 0 !important;
}

#section6 .content {
    margin-left: 600px;
}

/* Align content to bottom for specific sections */
#section2 .content, 
#section4 .content, 
#section5 .content {
    margin-top: auto;
    padding-bottom: 50px;
}

/* Fix for mobile devices */
@media (max-width: 768px) {
    .section {
        height: auto !important;
        min-height: auto;
        padding: 0;
        display: block;
    }
    
    .content {
        
    }
    
    /* Reset vertical centering for mobile */
    #section1, #section3 {
        display: block;
    }
    
    #section1 .content, #section3 .content {
        display: block;
    }
    
    #section6 {
        background: none !important;
    }
    
    #section6 .content {
        margin-left: 0;
    }
    
    /* Show mobile images on mobile */
    .mb_image {
        display: block !important;
    }
    
    /* Reset background images on mobile */
    #section0, #section2, #section3, #section4, #section5 {
        background-image: none !important;
    }
    
    /* Reset content alignment */
    #section2 .content, 
    #section4 .content, 
    #section5 .content {
        margin-top: 0;
        padding-bottom: 20px;
    }
    
    /* Adjust text containers */
    .text.white, 
    .text.black {
        padding: 15px;
        margin-bottom: 0;
        background: #222;
        color: white;
    }
#section1 .image {
        width: 100%;
        padding-right: 0;
    }	
}


/* Hide mobile images on desktop for sections with background images */
@media (min-width: 1001px) {
    #section2 .mb_image,
    #section4 .mb_image,
    #section5 .mb_image {
        display: none;
    }
}


